22. High-level API Reference
www.yoctopuce.com
367
YAnButton
anbutton
→
set_logicalName()
anbutton
→
setLogicalName()
Changes the logical name of the analog input.
js
function set_logicalName(
newval
)
cpp
int set_logicalName( const string&
newval
)
m
-(int) setLogicalName : (NSString*)
newval
pas
function set_logicalName(
newval
: string): integer
vb
function set_logicalName( ByVal
newval
As String) As Integer
cs
int set_logicalName( string
newval
)
java
int set_logicalName( String
newval
)
uwp
Task<int> set_logicalName( string
newval
)
py
def set_logicalName(
newval
)
php
function set_logicalName(
$newval
)
es
function set_logicalName(
newval
)
cmd
YAnButton
target
set_logicalName
newval
You can use
yCheckLogicalName()
prior to this call to make sure that your parameter is valid.
Remember to call the
saveToFlash()
method of the module if the modification must be kept.
Parameters :
newval
a string corresponding to the logical name of the analog input.
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
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...