The abort subsystem includes commands that allow the user to stop current measurement activities on the instrument.
:ABORt
Description
Restarts the current sweep and/or measurement. Resets the trigger system. If :INITiate:CONTinuous is OFF (in other words, the instrument is in single sweep mode), then send the command :INITiate[:IMMediate] to trigger the next sweep. If :INITiate:CONTinuous is ON (in other words, then the instrument is in continuous sweep mode) a new sweep will start immediately.