Grammar Of Messages - Agilent Technologies E5052A Programmer's Manual

Signal source analyzer
Hide thumbs Also See for E5052A:
Table of Contents

Advertisement

Overview of Remote Control
Sending SCPI command messages
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 *CLS command and the
:STATus:PRESet command in a single message using HTBasic.
OUTPUT 717;"*CLS;:STAT:PRES"
2
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents