7.LW3Programmer'sReference
HDMI-TPS-TX200series–User'sManual
98
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
7.8.
Event Manager Basics
ThegraphicalinterfaceoftheEventManagercanbefoundintheLDCwhichallowscreatinganykindof
Events.Incertaincases,theEventshavetobearrangedormodifiedbyLW3commandsfromanotherdevice.
Thesecommandsaredetailedinthecomingsections.
7.8.1.
How to arrange an Event?
Thefollowingarenecessarytohaveasuccessfulevent:
▪
Definingthe
Condition
▪
Definingthe
Action
▪
Settingthe
Delay
(optional)
▪
Name
the Event and set to
Enabled.
(
SettingtheEventto
Enabled
as the last step is recommended.)
Command and Response
ç
SET·/EVENTS/E
<loc>
.Condition=
<expression>
æ
pw·/EVENTS/E
<loc>
.Condition=
<expression>
Parameters
The structure of the
<expression>
is:
<node_path>
.
<property>
=
<value>
.
Example 1 – property changes to a set value
ç
SET/EVENTS/E1.Condition=/MEDIA/VIDEO/I1.SignalPresent=1
æ
pw/EVENTS/E1.Condition=/MEDIA/VIDEO/I1.SignalPresent=1
TheConditionisfulfilledifthe
SignalPresent
propertychangesto'1'.
Example 2 – property changes anything but the set value
Insomecases,theoppositeisnecessary:whenthepropertydoes
not
equal with the value. If you need so,
the
ConditionInverted
property must be set to
true
:
ç
SET/EVENTS/E2.Condition=/MEDIA/VIDEO/O1.ConnectedSource=I1
æ
pw/EVENTS/E2.Condition=/MEDIA/VIDEO/O1.ConnectedSource=I1
ç
SET/EVENTS/E2.ConditionInverted=true
æ
pw/EVENTS/E2.ConditionInverted=true
TheConditionisfulfilledifthe
ConnectedSource
propertydoesnotequalwith'I1'(inotherwords:ifotherinput
portisconnectedtoO1thanI1).
Example 3 – property changes to anything
DIFFERENCE:
Thisfeatureisavailablefromfirmwarev1.3.0b6.
Whennotthepropertyvaluematters,butthechangeofthepropertyvalue,thechangecanbesetasa
condition. In this case, put a
?
charactertotheendofthedesiredproperty:
ç
SET/EVENTS/E3.Condition=/MEDIA/VIDEO/O1.ConnectedSource?
æ
pw/EVENTS/E3.Condition=/MEDIA/VIDEO/O1.ConnectedSource?
If the
ConnectedSource
propertychanges(duetoacrosspoint-switch),thesetConditionisfulfilled.
7.8.2.
Setting a Condition by Linking Another Condition
Command and Response
ç
SET·/EVENTS/E
<loc>
.Condition=
<event_nr>
æ
pw·/EVENTS/E
<loc>
.Condition=
<event_nr>
Parameters
The
<event_nr>
meansthenumber(location)ofthelinkedeventwithoutletter'E'.
Example
ç
SET/EVENTS/E2.Condition=1
æ
pw/EVENTS/E2.Condition=1
TheConditionoftheE2EventissettobethesameassetatE1Event.
7.8.3.
Setting a Condition by Linking More Conditions
DIFFERENCE:
Thiscommandisavailablefromfirmwarev1.3.0b3.
ThefirstgenerationoftheEventManagerisabletosenseachange(onecondition)butinsomecasesthat
isnotenough.Thepracticalexperiencehasshownthereisaneedtoexaminemoreconditions(uptofour)
asfollows:ifoneofthesetconditionsbecomestrue(whiletheotherconditionsarefulfilled),thentheset
Action is launched.
Command and Response
ç
SET·/EVENTS/E
<loc>
.Condition=
<event_nr>
&
<event_nr>
&
<event_nr>
&
<event_nr>
æ
pw·/EVENTS/E
<loc>
.Condition=
<event_nr>
&
<event_nr>
&
<event_nr>
&
<event_nr>
Parameters
The
<event_nr>
parametersmeanthenumbers(locations)ofthelinkedEventswithoutletter'E'.Uptofour
event number can be set.
Example
ç
SET/EVENTS/E4.Condition=1&2&3
æ
pw/EVENTS/E4.Condition=1&2&3
IftwoConditionsexistandthethirdisdetected(changestotrue),theConditionofE4willbefulfilledandthe
ActionofE4willbelaunched.
TIPSANDTRICKS:
YoudonothavetodefineActionsforE1,E2andE3Eventsandyoucanleavethose
Disabled
.