Format; Format[:Data]; Format[:Data] <Format>[,<Size>] - HP E1419A User Manual

Measurement and control module
Table of Contents

Advertisement

Subsystem Syntax

FORMat[:DATA]

Parameters
Comments
Chapter 6
The FORMat subsystem provides commands to set and query the response data
format of readings returned using the [SENSe:]DATA:FIFO:...? commands.

FORMat

[:DATA] <format>[,<size>]
[:DATA]?
FORMat[:DATA] <format>[,<size>] sets the format for data returned using the
[SENSe:]DATA:FIFO:...?, [SENSe:]DATA:CVTable, and FETCh? commands.
Parameter
Parameter
Name
Type
format
discrete (string)
size
numeric
The REAL format is IEEE-754 Floating Point representation.
REAL, 32 provides the highest data transfer performance since no format
conversion step is placed between reading and returning the data. The default size
for the REAL format is 32 bits. Also see DIAG:IEEE command.
PACKed, 64 returns the same values as REAL, 64 except for Not-a-Number
(NaN), IEEE +INF and IEEE -INF. The NaN, IEEE +INF and IEEE -INF values
returned by PACKed,64 are in a form compatible with HP Workstation BASIC
and HP BASIC/UX (see table on following page).
REAL 32, REAL 64, and PACK 64, readings are returned in the
IEEE-488.2-1987 Arbitrary Block Data format. The Block Data may be either
Definite Length or Indefinite Length depending on the data query command
executed. These data return formats are explained in "Arbitrary Block Program
Data" on page 6-185 of this chapter. For REAL 32, readings are 4 bytes in length
(C-SCPI type is float32 array). For REAL 64, and PACK, 64, readings are 8
bytes in length (C-SCPI type is float64 array).
ASCii is the default format. ASCII readings are returned in the form
±1.234567E±123. For example 13.325 volts would be +1.3325000E+001. Each
reading is followed by a comma (,). A line feed (LF) and End-Or-Identify (EOI)
follow the last reading (C-SCPI type is string array).
Range of
Values
REAL | ASCii | PACKed
for ASCii, 7
for REAL, 32 | 64
for PACKed, 64
HP E1419 Command Reference 233
FORMat
Default
Units
none
none

Advertisement

Table of Contents
loading

Table of Contents