Examples of numeric parameters:
100
no decimal point required
100.
fractional digits optional
-1.23
leading signs al lowed
4.56e<space>3
space al lowed after e in exponents
-7.89E-01
use either E or e in exponentials
+256
leading + al lowed
.5
digits left of decimal point optional
Examples of numeric parameters in commands:
100 OUTPUT @Source;":FREQuency:STARt 1.0E+09"
110 OUTPUT @Source;":LIST:FREQuency 10.0e+9,1e+7"
Extended Numeric Parameters.
Most measurement related
subsystems use
extended numeric
parameters to sp ecify physical
quantities. Extended numeric parameters accept all numeric
parameter values and other sp ecial values as well. All extended
numeric parameters accept
MAXimum
and
MINimum
as values. Other
special values, suchas
UP
and
DOWN
maybe available as documented
in the instrument's command summary. Some instruments also
let you to send engineering units as suxes to extended n
umeric
parameters. The SCPI Command Summary lists the suxes
available, if any. Note that extended numeric parameters are not
used for common commands or
STATus
subsystem commands.
Examples of extended numeric parameters:
100.
any simple numeric values
-1.23
4.56e<space>3
-7.89E-01
+256
.5
MAX
largest valid setting
MIN
valid setting nearest negative innity
Examples of extended numeric parameters in commands:
100 OUTPUT @Source;":FREQuency:STOP MAX"
110 OUTPUT @Source;":LIST:FREQuency MAX,MIN"
1-74 Getting Started Programming