Figure 5-9 Buffer Summary - Agilent Technologies 8560E User Manual

Agilent technologies 8560 e-series and ec-series spectrum analyzers
Table of Contents

Advertisement

Programming
Input and Output Buffers
If you have a timeout statement in your program, the timeout can
occur; this depends on whether the timeout setting is shorter than the
pause in the program.
Synchronizing Your Program
You can use spectrum analyzer queries to synchronize a program. For
example, when executing a TS command, if you want to know when the
TS command is complete, execute the DONE command immediately
after TS. The DONE query is satisfied only after the sweep has been
completed. In fact, you can use any query in this manner. No query
operation can take place until after the previous command is complete.
Clearing the Buffers
If you use the output-data buffer correctly, the buffer should be clear
after the last ENTER statement is executed. But if you want to ensure
that the buffer is empty, execute the device clear statement CLEAR
718. If your program is returning incorrect values, use this statement to
clear the buffer; then look through your program for any missing
ENTER statements. Or, use CLEAR at the beginning of a program.
CLEAR flushes out the output-data and input-data buffers; however, it
also executes an instrument preset.
Summary
Figure 5-9 on page 318 illustrates the input and output data buffers.
Below, the causes for the analyzer not accepting data are described.
Figure 5-9
Buffer Summary
The spectrum analyzer will stop accepting data under these
nonexclusive conditions:
1. A sweep or lengthy command is not done and the input buffer is full.
2. The output and input buffers are full and the command currently
executed is a query.
318
Chapter 5

Advertisement

Table of Contents
loading

Table of Contents