Format; Format[:Data]; Format[:Data] <Format>[,<Size>] - VXI VT1422A User Manual

Remote channel multi-function dac module user’s and scpi programming manual
Table of Contents

Advertisement

FORMat

Subsystem Syntax

FORMat[:DATA]

Parameters
Comments
Chapter 7
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>]
[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 Workstation BASIC and
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 and Response Data"
on page 233. For REAL 32, readings are 4 bytes in length (data type is float32
array). For REAL 64 and PACK, 64, readings are 8 bytes in length (data 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 (data type is string array).
sets the format for data returned using the
Range of
Values
REAL | ASCii | PACKed
for ASCii, 7
for REAL, 32 | 64
for PACKed, 64
VT1422A Command Reference
FORMat
Default
Units
none
none
293

Advertisement

Table of Contents
loading

Table of Contents