EasyManuals Logo
Home>Tektronix>Test Equipment>DPO2024B

Tektronix DPO2024B Programmer's Manual

Tektronix DPO2024B
441 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 #403 background imageLoading...
Page #403 background image
Status and Events
Thesamecomman
d sequence using the *WAI command for synchronization
looks like this:
/* Set up conditional ac quisition */
ACQUIRE:STATE OFF
SELECT:CH1 ON
ACQUIRE:MODE SAMPLE
ACQUIRE:STOPAFTER SEQUENCE
/* Acqu ire waveform data */
ACQUIRE:STATE ON
/* Set up the measurement parameters */
MEASUREMENT:IMMED:TYPE AMPLITUDE
MEASUREMENT:IMMED:SOURCE CH1
/* Wait until the acquis ition is complete before taking
the mea surement */
*WAI
/* Take amplitude measurement */
MEASUREMENT:IMMED:VALUE?
The controller can continue to write commands to the input buffer of the
oscilloscope, but the commands will not be processed by the oscilloscope until
all in-process OPC operations are complete. If the input buffer becomes full,
the controller will be unable to write commands to the buffer. This can cause a
time-out.
Using the BUSY Query
The BUSY? query allows you to nd out whether the oscilloscope is busy
processing a command that generates OPC.
The same command sequence, using the BUSY? query for synchronization, looks
like this:
/* Set up conditional ac quisition */
ACQUIRE:STATE OFF
SELECT:CH1 ON
ACQUIRE:MODE SAMPLE
ACQUIRE:STOPAFTER SEQUENCE
/* Acqu ire waveform data */
ACQUIRE:STATE ON
/* Set up the measurement parameters */
MEASUREMENT:IMMED:TYPE AMPLITUDE
MEASUREMENT:IMMED:SOURCE CH1
/* Wait until the acquis ition is complete before taking
the mea surement */
While B USY keep looping
/* Take amplitude measurement */
MEASUREMENT:IMMED:VALUE?
This sequence lets you create your own wait loop rather than using the *WAI
command. The BUSY? query helps you avoid time-outs caused by writing too
MSO2000B, DPO2000B, MSO2000 and DPO2000 Series Oscilloscopes Programmer Manual 3-9

Other manuals for Tektronix DPO2024B

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix DPO2024B and is the answer not in the manual?

Tektronix DPO2024B Specifications

General IconGeneral
BrandTektronix
ModelDPO2024B
CategoryTest Equipment
LanguageEnglish

Related product manuals