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.
!tm00:01!rsnl1#
!i1c!cfm8<13#
!i1o!cfm32<27#
1st line: After the first second by switching on the device or inserting the card (!tm00:01), 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 fade to level 8 within 13 seconds (!cfm8<13).
3rd line: If input 1 is open (!i1o), then the current volume level will fade back to the level which is set in the ProCommander® within 27 seconds (!cfm32<27).
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#!