Keysight B2961A/B2962A SCPI Command Reference, Edition 6 4- 75
Subsystem Commands
PROGram Subsystem
:PROGram:PON:RUN
Enables or disables the power-on program. The specified program automatically
runs with each power-on. The program is specified by the
:PROGram:PON:COPY
command.
Syntax :PROGram:PON:RUN mode
mode 1|ON|0|OFF (default). Parameter data type is boolean.
mode=1 or ON enables power-on program.
mode=0 or OFF disables power-on program.
Query response mode <newline>
mode is 0 or 1, and indicates that the power-on program is disable or enable,
respectively. Response data type is NR1.
Example :PROG:PON:RUN 1
:PROG:PON:RUN?
:PROGram[:SELected]:APPend
Adds a program code to the end of 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.
Syntax :PROGram[:SELected]:APPend program_code
Parameter program_code Program code. Up to 256 byte per execution. Sum of all
program size in the program memory must be up to 100 KB.
Parameter data type is block. Both definite length block and
indefinite length block are available. Program code cannot
contain control characters except for the trailing linefeed.
See the :PROGram[:SELected]:DEFine command for details.
Example :PROG:NAME “program1”
:PROG:APP #213:OUTP:STAT ON
:PROGram[:SELected]:DEFine
Defines a program in the program memory by entering the initial program code.