
G P - 8 P / G P - 1 6 P S O F T W A R E
page 2 – 6
GPC-3 / Jan 2006
Programming the Panel - Diving Deeper
The panel can also be used to interact directly with the system’s Logic
I/O cards. The help file has an excellent example that shows how to emulate
a mic channel control panel.
In addition, there are several other system interactions that can be accom-
plished with the panel. We will develop an example here that shows those
features and also introduces the Script Wizard.
Begin by selecting File | New to generate a new script. Let’s call this script
WS_Control.ss. Once you’ve specified the script name in the New File dialog
box, the Script Wizard form pops up. Unlike in our earlier example, this time
we will work with the wizard.
To begin with, you will see that Button 1 is highlighted in the tree view in
the left panel. Thus, anything we do in the right panel will apply to button 1.
Let’s program the first button to fire a salvo (in order for this to actually work,
you will need to have one or more salvos defined in the Wheatstone system –
see the Wheatstone BRIDGE Generation Digital Audio Network System
Technical Manual for details on creating salvos). For now, suffice it to say that
you will need to know the number of the salvo you want to fire. Select the Fire
Salvo radio button. You will see two parameters for this function, labeled
Press: and Release: on the form. The help file explains what parameters are
for – here we will just use them. In the box after Press: enter ‘1’ (without the
single quotes) and in the box after Release: enter ‘0’. What this does is to set
up the button so it will fire salvo 1 when it is pressed, and will not fire a salvo
when released. The button will be lit while it is pressed and go out when it is
released.
In the left panel select Button 2. In the right panel select Fire Salvo again.
This time put a ‘2’ in the Press: box and a ‘3’ in the Release: box. When you
are done and the panel is running (a set of circumstances we will begin to
assume as we describe how a button operates in the following paragraphs),
pressing button 2 will fire salvo 2, and releasing the button will fire salvo 3
(assuming that you have created three salvos). This can be a useful feature.
Suppose you have a surface monitor output, such as the CR (Control Room)
output, that normally outputs to a set of powered speakers on the other side of
the room, but you occasionally want to hear the signal being monitored from
a set of nearfield speakers nearby. One way to make this happen is to set up
one salvo to attach the CR output to the normal speakers and disconnect it from
the nearfield speakers, and another salvo to do the opposite. Set up the button
to fire the second of these salvos when pressed and the first when released.
Now when you press the button the nearfield speakers are in operation (and the
normal speakers are silent) and when you release the button the normal
speakers kick in and the nearfields mute. Once again the button is lit while held
and goes out when released.
In the left panel select Button 3 and in the right panel select Momentary
XYC. Let Source: be the signal ID of some audio source in your system
(perhaps 33, which might be a mic signal) and let Destination: be the signal
ID of some audio destination in your system (perhaps 1031, which might be
a surface fader). And let’s say that source 32 normally connects to the fader