User manual

IEEE-488 Reference
4-82 2001-900-01 Rev. K / August 2010
[:DATA] <type>[,length]
:FORMat[:DATA] <type>[,<length>] Specify data format
Parameters <type>[,<length>] = ASCii ASCII format
= REAL,32 IEEE754 single precision format
= REAL,64 IEEE754 double precision format
= SREal IEEE754 single precision format
= DREal IEEE754 double precision format
NOTES:
When using the ASCii, SREal or DREal parameter, a <length> parameter is not required.
If you do not use a <length> parameter with the REAL parameter, the <length> will default to
32 (single precision format).
Formats :form asc
:form real
:form real, 64
:form sre
:form dre
Defaults Power-up Saved power-on setup
*RST ASCII
:SYSTem:PRESet ASCII
Query :DATA]? Query data format
Short-form format: :form?
Response message: ASC, REAL,32, REAL,64, SRE or DRE
Description This command is used to select the data format for transferring readings over the bus. For every
reading conversion, the data string sent over the bus will contain the elements specified by the
:ELEMents command. The specified elements are sent in a particular order.
The ASCII data format is in a direct readable form for the operator. Most basic languages will
easily convert ASCII mantissa and exponent to other formats. However, some speed is compro-
mised to accommodate the conversion. cáÖìêÉ=QJNV= shows the ASCII format that includes all
the data elements. Remember that only the specified elements will be included in each data
string.
Notes:
1. Brackets [ ] are used to denote optional character sets. These optional characters do not have to be included in the program message. Do not use brackets
[
/] in the program message.
2. Angle brackets < > are used to indicate parameter type. Do not use angle brackets < > in the program message.
3. Upper case characters indicate the short-form version for each command word.
q~ÄäÉ=QJV
FORMat command summary
Command Description