Teledyne LeCroy PXA125 User Manual
Page 191
User Manual PXA125
Programming Reference 4-73
HINT
If you use multiple segments in your application,
you can combine all segments to one long
waveform and then use trac:def n,m commands to
define segments length.
TRACe:DEFine
Purpose
This command will define waveform segments and their relative length. The use of this command is abso-
lutely a must before you can download data using the SendBlock() function.
•
•
maximum is limited by the memory option that is installed in your instrument either 1Meg or 4Meg.
NOTE
The PXA125 operates in interlaced mode where four memory cells generate
one byte of data. Therefore, segment size can be programmed in numbers
evenly divisible by four only. For example, 2096 bytes is an acceptable length
for a binary block. 2002 is not a multiple of 4, therefore the generator will
generate an error message if this segment length is used.
TRACe:DELete
Purpose
This command will delete a segment. The memory space that is being freed will be available for new
waveforms as long as the new waveform is equal or smaller in size then the deleted segment. If the deleted
segment is the last segment, then the size of another waveform written to the same segment is not limited.
For example, let consider two segments, the first being a 1000-point waveform and the second with 100
points. If you delete segment 1, you can reprogram another waveform to segment 1 with size to 1000 points.
If you reprogram segment 1 with 1004 points, the instrument will generate an error and will not accept this
waveform. On the other hand, if you delete segment 2, which was the last segment you programmed, then
you can reprogram this segment with waveforms having length limited only by the size of the entire memory
space.
•
TRACe:DELete:ALL
Purpose
This command will delete all segments and will clear the entire waveform memory. This command is
particularly important in case you want to de-fragment the entire waveform memory and start building your
waveform segments from scratch.
TIP
The TRAC:DEL:ALL command does not re-write the memory so, whatever waveforms
were downloaded to the memory are still there for recovery. The TRAC:DEL:ALL