22. High-level API Reference
408
www.yoctopuce.com
YFiles
files
→
set_logicalName()
files
→
setLogicalName()
Changes the logical name of the filesystem.
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
YFiles
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 filesystem.
Returns :
YAPI_SUCCESS
if 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...