Chapter 4 155
Downloading and Using Files
Downloading ARB Waveform Data
Downloading Waveforms
Before they are sequenced and played, the waveform data file and the associated marker file must be
downloaded into waveform memory. The waveform data file can be loaded into the signal generator’s
waveform or NVWFM memory using the following methods:
• SCPI using VXI-11 (VMEbus Extensions for Instrumentation as defined in VXI-11)
• SCPI over the GPIB or RS-232 interface
• SCPI with sockets LAN (using port 5025)
• File Transfer Protocol (FTP). Refer to “Using FTP” on page 157 for information on FTP.
Sample Command Line Using SCPI
SCPI command, <Arbitrary Block Data>
<Arbitrary Block Data> is defined in the IEEE std. 488.2-1992 section 7.7.6. The following is an
example of the format as used to download waveform data to the signal generator:
:MMEM:DATA "WFM1:<file_name>", #ABC
<file_name> the name of the waveform file stored in the signal generator.
A the number of decimal digits to follow in B.
B a decimal number specifying the number of data bytes in C.
C the binary waveform data.
Example 1
:MMEM:DATA "WFM1:FILENAME", #3240<240 bytes of data>
FILENAME the file name to appear in the signal generator’s waveform memory catalog.
#3 3 decimal digits will be used to define the number of data bytes.
240 240 bytes of data will follow.
<240 bytes of data> the binary waveform data order for each 2-byte sample is defined as MSB (most
significant byte) first and LSB (least significant byte) last. The waveform must have at
least 60 samples of data. Each sample (I/Q data) is represented by 4 bytes, 2 bytes for
the I sample and 2 bytes for the Q sample. In this example, 240 bytes of data represents
60 samples of data.