User manual
66 Relay Multiplexer Command Reference Chapter 3
Example Enabling Continuous Scanning
This example enables continuous scanning of bank 3, channels 0
through 7 of a switchbox. Since TRIGger:SOURce IMMediate (default) is
set, the example uses an interface clear command (CLEAR 7) to stop the
scan.
INIT:CONT ON
!Enable continuous scanning
SCAN (@130:137)
!Scan channels 0 to 7 in bank 3
INIT
!Start scan, close channel 0
.
CLEAR 7
!Stop scan cycle
INITiate:CONTinuous?
INITiate:CONTinuous? queries the scanning state. With continuous
scanning enabled, the command returns "1" (ON). With continuous
scanning disabled, the command returns "0" (OFF).
Example Query Continuous Scanning State
This example enables continuous scanning of a switchbox and queries
the state. Since continuous scanning is enabled, INIT:CONT? returns
"1".
INIT:CONT ON
!Enable continuous scanning
INIT:CONT?
!Query continuous scanning state
INITiate[:IMMediate]
INITiate[:IMMediate] starts the scanning process and closes the first
channel in the channel list. Successive triggers from the source specified
by the TRIGger:SOURce command advance the scan through the
channel list.
Comments Starting the Scanning Cycle: The INITiate:IMMediate command starts
scanning by closing the first channel in the channel list. Each trigger
received advances the scan to the next channel in the channel list.
An invalid channel list definition causes an error (see [ROUTe:]SCAN).
Stopping Scanning Cycles: See the ABORt command.