EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>8720E Series

Agilent Technologies 8720E Series Programmer's Guide

Agilent Technologies 8720E Series
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #315 background imageLoading...
Page #315 background image
3-6 Chapter3
GPIB Programming
Analyzer Operation
Analyzer Operation
Held Commands
The analyzer cannot process GPIB commands while executing certain key commands
known as “held” commands. For example, SING; is a held command because it requires the
analyzer to take one sweep of data before executing any other commands.
Once a held command is received, the analyzer will read new commands into the input
buffer, but it will not begin the execution of any commands until the completion of the held
command. When the 15-character input buffer is full, the analyzer will put hold on the bus
until it is able to process the commands in the buffer.
NOTE Commands that call a calibration class are held if there is just one standard
in the class, since such commands trigger a measurement.
Operation Complete
Occasionally, there is a need to know when certain analyzer operations have been
completed. There is an operation-complete function (OPC) that allows a synchronization of
programs with the execution of certain key commands. This mechanism is activated by
issuing OPC; or OPC?; prior to an OPC-compatible command. The status byte or ESR
operation-complete bit will then be set after the execution of the OPC-compatible
command. For example, issuing OPC;SING; causes the OPC bit to be set when the single
sweep is finished. Issuing OPC?; in place of OPC; causes the analyzer to output a one (1)
when the command execution is complete. The analyzer will halt the computer by not
transmitting the one (1) until the command has completed. For example, executing
OPC?;PRES;, and then immediately querying the analyzer causes the bus to halt until the
instrument preset is complete and the analyzer outputs a one (1).
As another example, consider the timing of sweep completion. Send the command string
SWET 3 S;OPC?;SING; to the analyzer. This string sets the analyzer sweep time to 3
seconds, and then waits for completion of a single sweep to respond with a one (1). The
computer should be programmed to read the number one (1) response from the analyzer
indicating completion of the single sweep. At this point a valid trace exists and the trace
data could be read into the computer.
For a list of OPC-compatible commands, refer to Appendix B , “Command Listings.

Table of Contents

Other manuals for Agilent Technologies 8720E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 8720E Series and is the answer not in the manual?

Agilent Technologies 8720E Series Specifications

General IconGeneral
BrandAgilent Technologies
Model8720E Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals