
22. High-level API Reference
www.yoctopuce.com
167
YAPI
YAPI.UpdateDeviceList()
yUpdateDeviceList()
Triggers a (re)detection of connected Yoctopuce modules.
js
function yUpdateDeviceList(
errmsg
)
cpp
YRETCODE yUpdateDeviceList( string&
errmsg
)
m
+(YRETCODE) UpdateDeviceList :(NSError**)
errmsg
pas
function yUpdateDeviceList( var
errmsg
: string): integer
vb
function yUpdateDeviceList( ByRef
errmsg
As String) As YRETCODE
cs
YRETCODE UpdateDeviceList( ref string
errmsg
)
java
int UpdateDeviceList( )
uwp
Task<int> UpdateDeviceList( )
py
def UpdateDeviceList(
errmsg
=None)
php
function yUpdateDeviceList(
&$errmsg
)
es
function UpdateDeviceList(
errmsg
)
The library searches the machines or USB ports previously registered using
yRegisterHub()
, and
invokes any user-defined callback function in case a change in the list of connected devices is
detected.
This function can be called as frequently as desired to refresh the device list and to make the
application aware of hot-plug events.
Parameters :
errmsg
a string passed by reference to receive any error message.
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...