Agilent Technologies 86100-90086 Sprinkler User Manual


 
1-24
Introduction
Command Syntax
.
White Space White space is defined to be one or more characters from the ASCII set of 0 through 32 deci-
mal, excluding 10 (NL). White space is usually optional, and can be used to increase the read-
ability of a program.
Combining
Commands
You can combine commands from the same subsystem provided that they are both on the
same level in the subsystem’s hierarchy. Simply separate the commands with a semi-colon (;).
If you have selected a subsystem, and a common command is received by the instrument, the
instrument remains in the selected subsystem. For example, the following commands turn
averaging on, then clears the status information without leaving the selected subsystem.
":ACQUIRE:AVERAGE ON;*CLS;COUNT 1024"
You can send commands and program queries from different subsystems on the
same line. Simply precede the new subsystem by a semicolon followed by a colon.
Multiple commands may be any combination of compound and simple commands. For exam-
ple:
:CHANNEL1:RANGE 0.4;:TIMEBASE:RANGE 1
Adding
parameters to a
command
Many commands have parameters that specify an option. Use a space character to separate
the parameter from the command as shown in the following line:
OUTPUT 720;”:INIT:CONT ON”
Separate multiple parameters with a comma (,). Spaces can be added around the commas to
improve readability.
OUTPUT 720;”:MEAS:SCAL:POW:FREQ? 1300, MAX”
String Arguments Strings contain groups of alphanumeric characters which are treated as a unit of data by the
instrument. You may delimit embedded strings with either single (') or double (") quotation
marks. These strings are case-sensitive, and spaces act as legal characters just like any other
character. For example, this command writes the line string argument to the instrument’s
advisory line:
:SYSTEM:DSP ""This is a message.""
Table 1-6. Long and Short Command Forms
Long Form Short Form How the Rule is Applied
RANGE RANG Short form is the first four characters of the keyword.
PATTERN PATT Short form is the first four characters of the keyword.
DISK DISK Short form is the same as the long form.
DELAY DEL Fourth character is a vowel, short form is the first three characters.