
21. High-level API Reference
21.8. Measured value
YMeasure objects are used within the API to represent a value measured at a specified time. These
objects are used in particular in conjunction with the YDataSet class.
In order to use the functions described here, you should include:
js
<script type='text/javascript' src='yocto_api.js'></script>
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');
YMeasure
methods
Returns the average value observed during the time interval covered by this measure.
Returns the end time of the measure, relative to the Jan 1, 1970 UTC (Unix timestamp).
Returns the largest value observed during the time interval covered by this measure.
Returns the smallest value observed during the time interval covered by this measure.
Returns the start time of the measure, relative to the Jan 1, 1970 UTC (Unix timestamp).
472
www.yoctopuce.com
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: ......