Reformatting A Value; Ethernet Port Configuration; Set The Dhcp State; Change The Ip Address (Static) - Lightware UMX-TPS-TX120 User Manual

Hdbaset multimedia extender
Hide thumbs Also See for UMX-TPS-TX120:
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
Further Examples
<path>.<property>
/MANAGEMENT/STATUS.CpuTemperature 42 C; 0;75; 0;7
/MANAGEMENT/STATUS.CpuFirmware
/MEDIA/VIDEO/XP.DestinationPortStatus
/MEDIA/UART/P1.Rs232Configuration
/MEDIA/AUDIO/XP.SourcePortStatus
/MANAGEMENT/NETWORK.HostName
7.11.6. Reformatting a Value
The value of the variable can be changed by adding text as prefix and/or postfix.
ATTENTION!

Think about the length of the value: 15 characters are allowed, the others are truncated.
Command and Response
ç CALL·/CTRL/VARS/V<loc>:printf(<prefix>%s<postfix>)
æ mO·/CTRL/VARS/V<loc>:printf
Parameters
Parameter
Parameter description
<loc>
The location of the variable
<prefix>
The text before the original value of the property (optional)
%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' string has been inserted before the original value.
Property Value
<pattern>
Scanned result
%s
42
1.3.0b3 r32
%12s
1.3.0b3
T00AA;T00AF
%6c
T00AA
57600, 8N1
%*[^,], %s
8N1
T000A;T000B;T000F
%*6c%5c
T000B
lightware-00005031
lightware-%[0-9]
00005031
Value
Value description
1-30
Custom ASCII characters
Applied firmware packages: (UMX-TPS): v1.5.0b4 | (WP-UMX-TPS): v1.4.0b8 | (FP-UMX-TPS): v1.4.0b8 | LDC software: v2.5.6b2
UMX-TPS-TX100 series – User's Manual
7.12. Ethernet Port Configuration
7.12.1. Set the DHCP State
ATTENTION!

When you change a network property the new value is stored but the applySettings method
must be called always to apply the new settings. When two or more network parameters are changed the
applySettings method is enough to call once as a final step.
Command and Response
#dhcp #network
SET·/MANAGEMENT/NETWORK.DhcpEnabled=<dhcp_status>
ç
pw·/MANAGEMENT/NETWORK.DhcpEnabled=<dhcp_status>
æ
Parameters
If the
<dhcp_status>
parameter is true, the current IP address setting is DHCP, if the parameter is false the
current IP address is static.
Example
ç SET /MANAGEMENT/NETWORK.DhcpEnabled=true
æ pw /MANAGEMENT/NETWORK.DhcpEnabled=true
ç CALL /MANAGEMENT/NETWORK:applySettings(1)
æ mO /MANAGEMENT/NETWORK:applySettings

INFO:
The applySettings method will save and apply the new value and results the device to reboot.

INFO:
The current setting can be queried by the
7.12.2. Change the IP Address (Static)
Command and Response
SET·/MANAGEMENT/NETWORK.StaticIpAddress=<IP_address>
ç
pw·/MANAGEMENT/NETWORK.StaticIpAddress=<IP_address>
æ
Example
ç SET /MANAGEMENT/NETWORK.StaticIpAddress=192.168.0.85
æ pw /MANAGEMENT/NETWORK.StaticIpAddress=192.168.0.85
ç CALL /MANAGEMENT/NETWORK:applySettings(1)
æ mO /MANAGEMENT/NETWORK:applySettings
INFO:

The applySettings method will save and apply the new value and results the device to reboot.
INFO:

The current setting can be queried by the
#ipaddress
GET
command.
GET
command.
122

Advertisement

Table of Contents
loading

This manual is also suitable for:

Umx-tps-tx130Umx-tps-tx140Umx-tps-tx140kUmx-tps-tx140-plusFp-umx-tps-tx120Fp-umx-tps-tx130 ... Show all

Table of Contents