User`s manual
62 Relay Matrix Switch Command Reference Chapter 3
TRIGger
The TRIGger subsystem controls the triggering operation of relay matrix
modules in a switchbox.
Subsystem Syntax TRIGger
[:IMMediate]
:SOURce <source>
:SOURce?
TRIGger[:IMMediate]
TRIGger[:IMMediate] causes a trigger event to occur when the defined
trigger source is TRIGger:SOURce BUS or TRIGger:SOURce HOLD.
Comments Executing the TRIGger[:IMMediate] Command: A channel list must be
defined with [ROUTe:]SCAN<channel_list> and an INITiate[:IMMediate]
command must be executed before TRIGger[:IMMediate] will execute.
BUS or HOLD Source Remains: If selected, the TRIGger:SOURceBUS or
TRIGger:SOURceHOLD commands remain in effect after triggering a
switchbox with the TRIGger[:IMMediate] command.
Related Commands: INITiate, [ROUTe:]SCAN
Example Advancing Scan Using TRIGger Command
This example scans a single-module switchbox from channel 00 through
03. Since TRIGger:SOURce HOLD is set, the scan is advanced one
channel each time TRIGger is executed.
TRIG:SOUR HOLD
!Sets trigger source to HOLD
SCAN (@10000:10003)
!Defines channel list
INIT
!Begin scan, close channel 00
loop statement
!Start count loop
TRIG
!Advance scan to next channel
increment loop
!Increment loop count