Command
:ABORt
This command aborts the current sweep.
Ana.WriteString ":ABOR", True
:TRIG
:TRIG:SING
Trigger > Restart
SCPI.ABORT