1
Introduction to Programming
SCPI Parameter Types
The SCPI language defines several data formats to be used in program
messages and response messages.
Numeric Parameters
Commands that require numeric parameters will accept all commonly used
decimal representations of numbers including optional signs, decimal
points, and scientific notation. Special values for numeric parameters such
as MIN, MAX, and DEF are also accepted. You can also send engineering
unit suffixes with numeric parameters (e.g., M, K, or u). If only specific
numeric values are accepted, the instrument will automatically round the
input numeric parameters. The following command requires a numeric
parameter for the range value:
VOLTage:DC:RANGe {<range>|MIN|MAX}[,(@<ch_list>)]
Discrete Parameters
Discrete parameters are used to program settings that have a limited
number of values (like BUS, IMMediate, EXTernal). They have a short
form and a long form just like command keywords. You can mix upper-
and lower- case letters. Query responses will always return the short form
in all upper- case letters. The following command requires discrete
parameters for the temperature units:
UNIT:TEMPerature {C|F|K}[,(@<ch_list>)]
6
U2300A Series USB DAQ Programming Guide