2 Command Structure
K0472 Revision A
2-4
2.4
SCPI Data Types
A variety of data types can be sent to the instrument as parameters or sent out from the
instrument as response data.
Decimal Data
All normal decimal expressions are accepted including optional signs, decimal point and
scientific notation.
Note:
This includes floating point data.
The following are valid:
123
45.67
-2.6
4.6e-10
.76
A suffix multiplier can be added to the numeric value.
:SOUR 100 m
would set the programmable output to 0.1 units (100m units).
The multipliers supported are:
Mnemonic
Multiplier
A
1e-18
G
1e+9
K
1e+3
M
1e-3
T
1e+12
If a real value is sent to the instrument when an integer is expected, it will be rounded to an
integer.
Integer Data
Integer data are whole numbers (containing no decimal places). A query of an integer value
returns numbers containing no decimal places.
Note:
Integer values can be specified in binary, octal or hexadecimal formats using the suffix letters
(upper or lower case) B, Q and H respectively.
e.g., #B1010
binary representation of 10
#Q71
octal representation of 57
#HFA
hexadecimal representation of 250
Hexadecimal digits A-F can be in upper or lower case.