Chapter 5 243
Language Reference
FORMat Subsystem
FORMat Subsystem
The FORMat subsystem sets a data format for transferring numeric and array
information. TRACe[:DATA] and TRACe[:DATA]? are affected by FORMat
subsystem commands.
Byte Order
:FORMat:BORDer NORMal|SWAPped
:FORMat:BORDer?
This command selects the binary data byte order for data transfer. 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] and query :TRACe[:DATA]? commands.
NOTE Normal mode is when the byte sequence 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 mode is when the byte sequence begins with the LSB first, and
ends with the MSB last in the sequence: 4|3|2|1.
Factory Preset
and *RST: Normal
Numeric Data format
:FORMat[:TRACe][:DATA]ASCii|INTeger,32|REAL,32|
REAL,64|UINTeger,16
:FORMat[:TRACe][:DATA]?
This command changes the format of the trace data input and output. It affects only
the data format for setting and querying trace data for the :TRACe[:DATA] and
query :TRACe[:DATA]? commands.
NOTE This command specifies the formats used for trace data during data transfer across
any remote port.
For corrected trace data (:TRACe[:DATA] with parameter <trace_name>),
REAL, and ASCii formats will provide trace data in the current amplitude units.
INTeger format will provide trace data in mdBm. The fastest mode is
INTeger,32.
For uncorrected trace data (:TRACe[:DATA] with parameter RAWTRACE),
UINTeger, and INTeger formats apply to RAWTRACE queries, and return
uncorrected ADC values. The fastest mode is UINTeger,16.
For state data, the format cannot be changed. It is always in a machine readable
format only (machine units).