User`s manual
40 Relay Matrix Switch Command Reference Chapter 3
ABORt
The ABORt command subsystem stops a scan in progress when the
scan is enabled via the interface and the trigger source is
TRIGger:SOURce BUS or TRIGger:SOURce HOLD.
Subsystem Syntax ABORt
Comments ABORt Actions: ABORt stops the scan and invalidates the current
channel_list.
Stopping a Scan Enabled Via Interface: When a scan is enabled via an
interface, an interface CLEAR command (CLEAR 7) can be used to stop
the scan. When the scan is enabled via the interface and TRIG:SOUR
BUS or HOLD is set, you can use ABORt to stop the scan.
Restarting a Scan: Use the INIT command to restart the scan.
Related Commands: ARM, INITiate:CONTinuous, [ROUTe:]SCAN,
TRIGger
Example Stopping a Scan with ABORt
This example stops a (continuous) scan in progress.
TRIG:SOUR BUS
! *TRG command is trigger source
INIT:CONT ON
! Set continuous scanning
SCAN (@10000:10003)
! Scan channels 00-03
INIT
! Start scan, close channel 00
.
.
ABOR
! Abort scan in progress.