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

225 mhz universal counter
Table of Contents

Advertisement

'The following lines will provide the fastest throughput, regardless of
'the state of the counter before these lines are executed.
CALL sendhp(":FREQ:ARM:STAR:SOUR IMM")
CALL sendhp(":FREQ:ARM:STOP:SOUR IMM")
CALL sendhp(":EVENT1:LEVEL 0")
CALL sendhp(":CALC:MATH:STATE OFF")
CALL sendhp(":CALC2:LIM:STATE OFF")
CALL sendhp(":CALC3:AVER:STATE OFF")
CALL sendhp(":HCOPY:CONT OFF")
CALL sendhp(":ROSC:SOUR INT")
CALL sendhp(":ROSC:EXT:CHECK OFF")
CALL sendhp(":DIAG:CAL:INT:AUTO OFF")
CALL sendhp("*DDT #15FETC?")
CALL sendhp(":DISP:ENABLE OFF")
CALL sendhp("READ:FREQUENCY?")
CALL IOENTERS(source&, freqstring(1), maxelem%, actual%)
CALL sendhp(":FREQ:EXP1 " + freqstring(1))
CALL sendhp(":INIT:CONT ON")
PRINT "Making measurements"
FOR i = 1 TO samples
CALL IOTRIGGER(source)
CALL IOENTERS(source&, freqstring(i), 22, actual%) 'Read the ASCII characters
NEXT i
PRINT "Measurements complete"
END
SUB sendhp (code$)
CALL iooutputs(source, code$, LEN(code$))
END SUB
Chapter 3 Programming Your Universal Counter for Remote Operation
Elements of SCPI Commands
To Optimize Throughput (QuickBASIC) (Continued)
Programming Guide
'These 3 lines enable using
'time arming with a 0.1 second
'Set trigger level on channel 1
'This also disables auto trigger
'Make sure all post-processing
'is turned off.
'Do not update printing operations
'Disable automatic interpolator
'calibration. The most recent
'calibration factors will be
'used in the calculation for
'frequency
'Define trigger as fetc?
'Turn off the display
'Read the expected frequency
'Send the expected frequency
'Start making measurements
'Query the counter for data
3-87

Advertisement

Table of Contents
loading

This manual is also suitable for:

53131a53132a

Table of Contents