![background image](http://html1.mh-extra.com/html/amx/nmx-prs-n7142/nmx-prs-n7142_instruction-manual_2939079066.webp)
Appendix B: NetLinx Control
66
N7142 User Manual
Windowing Processor Pass Through Command Examples
For other commands, the NetLinx String command will interpret any existing N-Series API command. The following sequence of
string commands exemplifies the pass through commands used to set up a quad window with white border of two pixels for
windows 0 and 1 and no border for windows 2 and 3.
SEND_STRING <DEV>, ’winon:0’
SEND_STRING <DEV>, ’set:0:<stream window 0>’
SEND_STRING <DEV>, ’setbordcol:0:255,255,255’
SEND_STRING <DEV>, ’bordon:0’
SEND_STRING <DEV>, ’setbord:0:2,2’
SEND_STRING <DEV>, ’winset:0:0,0,959,539’
SEND_STRING <DEV>, ’setz:0:1’
SEND_STRING <DEV>, ’winon:1’
SEND_STRING <DEV>, ’set:1:<stream window 1>’
SEND_STRING <DEV>, ’setbordcol:1:255,255,255’
SEND_STRING <DEV>, ’bordon:1’
SEND_STRING <DEV>, ’setbord:1:2,2’
SEND_STRING <DEV>, ’winset:1:960,0,1919,539’
SEND_STRING <DEV>, ’setz:1:2’
SEND_STRING <DEV>, ’winon:2’
SEND_STRING <DEV>, ’set:2:<stream window 2>’
SEND_STRING <DEV>, ’setbordcol:2:255,255,255’
SEND_STRING <DEV>, ’bordoff:2’
SEND_STRING <DEV>, ’winset:2:0,540,959,1079’
SEND_STRING <DEV>, ’setz:2:3’
SEND_STRING <DEV>, ’winon:3’
SEND_STRING <DEV>, ’set:3:<stream window 3>’
SEND_STRING <DEV>, ’setbordcol:3:255,255,255’
SEND_STRING <DEV>, ’bordoff:3’
SEND_STRING <DEV>, ’winset:3:960,540,1919,1079’
SEND_STRING <DEV>, ’setz:3:4’
SEND_STRING <DEV>, ’setbkgd:0’
SEND_STRING <DEV>, ’seta:333’
?VIDIN_INPUT <window>
Request the current stream number.
Syntax:
SEND_COMMAND <DEV>, ’?VIDIN_INPUT <window>’
Variables:
window = The target window from 0 to 3.
Examples:
SEND_COMMAND 5002:1:0, ’?VIDIN_INPUT 3’
Command Response:
’VIDIN_INPUT-852’
?AUDIN_INPUT
Request the current audio stream number.
Syntax:
SEND_COMMAND <DEV>, ’?AUDIN_INPUT’
Examples:
SEND_COMMAND 5002:1:0, ’?AUDIN_INPUT’
Command Response:
’AUDIN_INPUT-124’
?AUDOUT_MUTE
Request the state of the audio mute.
Syntax:
SEND_COMMAND <DEV>, ’?AUDOUT_MUTE’
Examples:
SEND_COMMAND 5002:1:0, ’?AUDOUT_MUTE’
Command Response:
’AUDOUT_MUTE-ENABLE’
?VIDOUT_MUTE
Request the state of the Encoder stream
transmission.
Syntax:
SEND_COMMAND <DEV>, ’?VIDOUT_MUTE’
Examples:
SEND_COMMAND 5002:1:0, ’?VIDOUT_MUTE’
Command Response:
’VIDOUT_MUTE-DISABLE’
Native Commands Port 1 (Cont.)
Command
Description