The command is correct and will not cause errors. It is equivalent to
sending:
: CW 5 GHZ ; :
Example 2:
5 GHZ;
This command results in a command error. The command makes
use of the default [:CW] node. When using a default node, there is
no change to the current path position. Since there is no command
at the root, an error results. A correct way to send this is:
5 GHZ
: MULT
or as in example 1.
Example 3:
2; MULTiplier:STATE ON;
: CW 5
This command results in a command error. The FREQ:CW portion
of the command is missing a leading colon. The path level is dropped
at each colon until it is in the FREQ:MULT subsystem. So when the
FREQ:CW command is sent, it causes confusion because no such
node occurs in the FREQ:MULT subsystem. By adding a leading
colon, the current path is reset to the root. The corrected command
is:
2; MULTiplier:STATE ON;
5
Example 4:
5 GHZ; POWER 4
Notice that in this example the keyword short form is used. The
command is correct. It utilizes the default nodes of
and
Since default nodes do not affect the current path, it is
not necessary to use a leading colon before POWER.
Parameter Types
As you saw in the example command table for
there are
several types of parameters. The parameter type indicates what
kind of values are valid instrument settings. The most commonly
used parameter types are numeric, extended numeric, discrete, and
Boolean. These common types are discussed briefly in the following
paragraphs. The paragraph titled “Details of Commands and
Responses” explains all parameter types in greater depth.
Numeric Parameters.
Numeric parameters are used in both
subsystem commands and common commands. Numeric parameters
accept all commonly used decimal representations of numbers
including optional signs, decimal points, and scientific notation. If an
instrument accepts only specific numeric values, such as integers, it
automatically rounds numeric parameters to fit its needs.
Examples of numeric parameters:
100
no decimal point required
100.
fractional digits optional
- 1 . 2 3
leading signs allowed
space allowed after e in exponents
Getting Started Programming 1-73
Summary of Contents for 8360
Page 97: ......
Page 138: ......
Page 150: ......
Page 318: ......
Page 336: ......
Page 352: ......
Page 360: ......
Page 397: ...2b Menu Maps Menu Maps 2b 1 ...
Page 398: ......
Page 399: ......
Page 400: ......
Page 401: ......
Page 402: ......
Page 403: ......
Page 404: ......
Page 405: ......
Page 406: ......
Page 435: ...Figure 3 3 Removing the Side StraPs and Feet NSTALLATION 3 ...
Page 461: ......
Page 463: ...5 4 Change B HP 8380 User s Handbook ...
Page 467: ...5 8 Change A HP 8360 User s Handbook ...
Page 481: ...optioll9l3RackFhgeKit 5 22 Change A HP 8360 User s Handbook ...