
UMX-TPS-TX100 series
User’s Manual
Section 8. LW3 Pro
grammers’ reference
Page 101 / 127
8.9.3. Toggle the value of a GPIO pin
Command format:
CALL
●/MEDIA/GPIO/P<pin_#>:toggle(1)
Response format:
mO
●/MEDIA/GPIO/ P<pin_#>:toggle
Legend:
<pin#>:
number of the GPIO pin
Example:
> CALL●/MEDIA/GPIO/P1:toggle(1)
< mO●/MEDIA/GPIO/P1:toggle
Explanation:
If the direction of the pin is input: the output value is toggled.
If the direction of the pin is output: the output value and the input value
are toggled.
8.10. Event settings (conditions and actions)
20 events can be configured in the transmitter, these nodes are located under /EVENTS.
More details can be found in section
To describe the process of setting an event by protocol commands, a simple example will
used. The event will be set under the /EVENTS/E1 node and will contain the following
setting:
If signal is present on input port P1, the value of GPIO1 pin will be set to High.
The setting is stored in 6 different properties which are described in the followings.
8.10.1. Set the source node (condition)
Command format:
SET
●/EVENTS/E<event_nr>.SourceNode=
<node_path>”/”<node_name>
Response format:
pw
●/EVENTS/E<event_nr>.SourceNode=
<node_path>”/”<node_name>
Example:
> SET●/EVENTS/E1.SourceNode=/MEDIA/VIDEO/P1
< pw●/EVENTS/E1.SourceNode=/MEDIA/VIDEO/P1
Explanation:
This node contains the path of the property that will fire the E1 event (the
path of the P1 video input port).
Info:
Node path must be started with “/”.
8.10.2. Set the source property (condition)
Command format:
SET
●/EVENTS/E<event_nr>.SourceProperty=<property>
Response format:
pw
●/EVENTS/E<event_nr>.SourceProperty=<property>
Example:
> SET●/EVENTS/E1.SourceProperty=SignalPresent
< pw●/EVENTS/E1.SourceProperty=SignalPresent
Explanation:
This node contains the property that will fire the E1 event (signal present
state of P1 port).
Summary of Contents for UMX-TPS-TX120
Page 2: ......