7.LW3Programmers’Reference
HDMI-TPS-RX110AYseries–User'sManual
99
Appliedfirmwarepackage:v1.5.0b3 | LDCsoftware:v2.5.9b2
Further Examples
<path>.<property>
PropertyValue
<pattern>
Scanned result
/MANAGEMENT/STATUS.CpuTemperature 42C;0;75;0;7
%s
42
/MANAGEMENT/STATUS.CpuFirmware
1.3.0b3 r32
%12s
1.3.0b3
/MEDIA/VIDEO/XP.DestinationPortStatus
T00AA;T00AF
%6c
T00AA
/MEDIA/UART/P1.Rs232Configuration
57600, 8N1
%*[^,],%s
8N1
/MEDIA/AUDIO/XP.SourcePortStatus
T000A;T000B;T000F
%*6c%5c
T000B
/MANAGEMENT/NETWORK.HostName
lightware-00005031
lightware-%[0-9]
00005031
7.11.6.
Reformatting a Value
Thevalueofthevariablecanbechangedbyaddingtextasprefixand/orsufffix.
ATTENTION!
Thinkaboutthelengthofthevalue:15charactersareallowed,theothersaretruncated.
Command and Response
ç
CALL·/CTRL/VARS/V
<loc>
:printf(
<prefix>
%s
<postfix>
)
æ
mO·/CTRL/VARS/V
<loc>
:printf
Parameters
Parameter
Parameter description
Value Valuedescription
<loc>
The location of the variable
1-30
<prefix>
The text before the original value of the property (optional)
Custom
ASCII characters
%s
The original value of the variable
<postfix>
The text following the original value of the property (optional)
Custom
ASCII characters
Example
ç
GET/CTRL/VARS/V1.Value
ç
pw/CTRL/VARS/V1.Value=01
ç
CALL/CTRL/VARS/V1:printf(PWR%s)
æ
mO/CTRL/VARS/V1:printf
ç
GET/CTRL/VARS/V1.Value
æ
pw/CTRL/VARS/V1.Value=PWR01
The'PWR'stringhasbeeninsertedbeforetheoriginalvalue.