Format Subsystem - Anritsu LMR Master S412E Programming Manual

An integrated, handheld multi-function land mobile radio test tool
Hide thumbs Also See for LMR Master S412E:
Table of Contents

Advertisement

TETRA Commands

17-5 :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 is returned in certain
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:
Front Panel Access: NA
S412E PM
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.
Refer to
"Interpreting Returned Data" on page 17-10
information and conversion examples.
:FORMat INTeger,32
PN: 10580-00319 Rev. N
17-5 :FORMat Subsystem
for additional
17-9

Advertisement

Table of Contents
loading

Table of Contents