Command Groups
command. Next,
specify the fi rst data point within the waveform record. For
example, when you set DATa:STARt to 1, data points will be stored starting
with the first point in the record. The oscilloscope will ignore the value set by
DATa:STOP when reading in data. It will stop reading data when there is no data
to read or when it has reached the specified record length.
When transferring data from the oscilloscope, you must specify the first and last
data points in the waveform record. Setting DATa:STARt to 1 and DATa:STOP to
the record length will always return the entire waveform.
Waveform D
ata Locations
and Memory Allocation
The DATa:SOUrce command specifies the waveform source when transferring a
waveform from the oscilloscope. You can only transfer one waveform at a time.
Waveforms sent to the oscilloscope are always stored in one of the reference
memory l
ocations. Use the DATa:DESTination command to specify a reference
memory location.
Waveform Preamble
Each waveform you transfer has an associated waveform preamble, which
contai
ns information such as horizontal scale, vertical scale, and the other settings
in effect when the waveform was created. Refer to the individual WFMInpre and
WFMOutpre commands for information.
Scaling Waveform Data
Once
you transfer the waveform data to the controller, you can convert the data
points into voltage values for analysis using information from the waveform
preamble.
Transferring Waveform
Data from the Oscilloscope
You
can transfer w aveforms from the oscilloscope to an external controller using
the following sequence:
1. Se
lect the waveform source(s) using DATa:SOUrce.
2. Specify the waveform data format using DATa:ENCdg.
3. Specify the number of bytes per data point using WFMOutpre:BYT_Nr.
4. Specify the portion of the waveform that you want to transfer using
DATa:STARt and DATa:STOP.
5. Transfer waveform preamble information using the WFMOutpre? query.
6. Transfer waveform data from the oscilloscope using the CURVe? query.
MSO2000B, DPO2000B, MSO2000 and DPO2000 Series Oscilloscopes Programmer Manual 2-53