5. Software Control - Lightware Device Controller
UMX-HDMI-140 series– User's Manual
45
Applied firmware package: v1.2.0 | LDC software: v2.4.1b7
5.8.2.
Message Recognizer
DIFFERENCE:
This feature is available only in UMX-HDMI-140-
Plus model.
UMX-HDMI-140-Plus model can analyze and store the received
serial data. For more information see
section.
Put a tick to
Enable message recognizer on this port
to switch the
recognizer on.
Delimiter sequence
text box is for set 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, until
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
ended 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.
#rs232recognizer #rs-232recognizer #recognizer #message
Clicking on
Reload
restores the
of the recognizer.
INFO:
Message recognizer operates independently of the RS-232 mode.
Configuration Example for the Message Recognizer
The detailed description below shows how to configure the message recognizer in
RS-232 Recognizer
Example.
When the UMX-HDMI-140-Plus 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.
... Password :
Login name :
...
Delimiter (hex format: 3A)
Stored string
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:
ç
UMX-HDMI-140-Plus:
PING
Rx
RxHex
Hash
ActiveRx
ActiveRxHex
ActiveHash
æ
VC codec:
Login:
Rx
RxHex
Hash
ActiveRx
ActiveRxHex
ActiveHash
Login:
4C6F67696E3A 2D8A5E38
Login:
4C6F67696E3A 2D8A5E38
ç
UMX-HDMI-140-Plus:
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
ç
UMX-HDMI-140-Plus:
Admin
Active timeout is elapsed, so the values of the Active- prefixed properties are deleted.
Rx
RxHex
Hash
ActiveRx
ActiveRxHex
ActiveHash
Password:
50617373776F72643A 79059B26