7
Formats and Data Flow
192
Keysight 53210A User’s Guide
Reading Formats and Data Flow
A (counter) data format is specified when a particular format (ASCII, REAL) is
required. The data is converted to that format when sent to the output buffer
directly, or when transferred
from
reading memory.
The command used to set the data format is:
FORMat[:DATA] {ASCII|REAL}[,<length>]
FORMat[:DATA]?
(query form)
The formats (and lengths) are described in
Format
ASCII
is set following an instrument reset (
*RST
) or front panel preset
(
PRESet
). A line feed (LF) and End-Or-Identify (EOI) follow the last reading in both
formats.
Table 7-1
Counter Data Formats
Type
Representation
Length
ASCII
+4.57538162006
15 (digits)
REAL
definite length or indefinite length arbitrary block format
64 (bits)
Format
ASCII
are ASCII characters. Each reading is comma-separated. The instrument always returns
15 significant digits
.
Format
REAL
is IEEE 754 binary data (
64-bit
). The data may be transferred in IEEE 488.2
indefinite-length or definite-length block format. Byte order is controlled by the FORMat:BORDer
command.
Indefinite-Length Block:
# 0 < 8-bit data bytes > NL ^END
(using MEASure?, READ?, FETCh?)
Definite-Length Block:
# <non-zero digit> <block length> <8-bit data bytes>
(using R?, DATA:REMove?)
<non-zero digit> indicates the number of digits representing <block length>. <block length> indicates
the number of 8-bit data bytes which follow.
Summary of Contents for 53210A
Page 1: ...Keysight 53210A 350 MHz RF Counter User s Guide ...
Page 12: ...12 Keysight 53210A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 18: ...18 Keysight 53210A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 22: ...22 Keysight 53210A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 246: ...246 Keysight 53210A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...