Tel: 886.909 602 109 Email: [email protected]
183
Table 5.4 Types of SCPI Parameter and Response
Parameter Type
Response Data Type
Numeric
Real or Integer
Extended Numeric
Integer
Discrete
Discrete
Boolean
Numeric Boolean
String
String
Block
Definite Length Block
Indefinite Length Block
Non-decimal numeric
Hexadecimal
Octal
Binary
Numeric parameter
Numeric parameters can be used in both instrument-specific commands and common
commands. It receives all common decimal systems including signs, decimal point and scientific
notation. If a certain piece of equipment only receives a specified type of numeric parameter such as
an integer, it will automatically round off the received numeric parameter.
Examples of numeric parameter:
0no decimal point
100
decimal point optional
1.23
with sign digit
4.56e<space>3
space allowed after exponent marker e
-7.89E-01
exponent marker e may be upper or lower case
+256
l allowed
5
decimal point may be leading
Extended numeric parameter
Most measurements related to Instrument-specific commands use extended numeric
parameters to specify the physical quantities. Extended numeric parameters receive all numeric
parameters and additional special values. All extended numeric parameters receive MAXimum and
MINimum as parameter values
。
Other special values, such as: UP and DOWN are received by the
instrument parsing capability. SCPI table will list all valid parameters.
Note: Extended numeric parameters are not applicable to common commands or STATus
subsystem commands.
Examples of extended numeric parameters:
101
Numeric parameter
1.2GHz
GHz may be used an exponent (E009)
200MHz
MHz may be used an exponent (E006)
-100mV
-100 millivolt
10DEG
10 degrees
MAXimum
maximum valid setting
MINimum
minimum valid setting
DOWN
decrease a step