Setting The Timeout; Querying The Last Recognized Message (String); Querying The Last Recognized Message (Hex); Clearing The Last Recognized Stored Message - Lightware MMX4x2 Series User Manual

Standalone multimedia matrix switcher
Hide thumbs Also See for MMX4x2 Series:
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.16.6. Setting the Timeout
When the set time passes after the last received message and delimiter was not detected, the device saves
the data into the Rx, RxHex, Hash properties. The timeout setting is useful if there is no special or easily
defined delimiter in the incoming data, but there is a time gap between the messages.
Command and Response
SET·/CTRL/TCP/C<loc>.TimeOut=<timeout>
ç
pw·/CTRL/TCP/C<loc>.TimeOut=<timeout>
æ
Parameters
The
<timeout>
parameter sets the time value in milliseconds: 0 means the timeout is disabled, min. value
is 10.
Example
ç SET /CTRL/TCP/C1.TimeOut=20
æ pw /CTRL/TCP/C1.TimeOut=20
7.16.7. Querying the Last Recognized Message (String)
The recognized message is stored as a string in the property below until the next recognized message or
until the clear() method is called.

TIPS AND TRICKS:
When this property is set as a condition in the Event Manager and the same strings
follow each other, the action will execute once. (A Condition can be detected in Event Manager if a change
happens. But if the same string is saved into the property after each other, it will not cause a change.)
Command and Response
ç GET·/CTRL/TCP/C<loc>.Rx
æ pr·/CTRL/TCP/C<loc>.Rx=
<recognized_string>
Parameters
The
<recognized_string>
parameter can be max. 128 bytes long.
Example
ç GET /CTRL/TCP/C1.Rx
æ pr /CTRL/TCP/C1.Rx=PWR_off
MMX4x2 series – User's Manual
7.16.8. Querying the Last Recognized Message (Hex)
The recognized message is stored as a hex message in the property below till the next recognized message
or until the clear() method is called.
Command and Response
ç GET·/CTRL/TCP/C<loc>.RxHex
æ pr·/CTRL/TCP/C<loc>.RxHex=
Example
ç GET /CTRL/TCP/C1.RxHex
æ pr /CTRL/TCP/C1.RxHex=5057525F6F6666
7.16.9. Clearing the Last Recognized Stored Message
This method clears the stored recognized messages from Rx, RxHex and Hash properties.
Command and Response
ç CALL·/CTRL/TCP/C<loc>:clear()
æ mO·/CTRL/TCP/C<loc>:clear
Example
ç CALL /CTRL/TCP/C1:clear()
æ mO /CTRL/TCP/C1:clear
7.16.10. Querying the Last Recognized Active Message (String)
The recognized data is stored in string in the property below temporary. When the time set in the ActiveTimeout
property passes, the property is cleared.

TIPS AND TRICKS:
follow each other, the action will execute every occasion. (A Condition can be detected in Event Manager if
a change happens. In this case, the string is stored in the property and after the ActiveTimeout it will be
cleared. If the same string is saved into the (empty) property, it will cause a change.)
Command and Response
ç GET·/CTRL/TCP/C<loc>.ActiveRx
æ pr
Parameters
The
Example
ç GET /CTRL/TCP/C1.ActiveRx
æ pr /CTRL/TCP/C1.ActiveRx=AudOut+
INFO:

Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
<recognized_hex_data>
When this property is set as a condition in the Event Manager and the same strings
·/CTRL/TCP/C<loc> .ActiveRx=<recognized_string>
<recognized_string>
parameter is a max. 12-byte-long recognized data string.
Please note that the property contains the string until the ActivePropertyTimeout passes only.
118

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MMX4x2 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Mmx4x2-hdmiMmx4x2-ht200Mmx4x2-hdmi-usb20-l

Table of Contents