Parameter Types
As you saw m the example command table for SWEep, 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 specifk numeric values, such
as integers, it automatically rounds numeric parameters to fit its needs.
Examples of numeric parameters:
Examples of numeric parameters in commands:
no decinml point required
100
100.
-1.23
leading signs allowed
space allowed am e in eqwnmt.s
we either E or e in exponentials
leading + allowed
digits lq? of decimal point optional
100 OUTPUT @Source; " : FREQuency : STARt l.OE+09"
Getting Started Programming
Essentials for Beginners