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

5-4 :Format Subsystem

5-4
: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 will be
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 Parameter: <char> ASCii|INTeger,32|REAL,32
Query Response: <char> ASC|INT,32|REAL,32
Default Value: ASC
Related Command: :TRACe[:DATA]
Front Panel Access: NA
5-40
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 will be the slowest format.
INTeger,32 values are signed 32-bit integers in little-endian byte
order. This format returns the data in 4-byte blocks.
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.
Both INTeger and REAL formats return a definite block length. Each
transfer begins with an ASCII header, such as #42204 for INTeger,32
and REAL,32. 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 for INT,32 and REAL,32). You then
divide the number of following bytes by the number of bytes in the data
format that you have chosen (4 for both INTeger,32 and REAL,32...so
2204/4) to get the number of data points (in this example, 551).
Refer to
"Interpreting Returned Data Pair" on page 5-41
information and conversion examples.
PN: 10580-00319 Rev. N
VNA Commands
for additional
S412E PM

Advertisement

Table of Contents
loading

Table of Contents