Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 131

Multimètre

Publicité

Making Measurements
4
mode
later in this chapter for more information. In the following program, the
PRESET NORM command sets the trigger event to synchronous. Line 40 specifies
15 readings per synchronous trigger event. Line 50 requests data from the
multimeter. This satisfies the synchronous trigger event and initiates the readings.
Notice that line 50 requests data from the multimeter 15 times. When multiple
readings are specified and SYN is used as the trigger or trigger arm event, the
multimeter does not recognize the multiple data requests as individual SYN
events. That is, in this program the SYN trigger event occurs once, not 15 times.
10 OPTION BASE 1!COMPUTER ARRAY NUMBERING STARTS AT 1
20 DIM Rdgs (15)!DIMENSION ARRAY FOR 15 READINGS
30 OUTPUT 722;"PRESET NORM"!TARM AUTO, TRIG SYN, DCV AUTORANGE, MEM OFF
40 OUTPUT 722;"NRDGS 15,AUTO"!15 READINGS/TRIGGER, AUTO SAMPLE EVENT
50 ENTER 722;Rdgs(*)!GENERATE SYN EVENT, ENTER READINGS
60 PRINT Rdgs(*)!DISPLAY READINGS
70 END
The following program uses the synchronous event as the sample event. Line 60
requests data from the multimeter 15 times. When SYN is used as the sample
event, each request for data is recognized as a SYN event. That is, in this program
the SYN event occurs 15 times.
10 OPTION BASE 1!COMPUTER ARRAY NUMBERING STARTS AT 1
20 DIM Rdgs(15)!DIMENSION ARRAY FOR 15 READINGS
30 OUTPUT 722;"PRESET NORM"!TARM AUTO, TRIG SYN, DCV AUTORANGE
40 OUTPUT 722;"NRDGS 15,SYN"!15 READINGS PER TRIGGER, SYN SAMPLE EVENT
50 OUTPUT 722;"TRIG AUTO"!AUTO TRIGGER EVENT
60 ENTER 722;Rdgs(*)!SYN EVENT, ENTER EACH READING
70 DISP Rdgs(*)!PRINT READINGS
80 END
Making timed readings
When making multiple readings per trigger, you can use the TIMER sample event
to place a specified time interval between readings. This interval is the amount of
time from the beginning of one reading to the beginning of the next reading. You
specify the interval in seconds using the TIMER command. (If the specified interval
is less than the time required to make each reading, the multimeter generates the
TRlG TOO FAST error). The following program specifies 8 readings per trigger with
1 second between readings (this is shown in
Figure
4-3).
10 OPTION BASE 1!COMPUTER ARRAY NUMBERING STARTS AT 1
20 DIM Rdgs(8)!DIMENSION ARRAY FOR 8 READINGS
Keysight 3458A User's Guide
131

Publicité

loading