General Programming 8
M8190A User’s Guide 281
8.22.12 :TRACe[1|2][:DATA][?]
<segment_id>,<offset>,(<length>|<block>|<numeric_values>)
<segment_id>,<offset>,(<length>|<block>|<numeric_values>)
< segment_id > – id of the segment, 1..512k for option SEQ, 1 if not installed
<offset> offset in samples for direct modes and I/Q sample pairs for interpolated
modes to allow splitting the transfer in smaller portions. The offset parameter is
necessary to overcome the SCPI restriction that only allows transferring up to
999999999 bytes at once.
<block> waveform data samples and marker values in the data format described
above in IEEE binary block format
<numeric_values> waveform data samples and marker values in the data format
described above in comma separated list format; each element is a 16-bit
integer values representing DAC samples and marker data Di in direct modes or
I/Q samples and marker data Ii, Qi in interpolated modes.
Direct mode: D0, D1, D2,...
Interpolated mode: I0, Q0, I1, Q1, I2, Q2…
Use this command to load waveform and marker data into the module memory. If
<segment_id> is already filled with data, the new values overwrite the current values.
If length is exceeded error -223 (too much data) is reported.
If the segment is split in smaller sections, the sections have to be written in order of
ascending <offset> values. If modification of the segment contents is necessary, the
whole segment with all sections must be rewritten.
If segments are created and deleted in arbitrary order, their position and order in
memory cannot be controlled by the user, because the M8190A reuses the memory
space of deleted segments for newly created segments. To fulfill the streaming and
minimum linear playtime requirements the only way to control the position of the first
downloaded segment and the order of the following segments is to delete all
segments from memory (:TRACe[1|2]:DELete:ALL) and then creating the segments in
the order in which they should be placed in memory.