
logFrequency
Frequency
modifiable
reportFrequency
Frequency
modifiable
calibrationParam
Calibration parameters modifiable
resolution
Fixed-point number
modifiable
sensorState
Integer
read-only
measureType
Enumerated
modifiable
temperature1 : Temperature
attribute
type
modifiable ?
logicalName
String
modifiable
advertisedValue
String
modifiable
unit
String
modifiable
currentValue
Fixed-point number
read-only
lowestValue
Fixed-point number
modifiable
highestValue
Fixed-point number
modifiable
currentRawValue
Fixed-point number
read-only
logFrequency
Frequency
modifiable
reportFrequency
Frequency
modifiable
calibrationParam
Calibration parameters modifiable
resolution
Fixed-point number
modifiable
sensorState
Integer
read-only
sensorType
Enumerated
modifiable
signalValue
Fixed-point number
read-only
signalUnit
String
read-only
command
String
modifiable
dataLogger : DataLogger
attribute
type
modifiable ?
logicalName
String
modifiable
advertisedValue
String
modifiable
currentRunIndex
Integer
read-only
timeUTC
UTC time
modifiable
recording
Enumerated
modifiable
autoStart
On/Off
modifiable
beaconDriven
On/Off
modifiable
clearHistory
Boolean
modifiable
6.3. Module control interface
This interface is identical for all Yoctopuce USB modules. It can be used to control the module global
parameters, and to enumerate the functions provided by each module.
productName
Character string containing the commercial name of the module, as set by the factory.
serialNumber
Character string containing the serial number, unique and programmed at the factory. For a Yocto-
RangeFinder module, this serial number always starts with YRNGFND1. You can use the serial
number to access a given module by software.
logicalName
Character string containing the logical name of the module, 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 a given
module. If two modules with the same logical name are 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
-
.
6. Programming, general concepts
24
www.yoctopuce.com
Содержание 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: ......