5.SoftwareControl-LightwareDeviceController
HDMI-TPS-TX200series–User'sManual
58
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
Linking a Macro (Action)
DIFFERENCE:
This feature is available only
forSW4-TPS-TX240-PlusfromFWpackage
v1.3.0b6.
Macros stored in the device can be run as
Actions. Thus, a lot of commands can be run
byusingonlyoneEvent.Thecommandswill
beprocessedone-by-oneaftereachother.
#macro
Step 1.
Click on the
Edit
button of the desired
Event;the
Event editor
is displayed.
Step 2.
Thewizardmodeisthedefault,press
the
Macros
button in the
Action
panel.
Step 3.
Selectthedesired
Macro
from the list
then press the
Apply
button to store
settings.
If the
Use variables
option is enabled, you can
link a variable by the
$
character. If you do so
(e.g.$1),thedevicewillhandleitastheV1variable.Youcansendthevalueofthevariablee.g.asaTCP
message.
SeemoreinformationabouttheMacrosettingsinthe
section.
5.10.3.
Special Tools and Accessories
The Name of the Event
Thenameofaportcanbechangedbytypingthenewnameandclickingthe
Set
button.Thefollowing
charactersareallowedwhennaming:letters(A-Z)and(a-z),numbers(0-9),specialcharacters:hyphen(-),
underscore(_),andspace().
Enable or Disable an Event
ThesetEventcanbeenabledordisabledintheEventlist,ordirectlyintheEventeditorwindowbysetting
the
tick mark
beside the name.
Testing the Condition
WhenthedesiredConditionisarranged,thesettingcanbetested.TheEventlistandtheEventeditorcontains
a small panel that shows if the set condition is detected and how many times. The
Counter
can be reset by
the button in Event editor. If the Condition is true, the
detected
markturnsgreenfortwosecondsandthe
Counter
is increased.
Testing the Action
ThemethodisthesameastestingtheCondition,butinthiscase,theActioncanbetriggeredmanuallyby
pressingthe
Test
button.
TIPSANDTRICKS:
The Test button is also placed on the Action panel in the Event list. Thus, you can
checktheActionswithoutopeningtheEventeditor.
Delay the Action
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. Therefore, the new Event
managercontainstheDelaypanel
which allows that feature with
belowsettings:
▪
No delay
:whentheConditionisdetected,theActionislaunched.
▪
Simple delay
:whentheConditionisdetected,theActionislaunchedafterthesettimeinterval.
▪
Still true after
:whentheConditionisdetected,theActionislaunchedafterthesettimeintervalonlyif
the Condition still exists.
▪
Continuously true
:whentheConditionisdetected,theActionislaunchedafterthesettimeintervalonly
iftheConditionhasbeenexistingcontinuously.
TIPSANDTRICKS:
Show advanced expressions
option is a useful tool when you look for the path or value
ofapropertybutjusttheexpressionisdisplayed.TheoptionisavailableintheEventlistwindoworwhen
Linktoolisused.
Variables
DIFFERENCE:
ThisfeatureisavailableonlyforSW4-TPS-TX240-PlusfromFWpackagev1.3.0b6.
Thevariablesandthetools(shownintheControl/Variablestab)canbeusedintheEventManager.
Condition Wizard
#variables
Thedesiredvariablecanbecheckedifitsvalueischangedtoaspecificvalue.
Action Wizard
Thevalueofavariablecanbeset/changedbythesamemethodsasintheControl/Variablestab:
▪
Settingtheexactvalue
▪
Increasingthevaluewith/withoutlimits
▪
Convertingthevalue(e.g.intervalchange)
▪
Scanningandstoring,orreformattingaproperty/parameter
If the
Use variables
option is enabled, you can link a variable by the
$
character.Ifyoudoso(e.g.$1),the
devicewillhandleitastheV1variable.Youcansendthevalueofthevariablee.g.asaTCPmessage.
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