Keysight B2961A/B2962A SCPI Command Reference, Edition 6 4- 79
Subsystem Commands
PROGram Subsystem
:PROG:SEL:STAT?
Table 4-3 Execution Status Changed by :PROG:STAT Command
:PROGram[:SELected]:WAIT?
Blocks other commands until the program execution status changes to Paused or
Stopped.
Syntax :PROGram[:SELected]:WAIT? timeout
Parameter timeout Timeout value, in seconds. Parameter data type is NRf+.
Query response status <newline>
status returns 1 if the execution status changes to Paused or Stopped within the
specified timeout, or 0 if a timeout occurs and the status is still in Running.
Response data type is NR1.
Example :PROG:WAIT? 1
:PROGram:VARiable
Sets a value to the variable specified by h.
Variables can be used in the memory program. They must be expressed as %h% (h:
integer. 1 to 100) in the memory program.
Syntax :PROGram:VARiable[h] value
:PROGram:VARiable[h]?
operation
Present execution status
Running Paused Stopped
RUN Error to Running to Running
PAUSe to Paused Paused Stopped
STEP Error to Running to Paused to Running to Paused
STOP to Stopped to Stopped Stopped
CONTinue Error to Running Error