Programming Example
4−2
TDS200/1000/2000 Series Oscilloscope Programmer Manual
> 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; [...]