EasyManua.ls Logo

Agilent Technologies 53220A - Specifying Data Formats and Byte Order

Agilent Technologies 53220A
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
53220A/53230A User’s Guide 239
Formats and Data Flow 7
Format ASCII is set following an instrument reset (*RST) or front panel pre-
set (PRESet). A line feed (LF) and End-Or-Identify (EOI) follow the last reading
in both formats.
Specifying a Format
Data formats can be specified during counter configuration as shown in the
following segment:
CONF:FREQ 1.0E6
FORM REAL, 64
SAMP:COUN 5
INIT
FETC?
In this segment, measurements initiated by INIT are stored in reading mem-
ory. When FETC?(ed) from memory to the output buffer the readings are con-
verted to REAL format.
Setting the Block Transfer Byte Order
Indefinite-length and definite-length REAL (binary) data transfers (Table 7-1)
associated with the READ?, FETCh?, R?, and DATA:REMove? commands have
a default byte order of NORMal in which the most-significant byte (MSB) is
sent first (big-endian byte order). The command used to specify or change the
byte order is:
FORMat:BORDer {NORMal | SWAPped}
FORMat:BORDer? (query form)
With the SWAPped byte order the least-significant byte of each data point
(reading) is sent first (little-endian byte order). Most PCs use the swapped
(little-endian) byte order.
Following a reset (*RST) or front panel preset (Preset), the byte order is set to
NORMal.

Table of Contents

Related product manuals