Agilent 4155C/4156C SCPI Command Reference, Edition 1 5-287
SCPI Commands
:PROG[:SELected]:STATe
Example OUTPUT @Hp4155;":PROG:NUMB A,5"
OUTPUT @Hp4155;":PROG:NUMB 'Ab',5,5,5,5,5"
OUTPUT @Hp4155;":PROG:NUMB? A"
ENTER @Hp4155;B
OUTPUT @Hp4155;":PROG:NUMB? 'Ab'"
ENTER @Hp4155;Ab(*)
:PROG[:SELected]:STATe
This command is used to set the state or query the state of the downloaded program.
The following table shows the result of setting the STATe for each of the possible
current states.
Syntax :PROG [ :SELected ] :STATe RUN | PAUSe | STOP | CONTinue
Query response RUN | PAUS | STOP <newline><^END>
Example OUTPUT @Hp4155;":PROG:STAT RUN"
OUTPUT @Hp4155;":PROG:STAT?"
ENTER @Hp4155;A$
desired state
current state
RUNNING PAUSED STOPPED
RUN error (-221) RUNNING RUNNING
CONT error (-221) RUNNING error (-221)
PAUSE PAUSED PAUSED STOPPED
STOP STOPPED STOPPED STOPPED