Command Reference
R&S
®
ZNA
987
User Manual 1178.6462.02 ─ 12
Note:
The format setting is only valid for commands and queries whose description
states that the response is formatted as described by
FORMat[:DATA]
. In particular, it
affects trace data transferred by means of the commands in the
TRACe:...
system.
Parameters:
<TransferFormat>
ASCii | REAL
ASCii - numeric data is transferred as ASCII bytes. The numbers
are separated by commas as specified in IEEE 488.2.
REAL - Data is transferred in a definite length block as IEEE
floating point numbers of the specified <Length>. See
ter 7.2.3.5, "Block Data Format"
Note:
If binary data is transferred to the analyzer, the receive
terminator should be set to EOI (
EOI
) to avoid inadvertent inter-
ruption of the data transfer.
<Length>
The optional <Length> parameter is needed for REAL format
only. It defines the length of the floating point numbers in bits.
Valid values are 32 and 64.
*RST:
ASCII. The default length of REAL data is 32 bits
(single precision).
Example:
FORM REAL, 32
Select real data format.
SYST:COMM:GPIB:RTER EOI
Set the terminator to EOI.
(During a calibration) ... CORR:CDAT?
'REFLTRACK',1,0
Query a system error correction term. The data is transferred in
a definite length block which can be written to a file; the analyzer
displays the message "<no> bytes binary data received".
FORMat:BORDer
<ByteOrder>
Controls whether binary data is transferred in normal or swapped byte order.
Parameters:
<ByteOrder>
NORMal | SWAPped
NORMal - the most significant byte is transferred first (big
endian).
SWAPped - the least significant byte is transferred first (little
endian).
*RST:
SWAPped (if the GPIB Language is set to PNA or
HP xxxx, then the order is NORMal)
Example:
FORM:BORD NORM
Change the byte order to normal mode.
Manual operation:
See
SCPI Command Reference