Making an Externally Triggered Burst of Measurements
This program makes a burst of 10 measurements on the faceplate terminals
when the multimeter receives an external trigger.
10
!
Dimension a computer array to store the readings.
20
DIM Rdgs(1:10)
30
!
Clear and reset the multimeter.
40
CLEAR 70903
50
OUTPUT 70903;"*RST"
60
!
Configure the multimeter for DC voltage measurements. Set the trigger
70
!
source to an external trigger. Take a burst of 10 readings when the trigger
80
!
occurs. Wait for the trigger then return the readings to the output buffer.
90
OUTPUT 70903;"CONF:VOLT:DC"
100
OUTPUT 70903;" TRIG:SOUR EXT"
110
OUTPUT 70903;" SAMP:COUN 10"
120
OUTPUT 70903;"READ?"
130
!
Enter and display the readings on the computer.
140
ENTER 70903;Rdgs(*)
150
FOR
I
=1 TO 10
160
PRINT Rdgs(
I
)
170
NEXT
I
180
END
Comments
•
The multimeter is triggered when a high-to-low TTL signal is
applied to the "External Trigger" port.
•
CONFigure
sets the trigger source to the multimeter’s internal
trigger. The trigger source is changed with the
TRIGger:SOURce
command. The sources available are:
IMM
- immediate (internal) trigger
EXT
- external trigger
BUS
- triggered by
*TRG
or HP-IB group execute trigger
HOLD
- suspend trigger
•
CONFigure
sets a burst consisting of one measurement. The
SAMPle:COUNt
command is used to set a burst of measurements
greater than one. Up to 16,777,215 measurements can be specified
with
SAMPle:COUNt
.
•
The multimeter output buffer can hold eight readings. When the
buffer fills, measurements are suspended until readings are read from
the buffer (by the computer) to make space available.
44 Using the HP E1326B/E1411B Multimeter
Chapter 3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com