
7. LW3 Programmer's Reference
HDMI-TPS-RX220AK – User's Manual
89
Applied firmware package: v1.4.0 | LDC software: v2.4.0b3
7.10.3.
Set the Timeout
When the set time is elapsed after the last received message, the device saves the data. It can be applied,
when there is no special or easily defined delimiter string in the incoming serial data, but there is a time gap
between the messages.
ç
SET·/MEDIA/UART/RECOGNIZER.TimeOut=
<timeout>
æ
pw·/MEDIA/UART/RECOGNIZER.TimeOut=<
timeout>
Parameters
<timeout>
Timeout value in ms.;
0
: disable the timeout; minimum value: 10.
Example
ç
SET /MEDIA/UART/RECOGNIZER.TimeOut=20
æ
pw /MEDIA/UART/RECOGNIZER.TimeOut=20
7.10.4. Query the Last Recognized Serial Message in String Format
The recognized data is stored in string format. They are stored until the next incoming message or until the
RECOGNIZER:clear() method is called.
TIPS AND TRICKS:
When one of these properties are set as a condition in the Event Manager, and the
same strings follow each other, the action
will execute once
.
Command and Response
ç
GET·/MEDIA/UART/RECOGNIZER.Rx
æ
pr·/MEDIA/UART/RECOGNIZER.Rx=
<recognized_string>
Parameters
<recognized _string>
Max. 12 byte-long recognized data string.
Example
ç
GET /MEDIA/UART/RECOGNIZER.Rx
æ
pr /MEDIA/UART/RECOGNIZER.Rx=Login:
#recognizer #rs232recognizer #rs-232recognizer
7.10.5. Query the Last Recognized Serial Message in Hex Format
The recognized data is stored in hex format. They are stored until the next incoming message or until the
RECOGNIZER:clear() method is called.
TIPS AND TRICKS:
When one of these properties are set as a condition in the Event Manager, and the
same strings follow each other, the action
will execute once
.
Command and Response
ç
GET·/MEDIA/UART/RECOGNIZER.RxHex
æ
pr·/MEDIA/UART/RECOGNIZER.RxHex=
<recognized _hex>
Parameters
<recognized _hex>
Recognized data in hex format.
Example
ç
GET /MEDIA/UART/RECOGNIZER.RxHex
æ
pr /MEDIA/UART/RECOGNIZER.RxHex=FF1F4C6F67696E3A
7.10.6.
Clear the Stored Last Recognized Serial 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