:PROGram[:SELected]:STATe

No equivalent COM Commands

Syntax

:PROGram[:SELected]:STATe {STOP|RUN}

:PROGram[:SELected]:STATe?

Description

This command sets/gets the control/state of the VBA macro selected with the :PROG:STAT command.

Variable

Range

STOP: Stop the program.

RUN: Run the Program.

Preset value

STOP

Query response

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

Example of use

10 OUTPUT 717;":PROG:STAT RUN"

20 OUTPUT 717;":PROG:STAT?"

30 ENTER 717;A$

Related commands

:PROG:NAME

Equivalent key

Macro Break (to stop)

Macro Setup > Select Macro (to run)