User`s manual

Storing Readings in Shared Memory
The following program stores the multimeter readings on a VME memory card.
10 !Dimension computer variables to store the data header and readings.
20 !Assign an input/output path between the multimeter and computer.
30 !Clear the path and reset the multimeter.
40 DIM Ndig$[1],Count$[9],Rdgs(1:200,1:1000)
50 ASSIGN @Dmm TO 70903;FORMAT OFF
60 CLEAR @Dmm
70 OUTPUT 70903;"*RST"
80 !
Specify the starting memory location in shared memory (800000h),
90 !specify the amount of memory to use (1 MByte), direct the readings to the
100 !memory card.
110 OUTPUT 70903;"MEM:VME:ADDR #H800000"
120 OUTPUT 70903;"MEM:VME:SIZE #H100000"
130 OUTPUT 70903;"MEM:VME:STAT ON"
140 !
Set the data format to REAL,64. Configure the multimeter to take 200,000
150 !readings at its fastest possible rate.
160 OUTPUT 70903;"FORMAT REAL,64"
170 OUTPUT 70903;"CONF:VOLT:DC 58.1"
180 OUTPUT 70903;" CAL:ZERO:AUTO OFF"
190 OUTPUT 70903;" VOLT:APER MIN"
200 OUTPUT 70903;" SAMP:COUN 200000"
210 OUTPUT 70903;" SAMP:SOUR TIM"
220 OUTPUT 70903;" SAMP:TIM MIN"
230 OUTPUT 70903;"INIT"
240 OUTPUT 70903;"FETC?"
250 !
Enter the readings.
260 ENTER 70903 USING "#,X,K,K";Ndig$;Count$[1;VAL(Ndig$)]
270 ENTER @Dmm;Rdgs(*)
280 ENTER 70903;Lf$
290 END
64 Using the HP E1326B/E1411B Multimeter Chapter 3