Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 129

Multimètre

Publicité

Making multiple readings
You can use the NRDGS command to specify more than one reading per trigger
event. For example, the following program takes 10 readings per trigger event
(one reading is taken per sample event) and transfers them to the controller.
Notice that the input buffer is enabled (line 40). This is because, with the input
buffer disabled, the SGL event (line 60) holds the GPIB bus until all specified
readings are complete. This would prevent line 70 from transferring all but the last
reading to the controller. Enabling the input buffer prevents the TRlG SGL
command from holding the bus and allows each reading to be transferred as it
becomes available.
10 OPTION BASE 1!COMPUTER ARRAY NUMBERING STARTS AT 1
20 DIM Rdgs(10)!DIMENSION ARRAY FOR 10 READINGS
30 OUTPUT 722;"PRESET NORM"!TARM AUTO, TRIG SYN, DCV AUTORANGE
40 OUTPUT 722;"INBUF ON"!ENABLE INPUT BUFFER
50 OUTPUT 722;"NRDGS 10, AUTO"!10 READINGS/TRIGGER, AUTO SAMPLE EVENT
60 OUTPUT 722;"TRIG SGL"!TRIGGER READINGS
70 ENTER 722;Rdgs(*)!ENTER READINGS
80 PRINT Rdgs(*)!DISPLAY READINGS
90 END
Multiple trigger arming
The second parameter of the TARM command allows you to specify multiple
trigger arming. When multiple trigger arming is specified, a single occurrence of
the trigger arm event arms the multimeter the specified number of times. (The
trigger arm event must be SGL for multiple arming.) This causes the multimeter to
make multiple groups of readings as shown in
Keysight 3458A User's Guide
Making Measurements
Figure
4-2.
4
129

Publicité

loading