LMR Masterâ„¢ S412E Programming Manual : PTC-ACSES 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]?
Description
This command specifies 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.
INTeger,32 values are always multiplied by a factor of 1e3 for precision. For example, if the measured result were -120.345 dBm, then that value would be sent as –120345.
REAL,32 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.
Each transfer begins with an ASCII header such as #800004510 for INTeger,32 and REAL,32. The first digit represents the number of following digits in the header (in this example, 8). The remainder of the header indicates the number of bytes that follow the header (in this example, 4510 for INT,32 and REAL,32). The tags and datapoints follow the header.
Cmd Parameters:
ASCii|INTeger,32|REAL,32
Query Parameters:
NA
Range
ASCii|INTeger,32|REAL,32
Default Value
ASCii
Default Unit
NA
Example
To set the numeric data format to integer:
:FORMat INTeger,32
Front Panel Access
NA