User Guide

129
Standard NetLinx API (SNAPI) R 1.8.0
Switcher
Component
Name: Switcher
Interface: ISwitcherComponent
ISwitcherComponent
Component Functions:
Name: Channel: Level: Command: Constant: Notes:
getInput(sl,output) ?INPUT-[<sl>,]<output> Query for the input connected to an output, respond with SWITCH-L<sl>I<input>O<out-
put> where <sl> is ALL, VIDEO, or AUDIO and <input> is 0 if there is no connection.. If
<sl> is not supplied, ALL will be assumed.
getOutput(sl,input) ?OUTPUT-[<sl>,]<input> Query for the outputs connected to an input, respond with SWITCH-
L<sl>I<input>O<output>,<output>Ö where <sl> is ALL, VIDEO, or AUDIO and <out-
put> is 0 if there is no connection. If <sl> is not supplied, ALL will be assumed.
getSwitcherPreset() ?SWITCHPRESET Query for switcher preset, responds with SWITCHPRESET-<preset>
saveSwitcherPreset(pre-
set)
SWITCHPRESETSAVE-<preset> Save switcher preset where <preset> is 1-x and x is the maximum supported preset
(see specific module documentation)
setSwitcherPreset(pre-
set)
SWITCHPRESET-<preset> Recall switcher preset where <preset> is 1-x and x is the maximum supported preset
(see specific module documentation)
switchInputToOut-
put(ALL,input,output[])
CI<input>O<output,outputÖ> Switch <input> to one or more <output>s for switcher level All. Use <input> 0 for dis-
connect.
switchInputToOut-
put(AUDIO,input,out-
put[])
AI<input>O<output,output,Ö> Switch <input> to one or more <output>s for switcher level Audio. Use <input> 0 for
disconnect.
switchInputToOut-
put(sl,input,output[])
CL<sl>I<input>O<output,outputÖ> Switch <input> to one or more <output>s where <sl> is ALL, VIDEO, or AUDIO. Use
<input> 0 for disconnect.
switchInputToOut-
put(VIDEO,input,out-
put[])
VI<input>O<output,output,Ö> Switch <input> to one or more <output>s for switcher level Video. Use <input> 0 for
disconnect.
Listener
Name: Switcher Listener
Interface: ISwitcherComponentListener
ISwitcherComponentListener
Listener Functions:
Name: Channel: Level: Command: Constant: Notes:
processSwitcherPre-
setEvent
SWITCHPRESET-<preset> Switcher preset changed, where <preset> is 1-x and x is the maximum supported pre-
set (see specific module documentation)
processSwitchEvent SWITCH-L<sl>I<input>O<output> Switch connections changed, where <sl> is ALL, VIDEO, or AUDIO and <input> is 0 if
there is no connection.