
DMTH4
LECTROSONICS, INC.
56
prgout (programmable output state)
This command is used as a query to read a program-
mable 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 a wildcard, then the
data type is an array of integer of size 8.
Examples:
Request
Response
Query
prgout(3)?<CR>
OK 20<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
using the address syntax. Addresses must be in the
range 1 to 8. The data type is array of integer, with a
variable length. The values contained in the array repre-
sent the definition of a programmable output, using the
following scheme:
• The first integer is a code that specifies the function
that is assigned to the programmable output. It may
be in the range 0 to 2, with the following meanings:
0 - No Function Assigned
1 - Monitor audio input activity
2 - Monitor active preset
3 - Monitor TEL interface state
4 - Monitor CODEC interface state
• The choice of function determines what conditions
or events control the state of the programmable out-
put. The choice of function affects the interpretation
of the subsequent values in the array, which identify
the event source which is monitored by the function.
• The remaining values specify the source 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
source values depends on the function that is as-
signed:
Function
Target Values
Monitor audio input activity
A single integer in the range 1 to 11,
followed by a sequence of zero or more
integers in the range 1 to 16. The first
identifies which NOM bus (audio output
channel) is to be referenced by the
function. The special value 25 has the
meaning “ANY Output Channel”. The
integers that follow identify the audio
input channels that are to be monitored.
Monitor programmable
A single integer in the range 1 to 24.
input state
This identifies which programmable
input is monitored by the function.
Examples:
Request
Response
Query
prgoutdef(8)?<CR> OK{3,1,3,4}<CRLF>
(Function “Monitor active
preset” is assigned to
programmable input 8.
The input channels under
control are 1, 3 and 4.)
Query
prgoutdef(1)?<CR> OK{2,3}<CRLF>
(Function “Monitor
programmable input state”
is assigned to program
mable output 1. The logical
state of programmable input
3 is being monitored.)
Update
prgoutdef
(1)={2,5}<CR>
(Function “Monitor
programmable input state”
is assigned to programmable
output 1. The programmable
input being monitored is
specified as number 5.)
OK<CRLF>
Update
prgoutdef(2)=
{3,1,2,4}<CR>
(Function “Monitor active
preset” is assigned to
programmable output 2.
The presets to be monitored
are specified as 1, 2, and 4.)
OK<CRLF>
Update
prgoutdef(4)={0}<CR>
(“No function” is assigned
to programmable output 4,
so that it will become inactive.)
OK<CRLF>
prgoutiv (programmable output invert)
This command is used as a query to read the program-
mable output invert status, or as an update to set the
status. The programmable output is specified by using
the address syntax. Addresses must be in the range 1 to
8. The data type is integer, either “1” meaning that the
programmable output is inverted (contacts open when
asserted), or “0” meaning that it is not (contacts closed
when asserted, the normal case). If the address is wild-
carded, then the data type is an array of integer of size
16. In this case the value 99 may be used in an update
to indicate that a particular programmable output invert
state is to remain unchanged by the command.
Examples:
Request
Response
Query
prgoutiv(3)? <CR>
OK 0<CRLF>
Query
prgoutiv(*)? <CR>
OK{0,1,0
...,0,0,0}<CRLF>
Update
prgoutiv(2)=1<CR> OK<CRLF>
Update
prgoutiv(*)={0,5,0,
...,99,99,99}<CR> OK<CRLF>