Event Manager Basics; How To Arrange An Event; Setting A Condition By Linking Another Condition; Setting A Condition By Linking More Conditions - Lightware HDMI-TPS-TX226 User Manual

Hdbasettm multimedia extender
Table of Contents

Advertisement

 
7.LW3Programmer'sReference
7.8. Event Manager Basics
ThegraphicalinterfaceoftheEventManagercanbefoundintheLDCwhichallowscreatinganykindof
Events.Incertaincases,theEventshavetobearrangedormodifiedbyLW3commandsfromanotherdevice.
Thesecommandsaredetailedinthecomingsections.
7.8.1. How to arrange an Event?
Thefollowingarenecessarytohaveasuccessfulevent:
DefiningtheCondition
DefiningtheAction
SettingtheDelay (optional)
Name the Event and set to Enabled. (SettingtheEventtoEnabled 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
TheConditionisfulfillediftheSignalPresentpropertychangesto'1'.
Example 2 – property changes anything but the set value
Insomecases,theoppositeisnecessary:whenthepropertydoesnot 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
TheConditionisfulfillediftheConnectedSourcepropertydoesnotequalwith'I1'(inotherwords:ifotherinput
portisconnectedtoO1thanI1).
Example 3 – property changes to anything

DIFFERENCE:
Thisfeatureisavailablefromfirmwarev1.3.0b6.
When not the property value matters, but the change of the property value, the change can be set as a
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 ConnectedSourcepropertychanges(duetoacrosspoint-switch),thesetConditionisfulfilled.
HDMI-TPS-TX200series–User'sManual
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:
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:
Disabled.
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
Thiscommandisavailablefromfirmwarev1.3.0b3.
YoudonothavetodefineActionsforE1,E2andE3Eventsandyoucanleavethose
98

Advertisement

Table of Contents
loading

Table of Contents