
21. High-level API Reference
Returns the numerical error code of the latest error with the temperature sensor.
Returns a global identifier of the temperature sensor in the format
MODULE_NAME.FUNCTION_NAME
.
Returns a unique identifier of type
YFUN_DESCR
corresponding to the function.
Returns the hardware identifier of the temperature sensor, without reference to the module.
Returns the unique hardware identifier of the temperature sensor in the form
SERIAL.FUNCTIONID
.
Returns the maximal value observed for the temperature since the device was started.
Returns the datalogger recording frequency for this function, or "OFF" when measures are not stored in the
data logger flash memory.
Returns the logical name of the temperature sensor.
Returns the minimal value observed for the temperature since the device was started.
Gets the
YModule
object for the device on which the function is located.
callback
,
context
)
Gets the
YModule
object for the device on which the function is located (asynchronous version).
startTime
,
endTime
)
Retrieves a DataSet object holding historical data for this sensor, for a specified time interval.
Returns the timed value notification frequency, or "OFF" if timed value notifications are disabled for this
function.
Returns the resolution of the measured values.
Returns the sensor health state code, which is zero when there is an up-to-date measure available or a
positive code if the sensor is not able to provide a measure right now.
Returns the temperature sensor type.
Returns the measuring unit of the electrical signal used by the sensor.
Returns the current value of the electrical signal measured by the sensor.
get_unit()
Returns the measuring unit for the temperature.
Returns the value of the userData attribute, as previously stored using method
set_userData
.
Checks if the temperature sensor is currently reachable, without raising any error.
callback
,
context
)
www.yoctopuce.com
295
Summary of Contents for Yocto-RangeFinder
Page 1: ...Yocto RangeFinder User s guide...
Page 2: ......
Page 18: ...12 www yoctopuce com...
Page 26: ...20 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 70: ...gcc lyocto lm lpthread lusb 1 0 lstdc 10 Using Yocto RangeFinder with C 64 www yoctopuce com...
Page 90: ...84 www yoctopuce com...
Page 120: ...114 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 484: ...478 www yoctopuce com...
Page 488: ...482 www yoctopuce com...
Page 490: ...23 Characteristics 484 www yoctopuce com...
Page 491: ......
Page 492: ......