22. High-level API Reference
www.yoctopuce.com
343
YAnButton
anbutton
→
get_hardwareId()
anbutton
→
hardwareId()
Returns the unique hardware identifier of the analog input in the form
SERIAL.FUNCTIONID
.
js
function get_hardwareId( )
cpp
string get_hardwareId( )
m
-(NSString*) hardwareId
vb
function get_hardwareId( ) As String
cs
string get_hardwareId( )
java
String get_hardwareId( )
py
def get_hardwareId( )
php
function get_hardwareId( )
es
function get_hardwareId( )
The unique hardware identifier is composed of the device serial number and of the hardware identifier
of the analog input (for example
RELAYLO1-123456.relay1
).
Returns :
a string that uniquely identifies the analog input (ex:
RELAYLO1-123456.relay1
)
On failure, throws an exception or returns
Y_HARDWAREID_INVALID
.
Summary of Contents for Yocto-Display
Page 1: ...Yocto Display User Manual...
Page 2: ......
Page 40: ...34 www yoctopuce com...
Page 52: ...46 www yoctopuce com...
Page 84: ...78 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 422: ...416 www yoctopuce com...