5.SoftwareControl-LightwareDeviceController
HDMI-TPS-RX110AY series – User's Manual
50
Appliedfirmwarepackage:v1.5.0b3 | LDCsoftware:v2.5.9b2
5.6.11.
Variables
DIFFERENCE:
ThisfeatureisavailableonlyinHDMI-TPS-RX110AY-PlusmodelfromFWpackagev1.5.0b3.
You can create custom variables in number or text format which can be used in the Event Manager. The
variablescanhavethefollowingproperties/methods:
#variables
▪
Numeric(integer)typewithmin/maxvaluesetting,orstring-type(determinedautomatically)
▪
Increment/stepthenumericvalue,
▪
Value-dependentcaseoperations,
▪
ReadingandstoringthevaluesofLW3propertiesintostringornumericvariables.
▪
The max length of a string variable can be 15 characters. Numeric variable is defined between
-2147483648and2147483647.
Thedefinedvariablesarestoredinanon-volatilememoryandthevalueiskeptincaseofareboot.
Variables tab in the Control menu
Value Section
Youcansetthevalueofthevariablebythefield.Thetypeofthevariableisdeterminedautomaticallybased
onitsvalue(numeric/string).
Add / Cycle Section
This section can be used for numeric types.
▪
Operand
:theincrement,thenumberthatwillbeaddedtothecurrentvalue(negativevalueisaccepted).
▪
Min (optional)
:thelowestallowedvalue
▪
Max (optional)
:thehighestallowedvalue
▪
Add
button:theoperandwillbeaddedtothecurrentvalue.Iftheresultwouldbehigherthanthemax
setting, the max will be valid; if the result would be lower than the min setting, the min will be valid
▪
Cycle
button:theoperandwillbeaddedtothecurrentvalue.Iftheresultwouldbebeyondthelimit
(min/max),thevaluewillbesteppedtotheotherendoftheinterval.
Examples
The following shows the difference between the
Add
and the
Cycle
options. The input values are the same
inbothcases:
▪
Min
:1
▪
Max
:5
▪
Operand
:1
In
Add
case:whenthevaluehitsthelimit(max),theoperandwillnotincreasethevalueanymore.
In
Cycle
case:whenthevaluehitsthelimit(max),thevaluewillbesteppedtotheotherendoftheinterval.
Similarcasehappensviceversa:whentheoperandisanegativenumberandthevaluehitstheminvalue.
TIPSANDTRICKS:
Set min=1, max=2, operand=1 and use the
cycle
method. Thus, the value of the variable
canbetoggledwhichcanbelinkedtoapropertywithtwostates(e.g.low/highlevel)inEventmanager.
Case Convert
Thistoolcanbeusedtochangethevalueofavariableifitfitsinanyofthedefinedintervals.Thecheck
and the change will be performed only if you press the
Convert
button. A typical example when two different
rangesofvalueshavetomeet:
Incoming values:
between 0 and 255 (e.g. the slider of a controller can have these values).
Outgoing values:
between 0 and 100 (e.g. the controlled device accepts these values).
Definedcases:
1
2
3
4
5
Add
Add
Add
Add
Add
1
Cycle
2
Cycle
3
Cycle
4
Cycle
5
Cycle
Min
Max
New value
Min
Max
New value
Case 1
1
25
10
Case 6
126
150
60
Case 2
26
50
20
Case 7
151
175
70
Case 3
51
75
30
Case 8
176
200
80
Case4
76
100
40
Case9
201
225
90
Case 5
101
125
50
Case 10
226
255
100