SCPI.PROGram.SELected.STATe

Object Type

Property (Read-Write)

Syntax

SCPI.PROGram.SELected.STATe = Value

Value = SCPI.PROGram.SELected.STATe

Description

This command sets/gets the state of a selected program.

Variable

Parameter

   Value

Description

State of a selected program

Data Type

Character string type (String)

Range

STOP|RUN

Preset Value

STOP

Unit

-

Resolution

-

Preset Effect

No

Save-Recall Effect

No

Error

-286, "Program runtime error" -284, "Program currently running" -282, "Illegal program name" 90, "Failed to stop program"

Examples

Dim Var as String
Var= "STOP"
SCPI.PROGram.SELected.STATe = Var
Var = SCPI.PROGram.SELected.STATe

Related Objects

SCPI.PROGram.SELected.NAME

Equivalent Key

No equivalent key is available on the front panel.

Equivalent SCPI Command

Syntax

:PROGram:SELected:STATe {STOP|RUN}

:PROGram:SELected:STATe?

Query Response

{STOP|RUN} <newline><^END>

Example of use

10 OUTPUT 717;":PROGram:SELected:STATe STOP"
20 OUTPUT 717;":PROGram:SELected:STATe ?"
30 ENTER 717;A$