The following Matlab project contains the source code and Matlab examples used for agilent e4438c dowload wave file.
%AGT_DOWNLOAD_WAVE - Download complex wave file to signal generator and playback
% For Agilent ESG E4438C
% Waveform Data Requirements:
% Signed 2's complement (32767 = positive full DAC scale output; 0 = 0 volts; ?32768 = negative full DAC scale output)
% 2-byte integer values
% Minimum of 60 samples per waveform (60 I and 60 Q data points)
% Interleaved I and Q data (alternating I and Q data points, with the Q data following the I data)