Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 166

Multimètre

Publicité

4
Making Measurements
160 Rdgs(I)=Int_rdgs(I)!CONVERT EACH INTEGER READING TO REAL
165!FORMAT (NECESSARY TO PREVENT POSSIBLE INTEGER OVERFLOW ON NEXT LINE)
170 R=ABS(Rdgs(I))!USE ABSOLUTE VALUE TO CHECK FOR OVLD
180 IF R>=32767 THEN PRINT "OVLD"!IF OVLD, PRINT OVERLOAD MESSAGE
190 Rdgs(I)=Rdgs(I)*S!MULTIPLY READING TIMES SCALE FACTOR
200 Rdgs(I)=OROUND(Rdgs(I),4)!ROUND TO 4 DIGITS
210 NEXT I
220 END
Determining the reading rate
When using the TIMER sample event or the SWEEP command, the reading rate is
simply the reciprocal of the specified interval between readings (assuming the
TRIGGER TOO FAST error does not occur). For example, if the TIMER interval is
specified as 1E-4, the reading rate is 1/1E-4 = 10,000 readings per second. When
using another sample event, you can determine the reading rate by specifying a
large number of readings per trigger specifying an output pulse after each reading
(EXTOUT RCOMP command), and connecting an electronic frequency counter to
the multimeter's Ext Out connector. The frequency displayed on the counter is the
reading rate expressed in readings per second.
Another method uses the controller to time a number of readings initiated by the
TARM SGL or TRIG SGL command. With the input buffer disabled (INBUF OFF),
the SGL event holds the GPIB bus until the readings are complete. This means
that the time required to execute the TARM SGL or TRIG SGL command is the
total time of the measurement. For example, the following program stores
readings in reading memory, times TARM SGL for 10000 readings, divides 10000
by the total time, and displays readings per second. The TIMEDATE command
(lines 90 and 110) applies to Hewlett-Packard Series 200/300 computers using
BASIC language. Refer to your computer operating manuals for more information
on how to use you computer's timer.
10 REAL Num_readings!CREATE ARRAY
20 Num_readings=10000!NUMBER OF READINGS = 10000
30 ASSIGN @Dvm to 722!ASSIGN MULTIMETER ADDRESS
40 OUTPUT @Dvm;"PRESET FAST"!DCV 10 V RANGE, DINT MEM FORMAT, FAST
45 !READINGS, TARM SYN, TRIG AUTO
50 OUTPUT @Dvm;"NPLC 0"!MINIMUM INTEGRATION TIME (500 ns)
60 OUTPUT @Dvm;"MEM FIFO"!ENABLE READING MEMORY, FIFO MODE
70 OUTPUT @Dvm;"MFORMAT SINT"!SINT MEMORY FORMAT
80 OUTPUT @Dvm;"NRDGS"; Num_readings ,"AUTO" ! 10000 READINGS/TRIGGER,
AUTO
166
Keysight 3458A User's Guide

Publicité

loading