
5. Software Control - Lightware Device Controller
HDMI-TPS-RX220AK – User's Manual
42
Applied firmware package: v1.4.0 | LDC software: v2.4.0b3
Message Recognizer
The receiver can analyze and store the received serial data. For more information see the
section.
Check
Enable message recognizer
on this port to
switch the recognizer on.
Delimiter sequence
text box is for setting the
delimiter string in hex format. When this string is
detected in the incoming serial data, the device
saves the RS-232 message data from the first
bit, to the delimiter (or the data between the two
delimiters).
INFO:
0D0A is the factory default value, this is
the hexadecimal code of Carriage Return and
Line Feed. LW3 protocol commands end with
this formula, so the default value support the
recognition of the LW3 commands and the
stored changes automatically.
If the
Timeout
is enabled and set, the received data
is saved when the timeout is elapsed after the last
received message.
In
Received messages
box shows the last received
and stored message in Text (RECOGNIZER.Rx), Hex
(RECOGNIZER.RxHex), and Hash (RECOGNIZER.
Hash) format. The Hex and Hash contains the
delimiter.
Press the
Clear
button to erase this storage.
Clicking on
Reload
restores the factory default
values of the recognizer.
ATTENTION!
The Message recognizer settings
are mirrored on the Local and TPS in serial ports.
INFO:
Message recognizer operates independently of the RS-232 mode.
#recognizer #rs232recognizer #rs-232recognizer
Configuration Example for the Message Recognizer
The detailed description below shows how to configure the message recognizer in
When the HDMI-TPS-RX220AK has an active video signal, the switcher login the VC codec automatically.
The signal presence triggers a bi-directional communication with the VC codec via RS-232:
Step 1.
Turn on the recognizer: Enable it on the P1 serial port.
Step 2.
Set the delimiter (in hex format). In this case, the
delimiter character is '
:
', which is '
3a
' in hex format.
When the delimiter string is detected in the incoming
serial data, the serial message is stored in string (in Rx
and ActiveRx property), hex (in RxHex and ActiveHex
property) and hash (in Hash and ActiveHash property) format. These stored content can be set as a
condition in the event manager.
INFO:
The stored content is the incoming data which arrives
before
the delimiter or
between
the two
delimiters.
Step 3.
Set the Active timeout 100. This property is responsible for erasing the temporary storage (ActiveRx,
ActiveRxHex, ActiveHash) after the elapsing time. In the below example, it can be seen how does the
recognizer properties change during the communication:
ç
HDMI-TPS-RX220AK:
PING
Rx
RxHex
Hash
ActiveRx
ActiveRxHex
ActiveHash
æ
VC codec:
Login:
Rx
RxHex
Hash
ActiveRx
ActiveRxHex
ActiveHash
Login:
4C6F67696E3A 2D8A5E38
Login:
4C6F67696E3A 2D8A5E38
ç
HDMI-TPS-RX220AK:
Admin
Active timeout is elapsed, so the values of the Active- prefixed properties are deleted.
Rx
RxHex
Hash
ActiveRx
ActiveRxHex
ActiveHash
Login:
4C6F67696E3A 2D8A5E38
æ
VC codec:
Password:
Rx
RxHex
Hash
ActiveRx
ActiveRxHex
ActiveHash
Password:
50617373776F72643A 79059B26 Password:
50617373776F72643A
79059B26
ç
HDMI-TPS-RX220AK:
Admin
Active timeout is elapsed, so the values of the Active- prefixed properties are deleted.
Rx
RxHex
Hash
ActiveRx
ActiveRxHex
ActiveHash
Password:
50617373776F72643A 79059B26
... Password :
Login name :
...
Delimiter (hex format: 3A)
Stored string