Command Syntax In The Agilent 35670A; Special Syntactic Elements; Calculate[1|2|3|4]:Limit:upper:segment:clearcommand - Agilent Technologies 35670A Manual

Dynamic signal analyzer gpib programming
Hide thumbs Also See for 35670A:
Table of Contents

Advertisement

Command Syntax in the Agilent 35670A

The Agilent 35670A uses program messages and response messages to communicate with other devices
on the GPIB. This section describes the syntax elements used in the command reference chapters. It also
describes the general syntax rules for both kinds of messages.
Note
For a more detailed discussion of message syntax, including example program listings,
refer to the GPIB Programmer's Guide.

Special Syntactic Elements

Several syntactic elements have special meanings:
colon (:) — When a command or query contains a series of keywords, the keywords are separated by
colons. A colon immediately following a keyword tells the command parser that the program
message is proceeding to the next level of the command tree. A colon immediately following a
semicolon tells the command parser that the program message is returning to the base of the
command tree. For more information, see "Programming with GPIB Commands" in the GPIB
Programmer's Guide.
semicolon (;) — When a program message contains more than one command or query, a semicolon is
used to separate them from each other. For example, if you want to autorange the analyzer's inputs
and then start a measurement using one program message, the message would be:
SENSE:VOLT:RANGE:AUTO ONCE;:ABORT;:INITIATE:IMMEDIATE
comma (,) — A comma separates the data sent with a command or returned with a response. For
example, the SYSTEM:TIME command requires three values to set the analyzer's clock: one for
hours, one for minutes, and one for seconds. A message to set the clock to 8:45 AM would be:
SYSTEM:TIME 8,45,0
<WSP> — One white space is required to separate a program message (the command or query) from
its parameters. For example, the command "SYSTEM:TIME 8,45,0" contains a space between the
program header (SYSTEM:TIME) and its program data (8,45,0). White space characters are not
allowed within a program header.
For more information, see "GPIB Message Syntax" in the GPIB Programmer's Guide.
Command Syntax in the Agilent 35670A
2-5

Advertisement

Table of Contents
loading

Table of Contents