MODEX-OPTS, MODEX-OPTM
User’s Manual
Section 7.
Programmer’s reference
Page 83 / 113
7.8.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 “/”.
7.8.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).
7.8.3. Set the value of the source property (condition)
Command format:
SET
●/EVENTS/E<event_nr>.SourcePropertyValue=<value>
Response format:
pw
●/EVENTS/E<event_nr>.SourcePropertyValue=<value>
Example:
> SET●/EVENTS/E1.SourcePropertyValue=1
< pw●/EVENTS/E1.SourcePropertyValue=1
Explanation:
The E1 event will be fired, if this property is changed to the set value (signal
is present on input port P1).
7.8.4. Set the target node (action)
Command format:
SET
●/EVENTS/E<event_nr>.TargetNode=
<node_path>”/”<node_name>
Response format:
pw
●/EVENTS/E<event_nr>.TargetNode=
<node_path>”/”<node_name>
Example:
> SET●/EVENTS/E1.TargetNode=/MEDIA/UART/P1
< pw●/EVENTS/E1.TargetNode=/MEDIA/UART/P1
Explanation:
This node contains the path of the property that will be changed after the E1
event is fired.
Info:
Node path must be started with “/”.