beautypg.com

AMETEK SFA Series Ethernet Programming User Manual

Page 112

background image

SCPI Command Operation

SG Series Programming

6-40

M550129-03 Rev K

Command

Description

SCPI

:NAME “sequence
name”

Performs one of two possible actions. Either selects an
already existing sequence for use. (See the

PROG:CAT?

command for a list of saved sequences

that may be selected.) Or provides a name for a new
sequence. The action that is performed depends upon
the “sequence name” and whether is already exists in
sequence memory or not. A sequence name must not
be longer than 15 characters. After naming a new
sequence, the sequence is in the EMPTY state. The
next required action to the sequence is to use the

MALLocate

command to allocate memory for the newly

named sequence. After the

MALLocate

command is

issued, the new sequence goes from the EMPTY state
to the EDIT state.

C

:NAME?

Returns the name of the presently selected sequence.
If no sequence is presently selected, such as occurs
after a

*RST

command, then the default sequence will

be TEST01.

C

:STATe name>

Provides a means to change the state of a sequence.
The states that may be issued are as follows: RUN,
RESUME, PAUSE, STOP, and COMPLETE.
A table showing allowable state transitions:


requeste
d

present

RUN

RESUM
E

PAUSE STOP

COMPL

RUNNIN
G

*error*

*error*

PAUSE
D

STOPP
ED

*error*

PAUSE
D

*error*

RUNNIN
G

PAUSE
D

STOPP
ED

*error*

STOPP
ED

RUNNIN
G

*error*

STOPP
ED

STOPP
ED

*error*

EDIT

*error*

*error*

*error*

*error*

STOPP
ED

EMPTY *error*

*error*

*error*

*error*

*error*

ERROR *error*

*error*

*error*

*error*

*error*

INITIALI
ZE

*error*

*error*

*error*

*error*

*error*

N