Details of
Commands and
Responses
In This Subsection
This subsection describes the syntax of SCPI commands and
responses. It provides many examples of the data types used for
command parameters and resp onse data. The following topics are
explained:
Program Message
Syntax
These paragraphs explain how to prop erly
construct the messages you send from the
computer to instruments.
Response Message
Syntax
These paragraphs discuss the format of
messages sent from instruments to the
computer.
SCPI Data Types These paragraphs explain the types of data
contained in program and resp onse messages.
Program Message
Syntax
These paragraphs examine the construction of SCPI program
messages in more detail. Recall that program messages are the
messages you send from the computer to an instrument. These
program messages contain commands combined with appropriate
punctuation and program message terminators. Figure 1-29
illustrates the simplied syntax of a program message.
Figure 1-29. Simplified Program Message Syntax
As Figure 1-29 shows, you can send common commands and
subsystem commands in the same message. If you send more than
one command in the same message, you must separate them with
1-80 Getting Started Programming