HP 16533A Programmer's Manual page 132

1-gsa/s and 2-gsa/s digitizing oscilloscope
Hide thumbs Also See for 16533A:
Table of Contents

Advertisement

Programming Examples
Combined Measurement Example
340
OUTPUT @Scope;"*RST"
350
OUTPUT @Scope;":AUTOSCALE"
360
OUTPUT @Scope;":SYST:HEADER OFF"
370
CLEAR SCREEN
380
RETURN
390
!
400
!DIGITIZE waveform to acquire data and stop oscilloscope for further
410
!measurement.
420
!
430 Get_waveform:
440
OUTPUT @Scope;":WAVEFORM:SOURCE CHAN1"
450
OUTPUT @Scope;":DIGITIZE"
460
RETURN
470
!
480
!have oscilloscope do a frequency measurement and read results into
490
!computer.
500
!
510 Measure:
520
OUTPUT @Scope;":MEASURE:FREQUENCY?"
530
ENTER @Scope;Value
540
PRINT "FREQUENCY = ";Value;"Hz"
550
OUTPUT @Scope;":MEASURE:VPP?"
560
ENTER @Scope;Value
570
PRINT "Vpp = ";Value;"V"
580
RETURN
590
END
11–6
!set oscilloscope to default config
!AUTOSCALE
!turn headers off
!clear screen
Measurement is NOT displayed on the front panel.
!
!set source to channel 1
!macro to acquire data & stop
!
!FREQUENCY query
!read from oscilloscope
!Vpp query

Advertisement

Table of Contents
loading

This manual is also suitable for:

16534a

Table of Contents