
IEEE-488 Programming
3-7
3.2.5 Data format (G)
Purpose
To control the format of the data the instrument sends over the IEEE-488 bus.
Format
G0
Reading with prefix (NDCV-1.00)
G1
Reading without prefix (-1.00)
G2
Reading with prefix and suffix (NDCV-1.00,001)
Default
Upon power-up, or after a DCL or SDC command, the instrument will be in the G0 (reading with
prefix) mode.
Description
Through the use of the G command, the format of the data the instrument sends over the bus may
be controlled. Figure 3-1 further clarifies the general data format. Note that the prefix identifies
a normal or overflow reading as well as the measuring function. The mantissa is always 5
½
digits,
although the most significant digit will assume a value of 2 under overload conditions.
Programming
1. The B command affects the source of the data. See paragraph 3.2.2 for complete details.
Notes
2.
In the G2 mode, the suffix will always return 000 if the instrument is in the electrometer
reading mode (B0).
Examples
G2X
Prefix and suffix mode.
G0X
Prefix only mode.
Figure 3-1
General data format
N=NORMAL
O=OVERFLOW
DCV=VOLTS
DCA=AMPS
OHM=OHMS
DCC=COULOMBS
DCX=EXTERNAL
FEEDBACK
MANTISSA
(5 1/2 DIGITS)
DATA STORE
LOCATION
(B1, G2 ONLY)
NDCV
±
1.23456 E + 02, 011 <CR LF>
EXPONENT
TERMINATOR
Summary of Contents for 6512
Page 119: ...Maintenance 7 10 Figure 7 5 Exploded view...
Page 131: ......