9 Programming the Instrument
9.3 SCPI Operation and Results Query
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
9.3.3.4 Format Data: Byte Order (Remote Command Only)
Selects the binary data byte order for data transfer and other queries.
Controls whether binary data is transferred in normal or swapped mode. Affects only
the byte order for setting and querying trace data for :TRACe[:DATA], :TRACe
[:DATA]? , :CALCulate:DATA[n]? and :FETCh:SANalyzer[n]?.
By definition, any command that depends on this setting uses any format supported
by :FORMat:DATA.
–
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
9.3.3.5 Calculate/Compress Trace Data Query (Remote Command Only)
Returns compressed data for the currently selected measurement and sub-opcode
[n].
n = any valid sub-opcode for that measurement. See the
:MEASure:<measurement>? query description of your specific measurement for
information on the data that can be returned.
The data is returned in the current Y Axis Unit of the instrument. The command is
used with a sub-opcode <n> (default = 1) to specify the trace. With trace queries, it
is best if the instrument is not sweeping during the query. Therefore, it is generally
advisable to be in Single sweep, or Update = Off.
This command is used to compress or decimate a long trace to extract and return
only the desired data. A typical example would be to acquire N frames of GSM data
and return the mean power of the first burst in each frame. The command can also
be used to identify the best curve fit for the data.
Remote
Command
:CALCulate:DATA<n>:COMPress? BLOCk | CFIT | MAXimum | MINimum | MEAN | DMEan
| RMS | SAMPle | SDEViation | PPHase [,<soffset>[,<length>[,<roffset>
[,<rlimit>]]]]
2761 Spectrum Analyzer Mode User's &Programmer's Reference