![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/7a/37ad62d2-f41f-4ff1-834b-b1f562c6b6d3/37ad62d2-f41f-4ff1-834b-b1f562c6b6d3-bg10.png)
16 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide
2 Getting Started
Basic Oscilloscope Program Structure
The following figure shows the basic structure of every program you will write
for the oscilloscope.
Initializing
To ensure consistent, repeatable performance, you need to start the program,
controller, and oscilloscope in a known state. Without correct initialization,
your program may run correctly in one instance and not in another. This might
be due to changes made in configuration by previous program runs or from
the front panel of the oscilloscope.
• Program initialization defines and initializes variables, allocates memory,
or tests system configuration.
• Controller initialization ensures that the interface to the oscilloscope
(GPIB, LAN, or USB) is properly set up and ready for data transfer.
• Oscilloscope initialization sets the channel configuration, channel labels,
threshold voltages, trigger specification, trigger mode, timebase, and
acquisition type.