Keysight B2961A/B2962A SCPI Command Reference, Edition 6 4- 77
Subsystem Commands
PROGram Subsystem
Example :PROG:NAME “program1”
:PROG:DEF #220:SOUR:FUNC:MODE CURR
:PROGram[:SELected]:DELete:ALL
Deletes all programs stored in the program memory.
If any of the programs are in the RUN state, this command causes an error and does
not delete any program.
Syntax :PROGram[:SELected]:DELete:ALL
Example :PROG:DEL:ALL
:PROGram[:SELected]:DELete[:SELected]
Deletes a program stored in the program memory.
Before executing this command, the program must be selected by the
:PROGram[:SELected]:NAME command. Or else, an error occurs.
If any of the programs are in the RUN state, this command causes an error and does
not delete the selected program.
Syntax :PROGram[:SELected]:DELete[:SELected]
Example :PROG:NAME “program1”
:PROG:DEL
:PROGram[:SELected]:EXECute
Executes a program stored in the program memory.
Before executing this command, the program must be selected by the
:PROGram[:SELected]:NAME command. Or else, an error occurs.
If any of the programs are in the RUN state, this command causes an error and does
not execute the selected program.
Syntax :PROGram[:SELected]:EXECute
Example :PROG:NAME “program1”
:PROG:EXEC