
sensorType
Thermal sensor type used in the device, this can be a digital sensor, a specific type for a
thermocouple, a PT100 or a thermistor.
signalValue
Current value of the electrical signal measured by the sensor (except for digital sensors) as a floating
point number.
signalUnit
Short character string representing the measuring unit of the electrical signal used by the sensor.
command
Magic attribute used to setup physical sensor parameters.
6.7. DataLogger function interface
Yoctopuce sensors include a non-volatile memory capable of storing ongoing measured data
automatically, without requiring a permanent connection to a computer. The DataLogger function
controls the global parameters of the internal data logger.
logicalName
Character string containing the logical name of the data logger, initially empty. This attribute can be
modified at will by the user. Once initialized to an non-empty value, it can be used to access the data
logger directly. If two data loggers with the same logical name are used in the same project, there is
no way to determine which one answers when one tries accessing by logical name. The logical name
is limited to 19 characters among
A
..
Z
,
a
..
z
,
0
..
9
,
_
, and
-
.
advertisedValue
Short character string summarizing the current state of the data logger, that is automatically
advertised up to the parent hub. For a data logger, the advertised value is its recording state (ON or
OFF).
currentRunIndex
Current run number, corresponding to the number of time the module was powered on with the
dataLogger enabled at some point.
timeUTC
Current UTC time, in case it is desirable to bind an absolute time reference to the data stored by the
data logger. This time must be set up by software.
recording
Activation state of the data logger. The data logger can be enabled and disabled at will, using this
attribute, but its state on power on is determined by the
autoStart
persistent attribute. When the
datalogger is enabled but not yet ready to record data, its state is set to PENDING.
autoStart
Automatic start of the data logger on power on. Setting this attribute ensures that the data logger is
always turned on when the device is powered up, without need for a software command.
beaconDriven
Synchronize the sate of the localization beacon and the state of the data logger. If this attribute is set,
it is possible to start the recording with the Yocto-button or the attribute
beacon
of the function
6. Programming, general concepts
www.yoctopuce.com
29
Содержание Yocto-RangeFinder
Страница 1: ...Yocto RangeFinder User s guide...
Страница 2: ......
Страница 18: ...12 www yoctopuce com...
Страница 26: ...20 www yoctopuce com...
Страница 42: ...36 www yoctopuce com...
Страница 70: ...gcc lyocto lm lpthread lusb 1 0 lstdc 10 Using Yocto RangeFinder with C 64 www yoctopuce com...
Страница 90: ...84 www yoctopuce com...
Страница 120: ...114 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...21 High level API Reference On failure throws an exception or returns a negative error code 152 www yoctopuce com...
Страница 484: ...478 www yoctopuce com...
Страница 488: ...482 www yoctopuce com...
Страница 490: ...23 Characteristics 484 www yoctopuce com...
Страница 491: ......
Страница 492: ......