DMPA12 Digital Power Amplifier
LECTROSONICS, INC.
• The
remaining values
specify the target of the
function. These values are simply a list of one or
more integers which identifies the thing(s) that are
controlled by the function. The interpretation of the
target values depends on the function that is as-
signed. The functions are as follows:
Analog output gain control
A sequence of zero or more integers in the range
1 to 12. These identify which output channels are
to be controlled by the function.
Increment output gain 1 dB
A sequence of zero or more integers in the range
1 to 12. These identify which output channels are
to be controlled by the function.
Decrement output gain 1 dB
A sequence of zero or more integers in the range
1 to 12. These identify which output channels are
to be controlled by the function.
Recall preset from memory
A single integer value in the range 1 to 24. This
identifies which preset is to be recalled by the
function.
Toggle mute on output
A sequence of zero or more integers in the range
1 to 12. These identify which output channels are
to be controlled by the function.
Momentary mute on output
A sequence of zero or more integers in the range
1 to 12. These identify which output channels are
to be controlled by the function.
Run macro on close
A single integer value in the range 1 to 128. This
identifies which macro is to be run by the function
when the programmable input is asserted.
Run macros on close/open
Two integer values in the range 1 to 128. The first
identifies which macro is to be run by the function
when the programmable input is asserted. The
second identifies which macro is to be run when
the programmable input is subsequently de-as-
serted.
Examples:
REQUEST
RESPONSE
QUERY
prgindef(9)?<CR>
OK {1,3,4,10}<CRLF>
(Function “Analog output gain control” is assigned to
programmable input 9. The output channels under con-
trol are 3, 4, and 10.)
REQUEST
RESPONSE
QUERY
prgindef(2)?<CR>
OK {7,22}<CRLF>
(Function “Run a macro” is assigned to programmable
input 2. Macro number 22 will be run if the program-
mable input is asserted.)
REQUEST
RESPONSE
QUERY
prgindef(4)?<CR>
OK {0}<CRLF>
(No function is assigned to programmable input 4.)
REQUEST
RESPONSE
UPDATE
prgindef(11)={4,5}
<CR>
OK<CRLF>
(Function “Recall preset from memory” is assigned to
programmable input 11. The preset to be recalled is
specified as number 5.)
REQUEST
RESPONSE
UPDATE
prgindef(2)=
{5,1,2,4,5,6}<CR>
OK<CRLF>
(Function “Toggle mute on output” is assigned to pro-
grammable input 2. The outputs to be controlled are
specified as 1, 2, 4, 5, and 6.)
REQUEST
RESPONSE
UPDATE
prgindef(4)={0}<CR> OK<CRLF>
(“No function” is assigned to programmable input 4, so
that asserting it will have no effect.)
prginundef (programmable input un-definition)
This command may be used as an update to un-define
one or more programmable inputs, meaning that it no
longer has any function assigned to it. The data type is
array of integer, with a variable length. The values con-
tained in the array represent the address of a program-
mable input to be un-defined.
Example:
REQUEST
RESPONSE
UPDATE
prginundef={3,4,5}<CR>
OK<CRLF>
(Programmable inputs 3, 4, and 5 will be un-defined.)
prgout (programmable output state)
This command may be used as a query to read a pro-
grammable output state. The programmable output is
specified by using the address syntax. Addresses must
be in the range 1 to 8. The data type is integer, with
the value either “1”, meaning that the output is active,
or “0” meaning that it is not. If the channel address is
wildcarded, then the data type is an array of integer of
size 8.
Examples:
REQUEST
RESPONSE
QUERY
prgout(5)?<CR>
OK 0<CRLF>
QUERY
prgout(*)?<CR>
OK {0,0,1,...,0,0,0}<CRLF>
prgoutdef (programmable output definition)
This command may be used as a query to read a pro-
grammable output definition, or as an update to modify
the definition. The programmable output is specified by