Setting The Timeout; Querying The Last Message; Clearing The Stored Last Recognized Serial Message; Querying The Last Active Message - Lightware HDMI-TPS-TX210 User Manual

Hdbaset multimedia extender
Hide thumbs Also See for HDMI-TPS-TX210:
Table of Contents

Advertisement

 
7.LW3Programmer'sReference
7.11.3. Setting the Timeout
Whenthesettimeiselapsedafterthelastreceivedmessage,thedevicesavesthedata.Itcanbeapplied,
whenthereisnospecialoreasilydefineddelimiterstringintheincomingserialdata,butthereisatimegap
betweenthemessages.
SET·/MEDIA/UART/RECOGNIZER.TimeOut=<timeout>
pw·/MEDIA/UART/RECOGNIZER.TimeOut=<timeout>
Parameters
<timeout>
is the timeout value in milliseconds. 0 means the timeout is disabled. Minimum value is 10.
Example
 SET/MEDIA/UART/RECOGNIZER.TimeOut=20
 pw/MEDIA/UART/RECOGNIZER.TimeOut=20
7.11.4. Querying the Last Message
The recognized data is stored in string, hex and hash formats. They are stored until the next incoming
messageoruntiltheRECOGNIZER:clear()methodiscalled.

TIPSANDTRICKS:
When one of these properties are set as a condition in the Event Manager, and the
samestringsfolloweachother,theaction will execute once.
7.11.4.1. Recognized Data in String Format
 GET·/MEDIA/UART/RECOGNIZER.Rx
 pr·/MEDIA/UART/RECOGNIZER.Rx=
<recognized_string>
Parameters
The <recognized_string>max.12byte-longrecognizeddatastring.
Example
 GET/MEDIA/UART/RECOGNIZER.Rx
 pr/MEDIA/UART/RECOGNIZER.Rx=Login:
7.11.4.2. Recognized Data in Hex Format
 GET·/MEDIA/UART/RECOGNIZER.RxHex
 pr·/MEDIA/UART/RECOGNIZER.RxHex=
Parameters
<recognized_hex>:recognizeddatainhexformat.
Example
 GET/MEDIA/UART/RECOGNIZER.RxHex
 pr/MEDIA/UART/RECOGNIZER.RxHex=FF1F4C6F67696E3A
<recognized_hex>
Appliedfirmwarepackage:v1.2.0 | LDCsoftware:v2.2.0
HDMI-TPS-TX200series–User'sManual
7.11.4.3. Recognized Data Hash
 GET·/MEDIA/UART/RECOGNIZER.Hash
 pr·/MEDIA/UART/RECOGNIZER.Hash=
Parameters
<recognized_hash>:fingerprintcode,max.32bit-longrecognizeddatahash.
Example
 GET/MEDIA/UART/RECOGNIZER.Hash
 pr/MEDIA/UART/RECOGNIZER.Hash=997A659E
7.11.5. Clearing the Stored Last Recognized Serial Message
Thismethoddeletesallthestoredreceivedserialmessages.
 CALL·/MEDIA/UART/RECOGNIZER:clear()
 mO·/MEDIA/UART/RECOGNIZER:clear
Example
 CALL/MEDIA/UART/RECOGNIZER:clear()
 mO/MEDIA/UART/RECOGNIZER:clear
7.11.6. Querying the Last Active Message
Therecognizeddataisstoredinstring,hexandhashformatinatemporarystorage.Theyareerasedwhen
the Active Timeout elapsed.

TIPSANDTRICKS:
When these properties are set as a conditionin the Event Manager, and the same
stringsfolloweachother,theactionwillbeexecutedeverytimeiftheactivetimeouthasbeensetproperly.
7.11.6.1. Recognized Data in String Format
 GET·/MEDIA/UART/RECOGNIZER.ActiveRx
pr·/MEDIA/UART/RECOGNIZER.ActiveRx=<recognized_string>
Parameters
<recognized_string>:max.12byte-longrecognizeddatastring.
Example
 GET/MEDIA/UART/RECOGNIZER.ActiveRx
 pr/MEDIA/UART/RECOGNIZER.ActiveRx=Login:
<recognized_hash>
89

Advertisement

Table of Contents
loading

Table of Contents