7.LW3Programmer'sReference
HDMI-TPS-TX200series–User'sManual
100
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
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
.10secondslaterthe
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
).IftheConditioncanbedetectedagain(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
.IftheConditioncanbedetectedinthefollowing10secondscontinuously(the
ConditionDetect
property stays
true
),theConditionisfulfilled,the
ConditionTimeoutPending
property becomes
false
, and the set
Action is launched.
7.9.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.9.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.9.4.
Triggering a Condition
DIFFERENCE:
ThiscommandisavailableonlyforSW4-TPS-TX240-PlusfromFWpackagev1.3.0b6.
Thisfeatureworkslikeaconditionisfulfilled.Whenacomplexcontrolsystemisbuilt,aConditionmay
triggernumerousActions.Atypicalexampleiswhenasystemispoweredonandthe’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
toreducethenumberofthecommands,youcantriggerone’key’condition,whichstartsthewholeprocess.
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.9.5. Querying the Condition Counter
ThispropertyshowshowmanytimestheConditionhasbeendetectedandtriggeredaltogether.Thecounter
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