HP 8360 User Manual

Page 103

Advertising
background image

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

Advertising