As a start condition, either an “!i: Input event“, “!t: Time event“, “!rc: Real time clock event“, “!v: Variable event“, “!d: DMX event” or “!k: Infrared event” can be used at the beginning of the line only.
Unlimited (within reason) variable evaluations can be used between the start condition and the execution. This is a great way for example to combine inputs etc.
Attention!
During execution there is no complex syntax check. Therefore, we recommend using a code editor, such as VCCode with support for WEM | Script
Only variable conditions can be combined in one line. If you need a combination of several trigger events you have to do this via variables.
** As a start condition either an “!i: Input event“, “!t: Time event“, “!rc: Real time clock event“, “!v: Variable event“, “!d: DMX event” or “!k: Infrared event” can be used.
Attention!
After each “#“-character a new line should be started again, using the “!” syntax to denote the next command
Before you edit your Control.ini., please update always your WEIGL device first with the latest firmware version. In this way you ensure that your device is able to interpret the latest ASCII commands properly.
!v: Variable event
For basic information about the variables read the chapter “Variable” in the instruction manual of the ProCommander®.
After each change of a variable the Control.ini file is checked, if an event is assigned to this variable.
If this condition is true, the downstream command will be executed. As operators > < = ~ are permitted.
Example:
!vcc2=3!…# -> If the value of variable 2 is equal the value of variable 3, then the downstream command will be executed.
!vcv3<11!…# -> If the value of variable 3 is less than the value of variable 11, then the downstream command will be executed.
!vcv80<44!…# -> If the value of variable 80 is greater than the value of variable 44, then the downstream command will be executed.
!vcc4~1!…# -> If the value of variable 4 is unequal to the value of variable 1, then the downstream command will be executed.