Programming instructions
Downloading and Using Files
ARB Waveform Data Downloads
Chapter 4 151
Downloading Waveforms
Two files, a waveform data file and the associated marker file, are downloaded into waveform
memory before being sequenced and played. 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
• SCPI with sockets LAN (using port 5025).
• File Transfer Protocol (FTP). Refer to “Downloads Using FTP” on page 153 for information
on FTP.
Sample Command Line
A sample command line using SCPI:
SCPI command, <Arbitrary Block Data>
The <Arbitrary Block Data> is defined in the IEEE std. 488.2-1992 section 7.7.6. The
following is an example or 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.
NOTE If sockets is used to send data to the signal generator, you must provide an
end-of- file indicator. Use the following command to download waveform data:
MEM:DATA <WFM1:file_name>,#0<data> NL^END