HP 53131A/132A 225 MHz Programming Manual page 133

225 mhz universal counter
Table of Contents

Advertisement

520
OUTPUT @Count;":INIT;*OPC"
530 Loop_here:GOTO Loop_here
540
!
550 Get_averages:
560
Serial_poll=SPOLL(703)
570
OUTPUT @Count;":CALC3:AVERAGE:TYPE MAX;:CALC3:DATA?"
580
ENTER @Count;Maximum$
590
OUTPUT @Count;":CALC3:AVERAGE:TYPE MIN;:CALC3:DATA?"
600
ENTER @Count;Minimum$
610
OUTPUT @Count;":CALC3:AVERAGE:TYPE MEAN;:CALC3:DATA?"
620
ENTER @Count;Mean$
630
OUTPUT @Count;":CALC3:AVERAGE:TYPE SDEV;:CALC3:DATA?"
640
ENTER @Count;Sdev$
650
PRINT
660
PRINT "Serial Poll = ";Serial_poll
670
PRINT
680
PRINT USING "21A,22A,X,8A";"Minimum Period
690
PRINT USING "21A,22A,X,8A";"Maximum Period
700
PRINT USING "21A,22A,X,8A";"Mean Period
710
PRINT USING "21A,22A,X,8A";"Standard Deviation = ";Sdev$;" seconds"
720
LOCAL 703
730
END
Chapter 3 Programming Your Universal Counter for Remote Operation
Elements of SCPI Commands
To Measure the Statistics of 50 Measurements
(HP BASIC) (Continued)
! Enable OPC bit and starts measurement
! Wait here until measurement complete.
! Data ready
Programming Guide
! Should be 96
= ";Minimum$;" seconds"
= ";Maximum$;" seconds"
= ";Mean$;" seconds"
3-65

Advertisement

Table of Contents
loading

This manual is also suitable for:

53131a53132a

Table of Contents