CONTROL.INI – WEM | SCRIPT ™ CASE STUDIES
The content of the Control.ini file looks like this:
Attention!
During execution there is no complex syntax check. Therefore, we recommend using a code editor, such as VSCode with support for WEM | Script
The limit for an input event is one per line!
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.
The content of the Control.ini file looks like this:
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.
!d2=5!rsn1#
!d1>10!rsn2#
!d3<20!rsn3#
1st line: If the value of DMX channel 2 is equal 5 (!d2=5), then show 1 (001_SHOW.WM1) will start in normal mode (!rsn1).
2nd line: If the value of DMX channel 1 is greater than 10 (!d1>10), then show 2 (002_SHOW.WM1) will start in normal mode (!rsn2).
3rd line: If the value of DMX channel 3 is less than 20 (!d3<20), then show 3 (003_SHOW.WM1) will start in normal mode (!rsn3).