예제 #1
0
 /**
  * <summary>
  *   Returns the <c>YDatalogger</c> object of the device hosting the sensor.
  * <para>
  *   This method returns an object
  *   that can control global parameters of the data logger. The returned object
  *   should not be freed.
  * </para>
  * <para>
  * </para>
  * </summary>
  * <returns>
  *   an <c>YDatalogger</c> object, or null on error.
  * </returns>
  */
 public virtual YDataLoggerProxy get_dataLogger()
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Sensor connected");
     }
     return(YDataLoggerProxy.FindDataLogger(_func.get_dataLogger().get_serialNumber()));
 }