HP 16533A Programmer's Manual page 12

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

Advertisement

Programming the
HP 16533/34A Oscilloscope Module
Setting up an Oscilloscope
Example
10 OUTPUT XXX;":SELECT 5"
20 OUTPUT XXX;":AUTOSCALE"
25 WAIT 5
30 DIM Me$[200]
40 OUTPUT ;":MEASURE:SOURCE CHANNEL1;ALL?"
50 ENTER XXX;Me$
60 PRINT Me$
70 END
The three Xs (XXX) after the OUTPUT and ENTER statements in the above
example refer to the device address required for programming over either
HP-IB or RS-232-C. Refer to your controller manual and programming language
reference manual for information on initializing the interface.
Program Comments
Line 10 selects the oscilloscope in slot E.
Line 20 causes the oscilloscope to execute the AUTOSCALE command.
Line 25 causes the oscilloscope to wait 5 seconds (the time you allow
for the measurement to be complete).
Line 30 dimensions and reserves memory for the string array.
Line 40 causes the oscilloscope to make all the parametric
measurements of the Measure subsystem. The source for the
measurements is channel 1.
Line 50 enters data from the oscilloscope.
Line 60 causes the data to be printed either on controller screen or
hardcopy, depending on the output device chosen.
For more information on the specific oscilloscope commands, refer to
chapters 2 through 10 of this manual.
1–4

Advertisement

Table of Contents
loading

This manual is also suitable for:

16534a

Table of Contents