Manual

WM-RCM-E Rev D ISSUED: February 2005
81
P
ART
T
WO
:
COMMANDS
Use Commands and Queries
This part of the manual describes the remote control commands and queries recognized by the instrument. All
of them can be executed in either local or remote state.
The commands and queries are listed in alphabetical order according to the long form of their name. For
example, the description of ATTENUATION, whose short form is ATTN, is listed before that of AUTO
SETUP, whose short form is ASET. Each command or query description starts on a new page. The name
(header) is given in both long and short form at the top of the first page of each description.
Queries perform actions such as obtaining information. They are recognized by ? following their headers.
Many commands can be used as queries simply by adding the question mark. In order to find out the correct
form of a command, it is very useful to set up the scope manually to the exact condition that you require, and
then to send a query which corresponds to the required command. The reply from the scope can be copied
into your program as a command.
A brief explanation of the operation performed by the command or query is followed by the formal syntax,
with the full-name header given in lowercase characters and the short form derived from it in uppercase
characters (e.g., DoT_JoiN gives DTJN). Where applicable, the syntax of the query is given with the format
of its response. For each command, a short GPIB example illustrating a typical use is also provided. The GPIB
examples assume that the controller is equipped with a National Instruments interface board, which calls to the
related interface subroutines in BASIC, though the principles will be similar in other languages. The device
name of the oscilloscope is defined as SCOPE% in the examples, but you can substitute any valid device
name.
Use the two tables that precede the descriptions to quickly find a command or query. The first of these lists the
commands and queries in alphabetical order according to their long form. The second table groups them
according to the subsystem or category they belong to.
COMMAND NOTATION
The following notation is used in the commands:
<
<
>
>
Angular brackets enclose words that are used as placeholders, of which there are two types: the header
path and the data parameter of a command.
:
:
=
=
A colon followed by an equals sign separates a placeholder from the description of the type and range
of values that can be used in a command instead of the placeholder.
{
{
}
}
Braces enclose a list of choices, one of which must be made.
[
[
]
]
Square brackets enclose optional items.
An ellipsis indicates that the items left and right of it can be repeated any number of times.