
21. High-level API Reference
YTemperature
temperature
→
loadThermistorResponseTable()
R e t r i e v e s t h e t h e r m i s t o r r e s p o n s e t a b l e p r e v i o u s l y c o n f i g u r e d u s i n g t h e
s e t _ t h e r m i s t o r R e s p o n s e T a b l e
f u n c t i o n .
js
function loadThermistorResponseTable(
tempValues
,
resValues
)
cpp
int loadThermistorResponseTable( vector<double>&
tempValues
,
vector<double>&
resValues
)
m
-(int) loadThermistorResponseTable : (NSMutableArray*)
tempValues
: (NSMutableArray*)
resValues
pas
function loadThermistorResponseTable( var
tempValues
: TDoubleArray,
var
resValues
: TDoubleArray): LongInt
vb
procedure loadThermistorResponseTable( )
cs
int loadThermistorResponseTable( List<double>
tempValues
,
List<double>
resValues
)
java
int loadThermistorResponseTable( ArrayList<Double>
tempValues
,
ArrayList<Double>
resValues
)
uwp
async Task<int> loadThermistorResponseTable( List<double>
tempValues
,
List<double>
resValues
)
py
def loadThermistorResponseTable(
tempValues
,
resValues
)
php
function loadThermistorResponseTable(
&$tempValues
,
&$resValues
)
es
function loadThermistorResponseTable(
tempValues
,
resValues
)
cmd
YTemperature
target
loadThermistorResponseTable
tempValues
resValues
This function can only be used with a temperature sensor based on thermistors.
Parameters :
tempValues
array of floating point numbers, that is filled by the function with all temperatures (in degrees
Celcius) for which the resistance of the thermistor is specified.
resValues
array of floating point numbers, that is filled by the function with the value (in Ohms) for each
of the temperature included in the first argument, index by index.
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
336
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: ......