Agilent Technologies 8566B Operating And Programming Manual page 457

Spectrum analyzer 100 hz - 2.5 ghz/2 - 22 ghz
Table of Contents

Advertisement

TS
Take Sweep
The take sweep command, TS, starts and completes one full sweep before the next command is executed. One
TS command is required for each sweep in the single mode.
The function, marker, trace, coupled function, preselector peak, automatic zoom and video average commands,
and a number of the shii functions require one complete sweep to update the display and trace memory. This is to
avoid losing information for the output of measurement data on either the CRT display or through the HP-IB
interface.
In the example above, the command sequence does not allow sufficient time for a full sweep of the specified span,
before VIEW is executed. Therefore, only the span set by the instrument preset is displayed in trace A.
A TS command inserted before VIEW, as shown in the program line below, makes the analyzer take one complete
sweep before displaying trace A. This allows the analyzer sufficient time to respond to each command in the
sequence.
A TS command is also recommended before HP-IB transmission of marker data (amplitude, frequency) on the
HP-IB bus, and before marker operations (peak search, preselector peak). This is because the active marker is
repositioned at the end of each sweep.
The TS command guarantees that the HP-IB bus transmission and CRT display contain marker position informa-
tion that is relative to the current trace response.
When the analyzer receives a TS command, it is not ready to receive any more data via HP-IB until one full sweep
has been completed. However, when slow sweep speeds are being used, the controller can be programmed to
perform computations or to address other instruments on the HP-IB bus while the analyzer is completing its sweep.
In normal programming practice, a semicolon terminates each command statement. By using the semicolon as a
terminator, an automatic carriage-return/line-feed is performed by the controller. However, the controller can
perform computations or address other instruments while the analyzer is executing TS, if the carriage-return/line-
feed is suppressed.
In the program line below, the semicolon at the end of the line (outside the quotation marks) suppresses the
carriage-return/line-feed. The controller is now available to proceed to the next program line while the analyzer is
completing its sweep.
The R2 command in the program line above enables the end-of-sweep service request when the analyzer is
finished sweeping. This service request interrupts the controller program to allow subsequent addressing of the
analyzer. Refer to Appendix D for a complete description of the R2 Service Request.
348 Programming

Advertisement

Table of Contents
loading

Table of Contents