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 response data. The following topics are
explained:
Program Message
These paragraphs explain how to properly
Syntax
construct the messages you send from the
computer to instruments.
Response Message These paragraphs discuss the format of
Syntax messages sent from instruments to the
computer.
SCPI Data Types
These paragraphs explain the types of data
contained in program and response messages.
Program Message
These paragraphs examine the construction of SCPI program
Syntax
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
l-29
illustrates the simplified syntax of a program message.
)
subsystem command
NOTES:
<new
line> = ASCII character decimal 10
“END =
EOI asserted concurrent with last byte
Figure
j-29.
Simplified Program Message Syntax
As Figure
l-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
Getting Started Programming
l-79