
21. High-level API Reference
YLightSensor
lightsensor
→
loadCalibrationPoints()
R e t r i e v e s e r r o r c o r r e c t i o n d a t a p o i n t s p r e v i o u s l y e n t e r e d u s i n g t h e m e t h o d
c a l i b r a t e F r o m P o i n t s
.
js
function loadCalibrationPoints(
rawValues
,
refValues
)
cpp
int loadCalibrationPoints( vector<double>&
rawValues
,
vector<double>&
refValues
)
m
-(int) loadCalibrationPoints : (NSMutableArray*)
rawValues
: (NSMutableArray*)
refValues
pas
function loadCalibrationPoints( var
rawValues
: TDoubleArray,
var
refValues
: TDoubleArray): LongInt
vb
procedure loadCalibrationPoints( )
cs
int loadCalibrationPoints( List<double>
rawValues
,
List<double>
refValues
)
java
int loadCalibrationPoints( ArrayList<Double>
rawValues
,
ArrayList<Double>
refValues
)
uwp
async Task<int> loadCalibrationPoints( List<double>
rawValues
,
List<double>
refValues
)
py
def loadCalibrationPoints(
rawValues
,
refValues
)
php
function loadCalibrationPoints(
&$rawValues
,
&$refValues
)
es
function loadCalibrationPoints(
rawValues
,
refValues
)
cmd
YLightSensor
target
loadCalibrationPoints
rawValues
refValues
Parameters :
rawValues
array of floating point numbers, that will be filled by the function with the raw sensor values for
the correction points.
refValues
array of floating point numbers, that will be filled by the function with the desired values for the
correction points.
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
396
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: ......