21. High-level API Reference
YRangeFinder
rangefinder
→
get_recordedData()
rangefinder
→
recordedData()
Retrieves a DataSet object holding historical data for this sensor, for a specified time interval.
js
function get_recordedData(
startTime
,
endTime
)
cpp
YDataSet get_recordedData( s64
startTime
, s64
endTime
)
m
-(YDataSet*) recordedData : (s64)
startTime
: (s64)
endTime
pas
function get_recordedData(
startTime
: int64,
endTime
: int64): TYDataSet
vb
function get_recordedData( ) As YDataSet
cs
YDataSet get_recordedData( long
startTime
, long
endTime
)
java
YDataSet get_recordedData( long
startTime
, long
endTime
)
uwp
async Task<YDataSet> get_recordedData( long
startTime
,
long
endTime
)
py
def get_recordedData(
startTime
,
endTime
)
php
function get_recordedData(
$startTime
,
$endTime
)
es
function get_recordedData(
startTime
,
endTime
)
cmd
YRangeFinder
target
get_recordedData
startTime
endTime
The measures will be retrieved from the data logger, which must have been turned on at the desired
time. See the documentation of the DataSet class for information on how to get an overview of the
recorded data, and how to load progressively a large set of measures from the data logger.
This function only works if the device uses a recent firmware, as DataSet objects are not supported by
firmwares older than version 13000.
Parameters :
startTime
the start of the desired measure time interval, as a Unix timestamp, i.e. the number of seconds
since January 1, 1970 UTC. The special value 0 can be used to include any meaasure, without
initial limit.
endTime
the end of the desired measure time interval, as a Unix timestamp, i.e. the number of seconds
since January 1, 1970 UTC. The special value 0 can be used to include any meaasure, without
ending limit.
Returns :
an instance of YDataSet, providing access to historical data. Past measures can be loaded progressively
using methods from the YDataSet object.
260
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: ......