EasyManuals Logo

Tektronix MSO58 User Manual

Tektronix MSO58
1026 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 #928 background imageLoading...
Page #928 background image
Status and Events
This is the simp
lest approach. It requires no status handling or loops. However,
you must set the controller time-out for longer than the acquisition operation.
Example of Using the *WAI
Command
The *WAI command forces completion of previous commands that generate
an OPC message. No commands after the *WAI are processed before the OPC
message(s) are generated
The same command sequence using the *WAI command for synchronization
looks like this:
/* Set up conditional acqui sition */
ACQUIRE:STATE OFF
DISPLAY:WAVEVIEW1:CH1:STATE 1
HORIZONTAL:RECORDLENGTH 1000
ACQUIRE:MODE SAMPLE
ACQUIRE:STOPAFTER SEQUENCE
/* Set up the measurement parameters on the channel we’re
about to sequence */
MEASUREMENT:MEAS1:TYPE AMPLITUDE
MEASUREMENT:MEAS1:SOURCE CH1
/* Acquir e waveform data */
ACQUIRE:STATE ON
/* Wait until the acquisition is complete before taking
the measu rement*/
*/
*WAI
/* Take amplitude measurement */
MEASUREMENT:MEAS1:RESUlts:CU RRentacq:MEAN?
The contro
ller 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.
Example of Using the
BUS
YQuery
The BUSY? query allows you to nd out whether the oscilloscope is
bu
sy processing a command that has an extended processing time such as
single-sequence acquisition.
The same command sequence, using the BUSY? query for synchronization, looks
like this:
/* Set up conditional acqui sition */
ACQUIRE:STATE OFF
DISPLAY:WAVEVIEW1:CH1:STATE 1
HORIZONTAL:RECORDLENGTH 1000
ACQUIRE:MODE SAMPLE
ACQUIRE:STOPAFTER SEQUENCE
3-12 MSO54, MSO56, MSO58, MSO58LP Programmer

Table of Contents

Other manuals for Tektronix MSO58

Questions and Answers:

Question and Answer IconNeed help?

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

Tektronix MSO58 Specifications

General IconGeneral
BrandTektronix
ModelMSO58
CategoryTest Equipment
LanguageEnglish

Related product manuals