Chapter 1
29
Introduction to Programming X-Series Applications
SCPI Measurement Commands
ASCii - Amplitude values are in ASCII, in the current Y Axis Unit, one ASCII character
per digit, values separated by commas, each value in the form:
SX.YYYYYEsZZ
Where:
S = sign (+ or -)
X = one digit to left of decimal point
Y = 5 digits to right of decimal point
E = E, exponent header
s = sign of exponent (+ or -)
ZZ = two digit exponent
REAL,32 - Binary 32-bit real values in the current Y Axis Unit, in a definite length block.
REAL,64 - Binary 64-bit real values in the current Y Axis Unit, in a definite length block.
Format Data: Byte Order (Remote Command Only)
This command selects the binary data byte order for data transfer and other queries. It
controls whether binary data is transferred in normal or swapped mode. This command
affects only the byte order for setting and querying trace data for the :TRACe[:DATA],
TRACe[:DATA]? , :CALCulate:DATA[n]? and FETCh:SANalyzer[n]? commands and
queries.
By definition any command that says it uses FORMat:DATA uses any format supported by
FORMat:DATA.
The NORMal order is a byte sequence that begins with the most significant byte (MSB)
first, and ends with the least significant byte (LSB) last in the sequence: 1|2|3|4.
SWAPped order is when the byte sequence begins with the LSB first, and ends with the
MSB last in the sequence: 4|3|2|1.
Remote Command
:FORMat:BORDer NORMal|SWAPped
:FORMat:BORDer?
Preset
NORMal