13-4
DISPlay, FORMat, and SYSTem
Model 6487 Reference Manual
FORMat subsystem
The commands in this subsystem are used to select the format for transferring data over
the bus.
A) FORMat:DATA <type>[,<length>]
Parameters
ASCii
= ASCII format
REAL, 32 = Binary IEEE-754 single precision format
SREal
= Binary IEEE-754 single precision format
klqb
<length> is not used for the ASCii or SREal parameters. It is optional for the
REAL parameter. If you do not use <length> with REAL, <length> defaults to
32 (single precision format). The double precision format (<length> = 64) is
not supported by Model 6487.
Table 13-2
SCPI commands — data format
Command
Description
Default
Ref
:FORMat
:DATA <type>[,<length>]
Specify data format: ASCii, REAL, 32 or SREal.
ASCii
A
:DATA?
Query data format.
:ELEMents <item list>
Specify data elements: READing, UNITS,
VSOurce, TIME, STATus, DEFault, and ALL.
All except
VSO
B
:BORDer <name>
Specify byte order: NORMal or SWAPped.
(see Note)
C
:BORDer?
Query byte order.
:SREGister <name>
Select data format for reading status registers:
ASCii, HEXadecimal, OCTal, or BINary.
ASC
:SREGister?
Query data format for reading status registers.
:SOURce2 <name>
Select data format for reading output patterns:
ASCii, HEXadecimal, OCTal, or BINary.
ASC
:SOURce2?
Query data format for output patterns.
Note: *RST default is NORMal. SYSTem:PRESet default is SWAPped.