Example This program selects the oscilloscope in slot B, issues an autoscale command,
waits 5 seconds for the oscilloscope to collect data, and then gets and prints
the measurement.
10 OUTPUT XXX;": SELECT 2"
20 OUTPUT XXX;": AUTOSCALE"
25 WAIT 5
30 DIM Me$[200]
40 OUTPUT ;":MEA SURE:SOURCE CHAN NEL1;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 GPIB
or RS-232-C. Refer to chapter 1, "Introduction to Programming" for information
on initializing the interface.
For more information on the specific oscilloscope commands, refer to
chapters 29 through 36 of this manual.
Oscilloscope Root Level Commands
AUToscale
28-4