![Lightware HDBaseT HDMI-TPS-RX110AY Скачать руководство пользователя страница 111](http://html.mh-extra.com/html/lightware/hdbaset-hdmi-tps-rx110ay/hdbaset-hdmi-tps-rx110ay_user-manual_1915355111.webp)
7.LW3Programmers’Reference
HDMI-TPS-RX110AY series – User's Manual
111
Appliedfirmwarepackage:v1.5.0b3 | LDCsoftware:v2.5.9b2
7.19.
RS-232 Message Recognizer
DIFFERENCE:
ThisfeatureisavailableonlyinHDMI-TPS-RX110AY-PlusmodelfromFWpackagev1.5.0b3.
This tool can be used to recognize messages coming from the RS-232 port. The message can be used as a
ConditioninEventmanageranddefineanActionforit.
Working Method
Amessagegotrecognizedfromtheincomingdata,ifoneofthefollowingoccurs:
▪
The set DelimiterHex is detected in the message, or
▪
The set TimeOut has been elapsed since receiving the last data bit.
* In that case, the not-recognized data is kept in the memory (up to 128 bytes). If the
DelimiterHex
is detected
later, or the
TimeOut
parameter is set meanwhile, the data appears in the
Rx
,
RxHex, Hash
and
ActiveRx
,
ActiveRxHex, ActiveRxHash
properties.
7.19.1.
Enable the Recognizer
Command and Response
ç
SET·/MEDIA/UART/
<serial_port>
.RecognizerEnable=
<recognizer_enable>
æ
pw·/MEDIA/UART/
<serial_port>
.RecognizerEnable=
<recognizer_enable>
Parameters
Parameter
Parameter description
Values
Valuedescription
<serial_port>
Serial port number
P1, P2
<recognizer_enable>
Recognizer mode
true
Recognizer is enabled
false
Recognizer is disabled
Example
ç
SET/MEDIA/UART/P1.RecognizerEnable=true
æ
pw/MEDIA/UART/P1.RecognizerEnable=true
#recognizer #rs232recognizer
#rs-232recognizer
MESSAGE
saved in Rx property
MESSAGE
MESSAGE
saved in ActiveRx property
ActiveRx property is cleared
ActiveProperty
Timeout
MESSAGE
saved in Rx property
MESSAGE
saved in ActiveRx property
ActiveRx property is cleared
ActiveProperty
Timeout
with delimiter
Time
Delimiter
MESSAGE
TimeOut
with timeout
MESSAGE
no timeout,
no delimiter
*
7.19.2.
Set the Delimiter Hex
Thispropertystoresthedelimiterthatisbetweenthemessages(e.g.Cr,Lf,Space).Thevaluehastobein
hex format (e.g.0D, 0A, 20).
Command and Response
ç
SET·/MEDIA/UART/RECOGNIZER.DelimiterHex=
<delimiter>
æ
pw·/MEDIA/UART/RECOGNIZER.DelimiterHex=
<delimiter>
Parameters
The
<delimiter>
parameter can be max. 8-character long (or 16 hex digit) in
hex
format.
Example
ç
SET/MEDIA/UART/RECOGNIZER.DelimiterHex=3a
æ
pw/MEDIA/UART/RECOGNIZER.DelimiterHex=3a
7.19.3.
Set the Timeout
Whenthesettimeiselapsedafterthelastreceivedmessageanddelimiterwasnotdetected,thedevice
saves the data into the
Rx, RxHex, Hash
properties. The timeout setting is useful if there is no special or easily
defineddelimiterintheincomingdata,butthereisatimegapbetweenthemessages.
Command and Response
ç
SET·/MEDIA/UART/RECOGNIZER.TimeOut=
<timeout>
æ
pw·/MEDIA/UART/RECOGNIZER.TimeOut=
<timeout>
Parameters
The
<timeout>
parametersetsthetimeoutvalueinmilliseconds:
0
means the timeout is disabled, min.
value is 10.
Example
ç
SET/MEDIA/UART/RECOGNIZER.TimeOut=20
æ
pw/MEDIA/UART/RECOGNIZER.TimeOut=20
... Password :
Login name :
...
Delimiter (hex format: 3A)
Stored string