EasyManua.ls Logo

Tektronix TDS210 - Page 314

Tektronix TDS210
346 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
Loading...
Programming Example
4-2
TDS200, TDS1000/2000, TDS1000B/2000B, TPS2000 Programmer
> rem ”Start a single sequence acquisition.”
> acquire:stopafter sequence
> acquire:state on
> rem ”Wait for the acquisition to complete.”
> rem ”Note: your controller program time-out must be set long
enough to handle the wait.”
> *opc?
1
> rem ”Use the oscilloscope built-in measurements to measure the
waveform you acquired.”
> measu:immed:type mean
> measu:immed:value?
:MEASUREMENT:IMMED:VALUE 2.4631931782E0
> rem ”Be sure to use the *esr? query to check for measurement
errors.”
> measu:immed:type freq
> Measu:immed:value?
:MEASUREMENT:IMMED:VALUE 9.9E37
> *esr?
16
> allev?
:ALLEV 2202,”Measurement error, No period found;
> rem ”Query out the waveform points, for later analysis on your
controller computer.”
> data:encdg ascii
> curve?
:CURVE 7,6,5,5,5,6,6,6,8 [...]
> rem ”Query out the parameters used for caculating the times and
voltages of the waveform points.”
> wfmpre?
:WFMPRE:BYT_NR 1;BIT_NR 8;ENCDG ASC;BN_FMT RP;BYT_OR MSB;NR_PT
2500; [...]

Table of Contents

Related product manuals