
22. High-level API Reference
www.yoctopuce.com
357
YAnButton
anbutton
→
load()
Preloads the analog input cache with a specified validity duration.
js
function load(
msValidity
)
cpp
YRETCODE load( int
msValidity
)
m
-(YRETCODE) load : (u64)
msValidity
pas
function load(
msValidity
: u64): YRETCODE
vb
function load( ByVal
msValidity
As Long) As YRETCODE
cs
YRETCODE load( ulong
msValidity
)
java
int load( long
msValidity
)
py
def load(
msValidity
)
php
function load(
$msValidity
)
es
function load(
msValidity
)
By default, whenever accessing a device, all function attributes are kept in cache for the standard
duration (5 ms). This method can be used to temporarily mark the cache as valid for a longer period, in
order to reduce network traffic for instance.
Parameters :
msValidity
an integer corresponding to the validity attributed to the loaded function parameters, in
milliseconds
Returns :
YAPI_SUCCESS
when the call succeeds.
On failure, throws an exception or returns a negative error code.
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...