Example
Syntax
Query response
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.
desired state
RUNNING
RUN
error (-221)
CONT
error (-221)
PAUSE
PAUSED
STOP
STOPPED
:PROG [ :SELected ] :STATe RUN | PAUSe | STOP | CONTinue
RUN | PAUS | STOP <newline><^END>
OUTPUT @Hp4155;":PROG:STAT RUN"
OUTPUT @Hp4155;":PROG:STAT?"
ENTER @Hp4155;A$
Agilent 4155C/4156C SCPI Command Reference, Edition 1
:PROG[:SELected]:STATe
current state
PAUSED
STOPPED
RUNNING
RUNNING
RUNNING
error (-221)
PAUSED
STOPPED
STOPPED
STOPPED
SCPI Commands
5-287