2
47
Overview of Remote Control
Sending SCPI command messages
2. Ov
er
vie
w
o
f
R
e
mote Control
Figure 2-10
Using colons and semicolons in command tree
Grammar of messages
This section describes the grammar of program messages sent via GPIB. Program
messages are messages that the user sends to the instrument from the external controller to
control the instrument. A program message consists of one or more commands and their
required parameters.
Upper/lower case sensitivity
Upper/lower case insensitive.
Program message terminator
A program message must be terminated with one of the three program message
terminators: <new line>, <^END>, or <new line><^END>. <^END> indicates that EOI on
the GPIB interface becomes active at the instant when the immediately previous data byte
is sent. For example, the OUTPUT command of HTBasic automatically sends the message
terminator after the last data byte.
Parameter
A space (ASCII code: 32) is required between a command and its first parameter. When
sending several parameters in a single command, separate each parameter with a comma
(,).
Message containing several commands
When sending two or more commands in a single message, separate each command with a
semicolon (;). The following example shows how to send the
command and the
command in a single message using HTBasic.
OUTPUT 717;"*CLS;:STAT:PRES"
Summary of Contents for E5052A
Page 4: ...4 ...
Page 28: ...28 1 Making Effective Use of This Manual How to Use This Manual ...
Page 51: ...3 51 Making a Measurement Trigger System 3 Making a Measurement Figure 3 1 Trigger system ...
Page 58: ...58 3 Making a Measurement Waiting for End of measurement ...
Page 76: ...76 4 Reading Writing Measurement Data Entering Data in a Trace ...
Page 82: ...82 Chapter5 Saving and Recalling File Management Managing Files ...