1257 User Manual
EADS North America Defense
SCPI Command Basics 5-1
Test and Services, Inc.
©
2001
Chapter 5
SCPI COMMAND BASICS
SCPI Command
Overview
The 1257 accepts commands via either the GPIB or serial
interface. 1257 commands follow the rules defined by the
SCPI
standard. SCPI is an acronym for “Standard Commands For
Programmable Instruments”, and defines standard command
names and syntax rules for commands to the instrument and
replies from the instrument.
Input Format
SCPI is an ASCII-based instrument command language designed
for test and measurement instruments. SCPI commands are based
on a hierarchical structure known as a tree system. In this system,
associated commands are grouped together under a common root,
thus forming command subsystems. Throughout this chapter, the
following conventions are used for SCPI command syntax.
Square Brackets ( [ ] )
Enclose optional keywords or
parameters.
Braces ( { } )
Enclose possible parameters
within a command.
Triangle Brackets ( < > )
Substitute a value for the
enclosed parameter.
Vertical Bar ( | )
Separate multiple parameter
choices.
Bold Typeface Letters
Designate factory default values.
(Command Only)
This indicates the command
cannot be used in query form.
(Query Only)
This indicates the command can
only be used as a query. The
command form, without the
question mark is not allowed.