![Omnia Omnia-3 Скачать руководство пользователя страница 88](http://html1.mh-extra.com/html/omnia/omnia-3/omnia-3_installation-and-operation-manual_4012354088.webp)
88
Creating a Trigger Script
Now that the scripting commands have been defined, let’s put them to work to create a Trigger Script. We’ll
make a script to simultaneously change the input source and input levels of both channels.
This procedure can of course be done by manually using the Omnia-3 front panel controls to select a new input
source, then individually adjust the left and right input levels. But a more useful method is to use the Trigger
Script Editor to create two scripts that can be loaded into the processor to run in response to a single relay
contact closure or open. The following scripts do just that.
In scripts, all lines that begin with “syspara” must be followed by two numbers that identify the parameter ID
number that is being set and that ID number's new value. The ID numbers and their settings for the Input
controls are shown in the example below. To list the values and parameter settings for any parameter, type in
sysparavalues followed by a space and then the parameter’s “syspara” number.
(The above “sysparas” table lists all of the available system parameter numbers.)
Trigger Script Example for Switching to AES/EBU Input
In this example, we'll configure Trigger Input # 1 to switch the Omnia-3 to the AES digital input when the
contact closes and switch back to the analog input when it opens again. To compensate for (hypothetical) level
differences between the signals fed to each input, we also set the input levels to –3dB when the AES input is in
use and restore it to 0dB for the analog input. To create this script, open up the Script Editor and click radio
button #1. Now click in the lower edit box to begin entering the Trigger 1 “Trigger Low” script. Type:
syspara 1 2 <enter>
This command sets the processor to use the AES/EBU digital input when it is run. “syspara 1” says to edit the
Input Source. The “2” says to select AES/EBU. Next, type in:
syspara 3 76 <enter>
This command sets the processor’s left input level to –3.0dB when run. “syspara 3” says to edit the Input Left
setting. The “76” says to select –3.0dB. Finally, type in:
syspara 4 76 <enter>
This command sets the processor’s right input level to –3.0dB when run. “syspara 4” says to edit the Input
Right setting. The “76” says to select –3.0dB.
When you are finished, the contents of the Trigger LOW Command Script box should look like:
syspara 1 2
syspara 3 76
syspara 4 76
Trigger Script Example for Switching to Analog Input
Now we'll create a Trigger High Command Script, which will return the Omnia to analog input and set the input
gain to 0.0dB when the switch contacts open. In the Trigger HIGH Command Script box type in:
syspara 1 1
<enter>
This tells the processor to use the Analog input. “syspara 1” says to edit the Input Source. The “1” says to
select Analog. Now type in:
syspara 3 91
<enter>