Using The Instrument 3-21
Memory Management
Commands
Arbitrary memory can be divided into smaller segments; up to 4096
different arbitrary waveforms can be generated with the Model
3152. The length of each segment is left totally to the user’s
discretion. To partition the arbitrary waveform memory, use the
following command:
TRACe:DEFine <segment_number>,<length>
Note that numbers, not names, are assigned to segments that are
defined. Numbers can range from 1 through 4096. The order of
assignment is not important as long as the size of the segments,
having already been defined, is not changed. You cannot query the
TRAC:DEF command so you must keep good track if you intend to
partition the memory into many segments.
If a mistake is made and removal of one or more segments from the
active directory is needed, use the following command:
TRACe:DELete <n>
where <n> is the number of the segment to be removed from
memory. Note that if a segment is deleted, the memory portion that
belonged to this segment is no longer accessible. The next segment
that is defined will be placed after the last defined memory segment.
However, if the last 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, recommended to
periodically clear the entire memory and only reload waveforms that
will be used.
To partition the memory from the beginning, use the following
command:
TRACe:DELete: ALL
CAUTION
This command will destroy waveforms that were previously
loaded into memory. After using this command, waveform
segments will line-up from address 0 upwards.
Loading Arbitrary
Waveforms
There are two ways to load waveforms into the Model 3152; using
a graphical user interface, i.e., WaveCAD, or low-level
programming. When using WaveCAD, disregard most of this
chapter as WaveCAD does the work for you. When writing your own
code, use the following commands to load data into a specific
memory segment.
Содержание 3152
Страница 16: ...Getting Started 1 7 Figure 1 1 Segment 1 Sin x x Waveform Figure 1 2 Segment 2 Sine Waveform...
Страница 25: ...Configuring The Instrument 2 6 This page was intentionally left blank...
Страница 63: ...Using The Instrument 3 38 This page was intentionally left blank...
Страница 80: ...SCPI Command Reference 4 17 Figure 4 1 SCPI Status Registers...
Страница 121: ...Specifications A 12 This page was intentionally left blank...