User manual

Table Of Contents
MAUI Oscilloscopes Remote Control and Automation Manual
Use Status Registers
Status registers store a record of events and conditions occurring inside the oscilloscope. Some of the
events recorded include:
l The acquisition of new data
l When processing completes
l When printing (hardcopy) completes
l When an error occurs
Programmers can use the registers to sense the instrument's condition by polling until the desired status
bit is set. A status register can be polled by querying its associated remote command (*STB, INR?, *ESR).
Alternatively, the oscilloscope can request service from the controller by using the mask registers to select
the events of interest.
The following procedure shows the steps necessary for acquiring data using the status registers for
synchronization.
1. STOP the acquisition.
2. (Commands to) set up the oscilloscope.
3. Clear status registers.
4. Set up mask register (if needed).
5. ARM or TRMD SINGLE to start the acquisition.
6. Poll status registers or wait for service request.
(Various commands/queries) to read data, cursors, and parameter measurements.
If the data has already been acquired and you want to perform further analysis (math, parameters,
cursors), you can proceed as follows:
1. Clear status registers.
2. Set up mask register (if needed).
3. (Commands to) change math functions, parameters, cursors, etc. as required for analysis.
4. Poll status registers or wait for service request.
5. (Commands/queries to) read data, cursors, and parameter measurements.
5-16