Télécharger Imprimer la page

Keysight RP7900 Serie Guide D'utilisation Et D'entretien page 205

Publicité

Les langues disponibles

Les langues disponibles

FORMat Subsystem
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
ASCII|REAL, *RST ASCII
Sets the data format to ASCII: FORMat ASCII
The data format is used by a small sub set of queries that can return large quantities of data.
l
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
NORMal|SWAPped, *RST NORMal
Sets the data transfer to Swapped: FORM:BORD SWAP
The byte order is used when fetching real data from SCPI measurements.
l
Keysight RP7900 Series Operating and Service Guide
Typical Return
ASCII or REAL
Typical Return
NORM or SWAP
5 SCPI Programming Reference
205

Publicité

loading