7.LW3Programmers’Reference
HDMI-TPS-RX110AYseries–User'sManual
95
Appliedfirmwarepackage:v1.5.0b3 | LDCsoftware:v2.5.9b2
Example 1 (simple delay)
ç
SET/EVENTS/E1.ConditionTimeout=10
æ
pw/EVENTS/E1.ConditionTimeout=10
If the Condition is detected (the
ConditionDetect
property becomes
true
), the
ConditionTimeoutPending
property
becomes
true
. 10 seconds later the
ConditionTimeoutPending
property becomes
false
and the set Action is
launched.
Example 2 ('still true after' delay type)
ç
SET/EVENTS/E1.ConditionTimeout=10
æ
pw/EVENTS/E1.ConditionTimeout=10
ç
SET/EVENTS/E1.ConditionTimeoutPending=true
æ
pw/EVENTS/E1.ConditionTimeoutPending=true
If the Condition is detected (the
ConditionDetect
property becomes
true
) the
ConditionTimeoutPending
property
becomes
true
. 10 seconds later the Condition is checked again (the
ConditionTimeoutPending
property
becomes
false
). If the Condition can be detected again (the
ConditionDetect
property becomes
true
again), the
ConditionisfulfilledandthesetActionislaunched.
Example 3 ('continuously true' delay type)
ç
SET/EVENTS/E1.ConditionTimeout=10
æ
pw/EVENTS/E1.ConditionTimeout=10
ç
SET/EVENTS/E1.ConditionTimeoutContinuous=true
æ
pw/EVENTS/E1.ConditionTimeoutContinuous=true
If the Condition is detected (the
ConditionDetect
property becomes
true
), the
ConditionTimeoutPending
property
becomes
true
. If the Condition can be detected in the following 10 seconds continuously (the
ConditionDetect
property stays
true
),theConditionisfulfilled,the
ConditionTimeoutPending
property becomes
false
, and the set
Action is launched.
7.10.2.
Setting the Name of the Event
Command and Response
ç
SET·/EVENTS/E
<loc>
.Name=
<string>
æ
pw·/EVENTS/E
<loc>
.Name=
<string>
Parameters
The
<string>
maycontainletters(A-Z)and(a-z),numbers(0-9),specialcharacters:hyphen(-),underscore
(_),andspace()upto20characters.Longerstringresultsanerror,unacceptedcharactersareskipped.
Example
ç
SET/EVENTS/E1.Name=Projector_ON
æ
pw/EVENTS/E1.Name=Projector_ON
7.10.3.
Enable the Event
Command and Response
ç
SET·/EVENTS/E
<loc>
.Enabled=
<true/false>
æ
pw·/EVENTS/E
<loc>
.Enabled=
<true/false>
Parameters
Whenthepropertyvalueis
true
(or
1
), the Action will be launched if the Condition is detected. If the property
is
false
(or
0
), the Action will not run, however, the Condition counter will be increased when detected.
Example
ç
SET/EVENTS/E1.Enabled=true
æ
pw/EVENTS/E1.Enabled=true
7.10.4.
Triggering a Condition
DIFFERENCE:
ThisfeatureisavailableonlyinHDMI-TPS-RX110AY-PlusmodelfromFWpackagev1.5.0b3.
Thisfeatureworkslikeaconditionisfulfilled.Whenacomplexcontrolsystemisbuilt,aConditionmay
trigger numerous Actions. A typical example is when a system is powered on and the ’ready-to-use’ state
has to be loaded. In this case, there could be many actions which are based on the same condition. In order
to reduce the number of the commands, you can trigger one ’key’ condition, which starts the whole process.
Command and Response
ç
CALL·/EVENTS/E
<loc>
:triggerCondition(1)
æ
mO·/EVENTS/E
<loc>
:triggerCondition
Example
ç
CALL/EVENTS/E1:triggerCondition(1)
æ
mO/EVENTS/E1:triggerCondition
TheConditionofEvent1isfulfilled,thesetActionwillbelaunched(afterthedelayifset).
7.10.5. Querying the Condition Counter
This property shows how many times the Condition has been detected and triggered altogether. The counter
is reset at boot.
Command and Response
ç
GET·/EVENTS/E
<loc>
.ConditionCount
æ
pw·/EVENTS/E
<loc>
.ConditionCount=
<num_value>
Example
ç
GET/EVENTS/E1.ConditionCount
æ
pw/EVENTS/E1>.ConditionCount=5