Querying The Last Recognized Message (Hex); Clearing The Last Recognized Stored Message; Querying The Last Recognized Active Message (String); Querying The Last Recognized Active Message (Hex) - 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
7.16.8. Querying the Last Recognized Message (Hex)
The recognized message is stored as a hex message in the below property 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=
<recognized_hex_data>
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 below property temporary. When the time set in the ActiveTimeout
property is elapsed, the property is cleared.

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 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 that will cause a change.)
Command and Response
ç GET·/CTRL/TCP/C<loc>.ActiveRx
æ pr
·/CTRL/TCP/C<loc> .ActiveRx=<recognized_string>
Parameters
The
<recognized_string>
parameter is a max. 12 byte-long recognized data string.
Example
ç GET /CTRL/TCP/C1.ActiveRx
æ pr /CTRL/TCP/C1.ActiveRx=AudOut+

INFO:
Please note that the property contains the string until the ActivePropertyTimeout is elapsed only.
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.16.11. Querying the Last Recognized Active Message (Hex)
Command and Response
ç GET·/CTRL/TCP/C<loc>.ActiveRxHex
æ pr·/CTRL/TCP/C<loc>.ActiveRxHex=
Parameters
The
<recognized_hex>
parameter is the recognized data in hex format.
Example
ç GET /CTRL/TCP/C1.ActiveRxHex
æ pr /CTRL/TCP/C1.ActiveRxHex=4175644F75742B00

INFO:
Please note that the property contains the data until the ActivePropertyTimeout is elapsed only.
7.16.12. Set the Active Timeout
This property is responsible for clearing the ActiveRx, ActiveRxHex, ActiveHash properties after the elapsed
time. Default value is 50ms.
Command and Response
SET·/CTRL/TCP/C<loc>.ActivePropertyTimeout=<a_timeout>
ç
pw·/CTRL/TCP/C<loc>.ActivePropertyTimeout=<a_timeout>
æ
Parameters
The
<a_timeout>
parameter is the active timeout value (ms) between 0 and 255.
Example
ç SET /CTRL/TCP/C1.ActivePropertyTimeout=255
æ pw /CTRL/TCP/C1.ActivePropertyTimeout=255
7.16.13. Running an Immediate Event Action
When a message is recognized (DelimiterHex is detected in the message, or TimeOut has been elapsed
since receiving the last data bit) a specific Action of an Event can be run by the following command.
Command and Response
SET·/CTRL/TCP/C<loc>.ActionTrigger=<event_nr>
ç
pw·/CTRL/TCP/C<loc>.ActionTrigger=<event_nr>
æ
Parameters
The
<event_nr>
means the number (location) of the linked Event Action without letter 'E'. (There is no need
to define a Condition in the linked Event.)
Example
ç SET /CTRL/TCP/C1.ActionTrigger=5
æ pw /CTRL/TCP/C1.ActionTrigger=5
<recognized_hex>
129

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