Specifications

User Manual 301/302
segment is deleted, the next downloaded segment will be written on
top of the deleted one. There is danger that by using the TRAC:DEL
command often large portions of memory will remain unused. It is,
therefore, suggested that you periodically clear the entire memory and
only reload waveforms that you intend to use.
To partition the memory from the beginning, use the following
command:
TRACe:DELete: ALL
In WaveWiz use the button.
CAUTION
This command will destroy waveforms that were previously loaded
i
nto memory. After using this command, waveform segments will
l
ine-up from address 0 upwards.
Loading Arbitrary
Waveforms
There are three ways to load waveforms into the 301/302 these are
using 1) WaveWiz, 2) LabVIEW driver, or 3) Low-level programming.
When using WaveWiz, disregard most of this chapter and move on to
“Using WaveWiz to Generate Arbitrary Waveforms” as this software
does the work for you. If you write your own application or instrument
driver, use the following commands to load data into a specific
memory segment.
First, define the work area. Define the segment number and its
associated length. The segment length must be divisible by eight or an
error will occur. For example, to use segment number 8 with a
waveform length of 1048 points use this command:
TRACe:DEFine 8,1048
Next, make segment 8 the active segment. The active segment must
be selected because as waveforms are loaded, the Model 301/302
must be notified as to where to place the data it receives. Select the
active segment using the following command:
TRACe:SELect 8
The next step is to transfer data to the active segment. Data is loaded
into the Model 301/302 using high-speed binary transfer. A special
command is defined by IEEE-STD-488.2 for this purpose. High-speed
binary transfer allows any 8-bit bytes (including extended ASCII code)
to be transmitted in a message. This command is particularly useful
for sending large quantities of data. The Model 301/302 uses this
command to receive waveforms from the controller:
Configuring the Instrument
45