7. LW3 Programmers’ Reference
MMX4x2 series – User's Manual
106
Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
7.9.5.
Setting an Action by Specifying a Direct Path
Command and Response
ç
SET·/EVENTS/E
<loc>
.Action=
<expression>
æ
pw·/EVENTS/E
<loc>
.Action=
<expression>
Parameters
The structure of the
<expression>
is:
<node_path>
.
<property_or_method>
=
<value>
. Properties and methods
are handled in the same way: dot (.) stands after the path in both cases, colon (:) is not used. Do not use
brackets for methods. The
<value>
parameter is optional in case of certain methods.
Example
ç
SET /EVENTS/E1.Action=/MEDIA/VIDEO/XP.switch=I4:O1
æ
pw /EVENTS/E1.Action=/MEDIA/VIDEO/XP.switch=I4:O1
7.9.6.
Setting an Action by Linking Another Action
Command and Response
ç
SET·/EVENTS/E
<loc>
.Action=
<event_nr>
æ
pw·/EVENTS/E
<loc>
.Action=
<event_nr>
Parameters
The
<event_nr>
means the number (location) of the linked event without letter 'E'.
Example
ç
SET /EVENTS/E2.Action=1
æ
pw /EVENTS/E2.Action=1
The Action of the E2 Event is set to be the same as set at E1 Event.
7.9.7.
Setting an Action by Linking a Macro
DIFFERENCE:
This command is available from FW package v1.6.0b19.
Command and Response
ç
SET·/EVENTS/E
<loc>
.Action=
<macro_name>
æ
pw·/EVENTS/E
<loc>
.Action=
<macro_name>
Parameters
The
<macro_name>
means the name of the macro that can be seen in LDC (see the
section) or can
be queried by the
GET /CTRL/MACROS.
<id>
command.
Example
ç
SET /EVENTS/E1.Action=Macro1
æ
pw /EVENTS/E1.Action=Macro1
7.10.
Event Manager Tool Kit
7.10.1.
Setting the Delay
In most cases, the Action is performed immediately after the Condition is detected. But sometimes a delay
is necessary between the Condition and the Action, thus the following delay options are defined:
Command and Response (summary)
ç
SET·/EVENTS/E
<loc>
.ConditionTimeout=
<time>
æ
pw·/EVENTS/E
<loc>
.ConditionTimeout=
<time>
ç
SET·/EVENTS/E
<loc>
.ConditionEndCheck=
<true/false>
æ
pw·/EVENTS/E
<loc>
.ConditionEndCheck=
<true/false>
ç
SET·/EVENTS/E
<loc>
.ConditionTimeoutContinuous=
<true/false>
æ
pw·/EVENTS/E
<loc>
.ConditionTimeoutContinuous=
<true/false>
Parameters
The
<time>
parameter means seconds. Set the following properties for the desired delay type:
Delay type
Properties to set
Value
Result
no delay
/EVENTS/E
<loc>
.ConditionTimeout
0
The Action will be lanuched
after the Condition is detected.
simple delay
/EVENTS/E
<loc>
.ConditionTimeout
<time>
If the Condition is detected, the
action will be launched after the
set time.
still true after
/EVENTS/E
<loc>
.ConditionTimeout
<time>
The Condition is fulfilled only
if is detected after the set time
again
.
/EVENTS/E
<loc>
.ConditionEndCheck
true
continuously
true
/EVENTS/E
<loc>
.ConditionTimeout
<time>
The Condition is fulfilled only if
it is existing
continuously
during
the set time.
/EVENTS/E
<loc>
.ConditionEndCheck
true
/EVENTS/E
<loc>
.ConditionTimeoutContinuous
true
Delay
Condition = true
Condition = true
Condition = true
Condition = true
continously
true
still true after
simple delay
no delay
Perform the action
Perform the action
Delay
Delay
Perform the action
Condition = true Perform the action
Time