beautypg.com

Details of commands and responses, In this subsection, Program message syntax – HP 8360 User Manual

Page 109

background image

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

illustrates the simplified syntax of a program message.

subsystem command

NOTES:

line>

= ASCII character decimal 10

“END = EOI asserted concurrent with last byte

Figure

Simplified Program Message Syntax

As Figure

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