User manual
62 Relay Multiplexer Command Reference Chapter 3
ABORt
The ABORt command 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: The ABORt command terminates a scan in progress by
causing the switchbox to no longer wait for a trigger. When the ABORt
command is executed, the last channel switched during the scan
remains in the position.
Stopping 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 INITiate command to restart the scan.
Related Commands: ARM, INITiate:CONTinuous, [ROUTe:]SCAN,
TRIGger
Example Stopping a Scan with ABORt
This example stops a (continuous) two-wire scan in progress in a
single-module switchbox.
TRIG:SOUR BUS
!Trigger command will be via backplane
(bus) interface (*TRG command
generates trigger)
INIT:CONT ON
!Set continuous scanning
SCAN (@100:107)
!Scan channels 0 to 7 in bank 0
INIT
!Start scan, close channel 0
.
.
.
ABOR
!Abort scan in progress