20 Num_readings=20 !NUMBER OF READINGS = 20
30 ALLOCATE REAL Rdgs(1:Num_readings) !CREATE ARRAY FOR READINGS
40 ASSIGN @Dvm TO 722 !ASSIGN MULTIMETER ADDRESS
50 OUTPUT @Dvm;"PRESET NORM;OFORMAT DREAL;NPLC 10;NRDGS";Num_readings
55 !TRIG SYN, DCV AUTORANGE, DREAL OUTPUT FORMAT,10 PLC, 20 READINGS/
TRIG
60 ASSIGN @Dvm;FORMAT OFF !USE 8-BYTE/WORD DATA STRUCTURE
70 FOR I=1 TO Num_readings
80 ENTER @Dvm;Rdgs(I) !ENTER EACH READING
90 IF ABS(Rdgs(I))=1.E+38 THEN !IF OVERLOAD OCCURRED:
100 PRINT "OVERLOAD OCCURRED" !PRINT OVERLOAD MESSAGE
110 ELSE !IF NO OVERLOAD OCCURRED
120 Rdgs(I)=DROUND(Rdgs(I),8) !ROUND READINGS TO 8 DIGITS
130 PRINT Rdgs(I) !PRINT READINGS
140 END IF
150 NEXT I
160 END
OHM, OHMF
Refer to the
OPT?
Option query. Returns a response indicating the multimeter's installed options.
The possible responses are:
0 = No installed options
1 = Extended Reading Memory Option
Syntax
OPT?
Remarks
Keysight 3458A User's Guide
FUNC
command.
Command Reference
6
313