Making Multiple Paced Scans
This program makes multiple scans through a channel list with the scans
occurring at specified intervals.
10
!
Dimension a computer array to store the readings.
20
DIM Rdgs(1:20)
30
!
Clear and reset the multimeter.
40
CLEAR 70903
50
OUTPUT 70903;"*RST"
60
!
Configure the multimeter for DC voltage measurements. Scan the
70
!
channel list five times, with a two second delay between scans.
80
!
Store the readings in mainframe memory.
90
OUTPUT 70903;"CONF:VOLT:DC (@100:103)"
100
OUTPUT 70903;" TRIG:COUN 5"
110
OUTPUT 70903;" TRIG:DEL 2"
120
OUTPUT 70903;"INIT"
130
OUTPUT 70903;"FETCH?"
140
!
Enter and display the readings on the computer.
150
ENTER 70903;Rdgs(*)
160
FOR
I
=1 TO 20 STEP 4
170
PRINT Rdgs(
I
),Rdgs(
I
+1),Rdgs(
I
+2),Rdgs(
I
+3)
180
NEXT
I
190
END
Comments
•
For the scanning multimeter,
CONFigure
sets one scan (pass)
through the channel list. The
TRIGger:COUNt
command can specify
up to 16,777,215 scans.
•
The delay between scans is the delay between the trigger signal and
the first channel in the list. There is no programmable delay between
subsequent channels in the list. The trigger delay set by
CONFigure
is 0 seconds for the DC voltage function. The
TRIGger:DELay
command is used to set delays up to 16.7 seconds.
•
When scanning with the FET multiplexers, the sample period for
each channel can be specified with the
SAMPle:TIMer
command.
This feature is available with the FET multiplexers only.
•
When
INIT
follows
CONFigure
, the readings are stored in mainframe
memory.
FETCH?
retrieves the readings and places them in the
output buffer once all measurements are taken. Replacing
INIT
and
FETCH?
with
READ?
returns the readings directly to the output
buffer.
48 Using the HP E1326B/E1411B Multimeter
Chapter 3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com