
7. LW3 Programmers’ Reference
UMX-TPS-TX100 series – User's Manual
134
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
7.19.4. Querying the Last Recognized Message (String)
The recognized message is stored as a string in the below property till the next recognized message or until
the
RECOGNIZER.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·/MEDIA/UART/RECOGNIZER.Rx
æ
pr·/MEDIA/UART/RECOGNIZER.Rx=
<recognized_string>
Parameters
The
<recognized_string>
parameter can be max. 12 byte-long recognized data string.
Example
ç
GET /MEDIA/UART/RECOGNIZER.Rx
æ
pr /MEDIA/UART/RECOGNIZER.Rx=Login:
7.19.5. Querying the Last Recognized Message(Hex)
Command and Response
ç
GET·/MEDIA/UART/RECOGNIZER.RxHex
æ
pr·/MEDIA/UART/RECOGNIZER.RxHex=
<recognized_hex>
Parameters
The
<recognized_hex>
parameter is the recognized data in hex format.
Example
ç
GET /MEDIA/UART/RECOGNIZER.RxHex
æ
pr /MEDIA/UART/RECOGNIZER.RxHex=FF1F4C6F67696E3A
7.19.6.
Clearing the Last Recognized Stored Message
This method deletes all the stored received serial messages.
Command and Response
ç
CALL·/MEDIA/UART/RECOGNIZER:clear()
æ
mO·/MEDIA/UART/RECOGNIZER:clear
Example
ç
CALL /MEDIA/UART/RECOGNIZER:clear()
æ
mO /MEDIA/UART/RECOGNIZER:clear
7.19.7. 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·/MEDIA/UART/RECOGNIZER.ActiveRx
æ
pr
·
/MEDIA/UART/RECOGNIZER.ActiveRx=
<recognized_string>
Parameters
The
<recognized_string>
parameter is a max. 12 byte-long recognized data string.
Example
ç
GET /MEDIA/UART/RECOGNIZER.ActiveRx
æ
pr /MEDIA/UART/RECOGNIZER.ActiveRx=Login:
7.19.8. Querying the Last Recognized Active Message (Hex)
Command and Response
ç
GET·/MEDIA/UART/RECOGNIZER.ActiveRxHex
æ
pr·/MEDIA/UART/RECOGNIZER.ActiveRxHex=
<recognized_hex>
Parameters
The
<recognized_hex>
parameter is the recognized data in hex format.
Example
ç
GET /MEDIA/UART/RECOGNIZER.ActiveRxHex
æ
pr /MEDIA/UART/RECOGNIZER.ActiveRxHex= 4C6F67696E3A