
22. High-level API Reference
244
www.yoctopuce.com
YDisplay
display
→
describe()
Returns a short text that describes unambiguously the instance of the display in the form
TYPE(NAME)=SERIAL.FUNCTIONID
.
js
function describe( )
cpp
string describe( )
m
-(NSString*) describe
pas
function describe( ): string
vb
function describe( ) As String
cs
string describe( )
java
String describe( )
py
def describe( )
php
function describe( )
es
function describe( )
More precisely,
TYPE
is the type of the function,
NAME
it the name used for the first access to the
function,
SERIAL
is the serial number of the module if the module is connected or
"unresolved"
,
and
FUNCTIONID
is the hardware identifier of the function if the module is connected. For example,
this method returns
Relay(MyCustomName.relay1)=RELAYLO1-123456.relay1
if the
module is already connected or
Relay(BadCustomeName.relay1)=unresolved
if the module
has not yet been connected. This method does not trigger any USB or TCP transaction and can
therefore be used in a debugger.
Returns :
a s t r i n g t h a t d e s c r i b e s t h e d i s p l a y ( e x :
R e l a y ( M y C u s t o m N a m e . r e l a y 1 ) = R E L A Y L O 1 - 1 2 3 4 5 6 . r e l a y 1
)
Содержание 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...