Format Commands - Keysight Technologies N6705C Operating And Service Manual

Dc power analyzer
Table of Contents

Advertisement

7 SCPI Programming Reference

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
ASCII|REAL, *RST ASCII
Sets the data format to ASCII: FORMat ASCII
The data format is used by a small subset of SCPI queries that can return large quantities of data.
l
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
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. These include:
l
FETC:ARR:CURR? and FETC:ARR:VOLT?.
286
Typical Return
ASCII or REAL
Typical Return
NORM or SWAP
Keysight N6705C Operating and Service Guide

Advertisement

Table of Contents
loading

Table of Contents