8. LW3 Programmers' Reference
MMX8x4-HT series – User's Manual
127
Applied firmware package: v1.2.2b5 | LDC software: v2.2.1
8.17.2.2.
Sending a UDP Text (ASCII-format)
The command is for sending a text message in ASCII-format via UDP-protocol. This method
does not allow
escaping or inserting control characters.
#message
Command and Response
Ý
CALL•/MEDIA/ETHERNET:udpText(
<IP_address>
:
<port_no>
=
<text>
)
Ü
mO•/MEDIA/ETHERNET:udpText
Example
Ý
CALL /MEDIA/ETHERNET:udpText(192.168.0.20:9988=open)
Ü
mO /MEDIA/ETHERNET:udpText
The 'open' text is sent to the indicated IP:port address.
8.17.2.3. Sending a UDP Binary Message (HEX-format)
The command is for sending a binary message in Hexadecimal format via UDP protocol. This method
does
not allow
escaping or inserting control characters.
Command and Response
Ý
CALL•/MEDIA/ETHERNET:udpBinary(
<IP_address>
:
<port_no>
=
<HEX_message>
)
Ü
mO•/MEDIA/ETHERNET:udpBinary
Example
Ý
CALL /MEDIA/ETHERNET:udpBinary(192.168.0.20:9988=433030)
Ü
mO /MEDIA/ETHERNET:udpBinary
The '433030' message is sent to the indicated IP:port address.
INFO: There is no need to insert a space or other separator character between the binary messages.
Ü
8.18.
System Monitoring Commands
8.18.1. Query Video Signal Presence
SignalPresent property indicates valid signal present on the port.
Command and Response
Ý
GET•/MEDIA/VIDEO/
<port>
.SignalPresent
Ü
pr•/MEDIA/VIDEO/
<port>
.SignalPresent=
<signal_status>
Example
Ý
GET /MEDIA/VIDEO/I1.SignalPresent
Ü
pr /MEDIA/VIDEO/I1.SignalPresent=1
Parameters
<signal_status>
0
=not present;
1
=present;
F
=unknown
8.18.2. Query Connected Device (or Cable)
Connected property indicates that cable or device is connected to the port.
Command and Response
Ý
GET•/MEDIA/VIDEO/
<port>
.Connected
Ü
pr•/MEDIA/VIDEO/
<port>
.Connected=
<conn_status>
Example
Ý
GET /MEDIA/VIDEO/I1.Connected
Ü
pr /MEDIA/VIDEO/I1.Conncected=1
Parameters
<conn_status>
0
=not present;
1
=present;
F
=unknown
8.18.3. Query Embedded Audio
EmbeddedAudioPresent property indicates that embedded audio is present in the video stream.
Command and Response
Ý
GET•/MEDIA/VIDEO/
<port>
.EmbeddedAudioPresent
Ü
pr•/MEDIA/VIDEO/
<port>
. EmbeddedAudioPresent =
<emb_status>
Example
Ý
GET /MEDIA/VIDEO/I1.EmbeddedAudioPresent
Ü
pr /MEDIA/VIDEO/I1.EmbeddedAudioPresent=0
Parameters
<emb_status>
0
=not present;
1
=present;
F
=unknown