CONTROL.INI – WEM | SCRIPT ™ CASE STUDIES
Attention!
During execution there is no complex syntax check. Therefore, we recommend using a code editor, such as VSCode 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.
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.
!i1c!rsnl1#
!i1c!cmv28#
!i2c!cfm10<15#
!i2o!cfm28<20#
!i3c!cmv5#
!i3o!cmv28#
1st line: If input 1 is closed (!i1c), the first show (001_SHOW.WM1) will start in loop mode (!rsnl1).
2nd line: If input 1 is closed (!i1c), the level of the volume will be set to 28 (!cmv28).
3rd line: If input 2 is closed (!i2c), then the volume level will fade within 15 seconds from the current volume level to 10 (!cfm10<15).
4th line: If input 2 is open (!i2o), then the volume level will fade within 20 seconds from the current volume level to 28 (!cfm28<20).
5th line: If input 3 is closed (!i3c), then the volume level will change abruptly from the current volume level to 5 (!cmv5).
6th line: If input 3 is open (!i3o), then the volume level will change abruptly from the current volume level to 28 (!cmv28).
Attention!
If you are using a ProCommander® PHX or a ProCommander® LX you have to add a “:” and the number of the audio channel after the !cfmX command.
For example if you want to change the volume of the second audio channel with a fade the command have to look like this !cfm28<10:2#!