Matrix Modules Command Reference 75Chapter 4
TRIGger
The TRIGger command subsystem controls the triggering operation of
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 TRIGger[:IMMediate]: Before TRIGger[:IMMediate] will execute,
a channel list must be defined with [ROUTe:]SCAN <channel_list> and an
INITiate[:IMMediate] must be executed
BUS or HOLD Source Remains: If selected, TRIGger:SOURce BUS or
TRIGger:SOURce HOLD remains in effect after triggering a switchbox with
TRIGger[:IMMediate].
Related Commands: INITiate, [ROUTe:]SCAN
Example Advancing Scan Using TRIGger
This example scans a single-module switchbox from channel 10000 through
10003. Since TRIGger:SOURce HOLD is set, the scan is advanced one
channel each time TRIGger is executed.
TRIG:SOUR HOLD
! Set trigger source to HOLD
SCAN(@10000:10003)
! Define channel list
INIT
! Begin scan, close channel 10000
loop statement
! Start count loop
TRIG
! Advance scan to next channel
increment loop
! Increment loop count