User`s manual

Changing the Data Format
Throughput speed between the multimeter and computer is increased when
binary (rather than ASCII) data formats are used. The following program
changes the data format to REAL 64, and then makes a burst of 1,000
measurements on a single multiplexer channel.
10 !Dimension computer variables to store the data header and readings.
20 !Assign an input/output path between the multimeter and computer.
30 !This is a path for data in the REAL 64 format. Clear the path and
40 !reset the multimeter.
50 DIM Ndig$[1],Count$[9],Rdgs(1:1000)
60 ASSIGN @Dmm TO 70903;FORMAT OFF
70 CLEAR @Dmm
80 OUTPUT 70903;"*RST"
90 !
Set the data format to REAL 64. Configure the multimeter for DC
100 !voltage measurements on multiplexer channel 0. Increase
110 !measurement speed by specifying a fixed range (58.1), turning
120 !autozero off, and setting the minimum aperture time. Specify the
130 !number of readings in the burst and set the fastest sample period.
140 !Store the readings in mainframe memory.
150 OUTPUT 70903;"FORM REAL,64"
160 OUTPUT 70903;"CONF:VOLT:DC 58.1,(@100)"
170 OUTPUT 70903;" CAL:ZERO:AUTO OFF"
180 OUTPUT 70903;" VOLT:APER MIN"
190 OUTPUT 70903;" SAMP:COUN 1E3"
200 OUTPUT 70903;" SAMP:SOUR TIM"
210 OUTPUT 70903;" SAMP:TIM MIN"
220 OUTPUT 70903;"INIT"
230 OUTPUT 70903;"FETC?"
240 !
Enter and display readings.
250 ENTER 70903 USING "#,X,K,K";Ndig$;Count$[1;VAL(Ndig$)]
260 ENTER @Dmm;Rdgs(*)
270 ENTER 70903;Lf$
280 PRINT Rdgs(*)
290 END
Comments
The REAL,64 format is selected because the HP 9000 Series 200/300
computer stores readings in that format.
REAL,64 data is transferred to the computer in the IEEE 488.2-1987
Definite Length Arbitrary Block format. Data in this format is
preceded by a header consisting of: # <non-zero digit>
<block length>. In this program, the header preceding the
measurement data is #48000. The 4 represents the number of digits
indicating the block length (8000), and 8000 is the block length
(1,000 readings * 8 bytes/reading).
58 Using the HP E1326B/E1411B Multimeter Chapter 3