22. High-level API Reference
www.yoctopuce.com
255
YDisplay
display
→
get_friendlyName()
display
→
friendlyName()
Returns a global identifier of the display in the format
MODULE_NAME.FUNCTION_NAME
.
js
function get_friendlyName( )
cpp
string get_friendlyName( )
m
-(NSString*) friendlyName
cs
string get_friendlyName( )
java
String get_friendlyName( )
py
def get_friendlyName( )
php
function get_friendlyName( )
es
function get_friendlyName( )
The returned string uses the logical names of the module and of the display if they are defined,
otherwise the serial number of the module and the hardware identifier of the display (for example:
MyCustomName.relay1
)
Returns :
a string that uniquely identifies the display using logical names (ex:
MyCustomName.relay1
)
On failure, throws an exception or returns
Y_FRIENDLYNAME_INVALID
.
Содержание 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...