![Yoctopuce Yocto-GPS Скачать руководство пользователя страница 541](http://html1.mh-extra.com/html/yoctopuce/yocto-gps/yocto-gps_user-manual_3415557541.webp)
20. High-level API Reference
20.9. Recorded data sequence
YDataSet objects make it possible to retrieve a set of recorded measures for a given sensor and a
specified time interval. They can be used to load data points with a progress report. When the
YDataSet object is instantiated by the
get_recordedData()
function, no data is yet loaded from
the module. It is only when the
loadMore()
method is called over and over than data will be
effectively loaded from the dataLogger.
A preview of available measures is available using the function
get_preview()
as soon as
loadMore()
has been called once. Measures themselves are available using function
get_measures()
when loaded by subsequent calls to
loadMore()
.
This class can only be used on devices that use a recent firmware, as YDataSet objects are not
supported by firmwares older than version 13000.
In order to use the functions described here, you should include:
js
<script type='text/javascript' src='yocto_api.js'></script>
nodejs
var yoctolib = require('yoctolib');
var YAPI = yoctolib.YAPI;
var YModule = yoctolib.YModule;
cpp
#include "yocto_api.h"
m
#import "yocto_api.h"
pas
uses yocto_api;
vb
yocto_api.vb
cs
yocto_api.cs
java
import com.yoctopuce.YoctoAPI.YModule;
uwp
import com.yoctopuce.YoctoAPI.YModule;
py
from yocto_api import *
php
require_once('yocto_api.php');
es
in HTML: <script src="../../lib/yocto_api.js"></script>
in node.js: require('yoctolib-es2017/yocto_api.js');
YDataSet
methods
Returns the end time of the dataset, relative to the Jan 1, 1970.
Returns the hardware identifier of the function that performed the measure, without reference to the module.
Returns the unique hardware identifier of the function who performed the measures, in the form
SERIAL.FUNCTIONID
.
Returns all measured values currently available for this DataSet, as a list of YMeasure objects.
measure
)
Returns the detailed set of measures for the time interval corresponding to a given condensed measures
previously returned by
get_preview()
.
Returns a condensed version of the measures that can retrieved in this YDataSet, as a list of YMeasure
objects.
Returns the progress of the downloads of the measures from the data logger, on a scale from 0 to 100.
www.yoctopuce.com
535
Содержание Yocto-GPS
Страница 1: ...Yocto GPS User s guide...
Страница 2: ......
Страница 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Страница 10: ...4 www yoctopuce com...
Страница 14: ...8 www yoctopuce com...
Страница 18: ...12 www yoctopuce com...
Страница 22: ...16 www yoctopuce com...
Страница 38: ...32 www yoctopuce com...
Страница 42: ...36 www yoctopuce com...
Страница 54: ...48 www yoctopuce com...
Страница 72: ...66 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 122: ...116 www yoctopuce com...
Страница 132: ...126 www yoctopuce com...
Страница 159: ...20 High level API Reference On failure throws an exception or returns a negative error code www yoctopuce com 153...
Страница 564: ...22 Characteristics 558 www yoctopuce com...
Страница 565: ......
Страница 566: ......