EasyManuals Logo

Tektronix TDS5000B Series Online Programmer Guide

Tektronix TDS5000B Series
917 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 #882 background imageLoading...
Page #882 background image
TDS5000B Online Programmer Guide
-- 8 6 2 --
comes, interrupts those tasks and returns con-
trol to this
task.
/* Take amplitude measurement */
MEASUREMENT:IMMED:VALUE?
This technique is more efficient but requires more sophisticated pro-
gramming.
*OPC?
The *OPC? query places a 1 in the Output Queue once an operation
that generates an OPC message is complete. A time out could
occur if you try to read the output queue before there is any data in it.
The same command sequence using the *OPC? query for synchroniza-
tion looks like this:
/* Set up conditional acquisition */
ACQUIRE:STATE OFF
SELECT:CH1 ON
HORIZONTAL:RECORDLENGTH 500
ACQUIRE:MODE SAMPLE
ACQUIRE:STOPAFTER SEQUENCE
/* Acquire waveform data */
ACQUIRE:STATE ON
/* Set up the measurement parameters */
MEASUREMENT:IMMED:TYPE AMPLITUDE
MEASUREMENT:IMMED:SOURCE CH1
/* Wait until the acquisition is com-
plete before taking the measurement
*/
*OPC?
Wait for read from Output Queue.
/* Take amplitude measurement */
MEASUREMENT:IMMED:VALUE?
This is the simplest approach. It requires no status handling or loops.
However, you must set the controller time--out for longer than the ac-
quisition operation.

Table of Contents

Other manuals for Tektronix TDS5000B Series

Questions and Answers:

Question and Answer IconNeed help?

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

Tektronix TDS5000B Series Specifications

General IconGeneral
BrandTektronix
ModelTDS5000B Series
CategoryTest Equipment
LanguageEnglish

Related product manuals