HP-IB Operation Using HP BASIC
(continued)
280 Task=1
290 WHILE Task=1
300 DISP "Taking Readings"
310 WAIT .5
320 DISP ""
330 WAIT .5
340 END WHILE
350 DISP "AVE = ";Aver; " MIN = ";Min_rdg; " MAX = ";Max_rdg
360 STOP
370 !
380 Read_data: !
390 OUTPUT @Dmm; "CALC:AVER:AVER?;MIN?;MAX?" ! Read the average, min, and max
400 ENTER @Dmm; Aver, Min_rdg, Max_rdg
410 OUTPUT @Dmm; "*CLS"
! Clear dmm status registers
420 Task=0
430 RETURN
440 END
6
Chapter 6 Application Programs
Using the Status Registers
189
Summary of Contents for 34401A
Page 12: ...1 Quick Start 1 ...
Page 26: ...2 Front Panel Menu Operation 2 ...
Page 50: ...3 Features and Functions 3 ...
Page 103: ...4 Remote Interface Reference 4 ...
Page 135: ...SCPI Status System 4 Chapter 4 Remote Interface Reference The SCPI Status Model 135 ...
Page 170: ...5 Error Messages 5 ...
Page 182: ...6 Application Programs 6 ...
Page 196: ...7 Measurement Tutorial 7 ...
Page 214: ...8 Specifications 8 ...