![Lightware UMX-HDMI-140 Скачать руководство пользователя страница 102](http://html1.mh-extra.com/html/lightware/umx-hdmi-140/umx-hdmi-140_user-manual_1915487102.webp)
7. LW3 Programmers’ Reference
UMX-HDMI-140 series– User's Manual
102
Applied firmware package: v1.3.0b5 | LDC software: v2.5.6b2
7.9.6. Querying the Condition Trigger Counter
DIFFERENCE:
This command is available only in UMX-HDMI-140-Plus model from
FW package v1.3.0b5.
This property shows how many times the Condition has been triggered but does not contain the number of
real detections. The counter is reset at boot.
Command and Response
ç
GET·/EVENTS/E
<loc>
.ExternalConditionTriggerCount
æ
pw·/EVENTS/E
<loc>
.ExternalConditionTriggerCount=
<num_value>
Example
ç
GET /EVENTS/E1.ExternalConditionTriggerCount
æ
pw /EVENTS/E1.ExternalConditionTriggerCount=2
7.9.7.
Testing an Action
This tool is for launching the Action without detecting or triggering the Condition.
Command and Response
ç
CALL·/EVENTS/E
<loc>
:ActionTest(1)
æ
mO·/EVENTS/E
<loc>
:ActionTest
Example
ç
CALL /EVENTS/E1:ActionTest(1)
æ
mO /EVENTS/E1:ActionTest
7.10.
Variable-Management
DIFFERENCE:
This feature and the commands are available only in UMX-HDMI-140-Plus model from
FW
package v1.3.0b5.
#new
Custom variables (30 pcs.) can be defined in number or text format which are available also in the Event
Manager. The maximum length of a variable can be 15 characters and they are stored in a non-volatile
memory, thus, the value is kept in case of a reboot. The type of the variable (text or string) is determined
automatically based on the value. If an operation cannot be performed (e.g. adding number value to a string-
type variable), error will be the response.
#variables
7.10.1.
Value Assignment
Command and Response
ç
SET·/CTRL/VARS/V
<loc>
.Value=
<value>
æ
pw·/CTRL/VARS/V
<loc>
.Value=
<value>
Parameters
Parameter
Parameter description
Value
Value description
<loc>
The location of the variable
1-30
<value>
The value of the variable
Custom
Length can be max 15 characters.
Numeric variable is defined between
-2147483648 and 2147483647.
Example
ç
SET /CTRL/VARS/V1.Value=120
æ
pw /CTRL/VARS/V1.Value=120
7.10.2.
Addition and Subtraction (Add Method)
The value of a numeric variable can be increased by adding a positive value or it can be decreased by adding
a negative value. Minimum and maximum values can be defined as limits.
Command and Response
ç
CALL·/CTRL/VARS/V
<loc>
:add(
<operand>
;
<min>
;
<max>
)
æ
mO·/CTRL/VARS/V
<loc>
:add
Parameters
Parameter
Parameter description
Value
Value description
<loc>
The location of the variable
1-30
<operand>
The value that is added to the variable
Integer
Negative value is also accepted
<min>
The lowest allowed value (optional)
Integer
Negative value is also accepted
<max>
The highest allowed value (optional)
Integer
Negative value is also accepted
If the value of the variable is higher or equals with
<max>
, the new value will be
<max>
. Likewise, in case of
<min>
setting: if the value of the variable is lower or equals with
<min>
, the new value will be
<min>
.