S331E, S332E, S361E, S362E Site Master™MS2711E, MS2712E, MS2713E Spectrum Master™MT8212E, MT8213E Cell Master™ Programming Manual : LTE Commands : :FORMat Subsystem
 
: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 sets/queries the format in which data are 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