9-6 :FORMat Subsystem LTE Commands
9-12 PN: 10580-00319 Rev. N S412E PM
9-6 :FORMat Subsystem
This subsystem contains commands that determine the formatting of numeric data when it is
transferred.
The format setting affects data in specific commands only. If a command is affected, it is
noted in the command description.
:FORMat[:READings][:DATA] ASCii|INTeger,32|REAL,32
:FORMat[:READings][:DATA]?
Title:
Numeric Data Format
Description:
This command specifies the format in which data is returned in certain
commands.
ASCii format returns the data in comma-separated ASCII format. The
units are the current instrument units. This format requires many more
bytes so it is the slowest format. INTeger values are signed 32-bit
integers in little-endian byte order. This format returns the data in
4-byte blocks. REAL values are 32-bit floating point numbers
conforming to the IEEE 754 standard in little-endian byte order. This
format returns the data in 4-byte binary format. The units are the
current instrument units. Both INTeger and REAL formats return a
definite block length. Each transfer begins with an ASCII header such
as #42204. The first digit represents the number of following digits in
the header (in this example, 4). The remainder of the header indicates
the number of bytes that follow the header (in this example, 2204). You
then divide the number of following bytes by the number of bytes in the
data format you’ve chosen (4 for both INTeger and REAL) to get the
number of data points (in this example, 551).
Parameter:
ASCii|INTeger,32|REAL,32
Parameter Type:
<char>
Default Value:
ASCii