13-4 DISPlay, FORMat, and SYSTem Model 6485 Picoammeter Instruction Manual
A) FORMat[:DATA] <type>[,<length>]
Parameters ASCii = ASCII format
REAL, 32 = Binary IEEE-754 single precision format
SREal = Binary IEEE-754 single precision format
NOTE <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 6485.
The response to READ?, FETCh?, MEASure?, TRACe:DATA?, CALC1:DATA? or
CALC2:DATA? over the GPIB can be returned in either the ASCii or binary format. All
other queries are returned in ASCii, regardless of the selected format. Over the RS-232
interface, only the ASCII format is allowed.
NOTE Regardless of which data format for output strings is selected, the instrument
will only respond to input commands using the ASCII format.
ASCII data format
The ASCII data format is in a direct readable form for the operator. Most BASIC lan-
guages easily convert ASCII mantissa and exponent to other formats. However, some
speed is compromised to accommodate the conversion. Figure 13-1 shows an example
ASCII string that includes all the data elements. See :ELEMents for information on the
data elements.
Figure 13-1 also shows the byte order of the data string. Data elements not specified by the
:ELEMents command are simply not included in the string.
Figure 13-1
ASCII data format
+1.040564E-06A, +2.236299E+02, +1.380000E+02
Reading
Timestamp
Status
Units