Format Commands
FORMat commands specify the format for transferring measurement data.
FORMat[:DATA] ASCII|REAL
FORMat[:DATA]?
Specifies the format of the returned data. This is used by queries that can return a block of data.
ASCII - returns data as ASCII bytes in numeric format as appropriate. The numbers are separated by
commas.
REAL - returns data in a definite length block as IEEE single precision floating point values. In this case
the 4 bytes of each value can be returned in either big-endian or little-endian byte order, determined
by the FORMat:BORDer setting.
Parameter Typical Return
ASCII|REAL, *RST ASCII ASCII or REAL
Sets the data format to ASCII: FORMatASCII
l The data format is used by a small subset of SCPI queries that can return large quantities of data.
These include: FETC:ARR:CURR? and FETC:ARR:VOLT?.
FORMat:BORDer NORMal|SWAPped
FORMat:BORDer?
Specifies how binary data is transferred. This only applies when the FORMat:DATA is set to REAL.
NORMal - transfers data in normal order. The most significant byte is returned first, and the least
significant byte is returned last (big-endian).
SWAPped - transfers data in swapped-byte order. The least significant byte is returned first, and the
most significant byte is returned last (little-endian).
Parameter Typical Return
NORMal|SWAPped, *RST NORMal NORM or SWAP
Sets the data transfer to Swapped: FORM:BORD SWAP
l The byte order is used when fetching real data from SCPI measurements. These include:
FETC:ARR:CURR? and FETC:ARR:VOLT?.
Keysight N6700C Operating and Service Guide 245
5 SCPI Programming Reference