%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)
% Big endian byte order ( MSB store in lower address and send first )
% The same name for the marker, header, and I/Q file
% To help minimize signal imperfections, use an even number of samples
%
% Volatile (WFM1) Memory Available for Waveform Samples / Memory Size:
% Option Available Samples Memory Size
% --------------------------------------------
% 001/601 8,377,088 40 MB
% 002 33,509,120 160 MB
% 602 67,018,496 320 MB
%
% 1 sample contains 5 bytes:
% 2(I Data) + 2(Q Data) + 1(Marker Data) = 5(Waveform Sample)
%
% Inputs:
% wave - wave complex samples (5 bytes per sample)
% sampclk - define the ARB sample clock for playback (samples/s)
% RF - carrier frequency (Hz)
% Power - carrier power (dBm)
% CarrierNoise - C/N (dB)
% ipAddr - remote ip address (remote port number fix to 5025)
%
% Example:
% agt_download_wave(rand(100,1)+1i*rand(100,1), 2e3, 1e6, 0, inf, 'localhost')
%
% Other m-files required:
% 'binblockwrite_.m'
% 'busy_query.m'
% 'error_query.m'
% 'getInstrInfo.m'
% 'send_scpi.m'
% 'error_query.m'
% 'wave2int16.m'
% 'num2str_.m'
% Subfunctions: none
% MAT-files required: none
%
% See also: agt_download_bit.m
% Author: Wang Lei
% Organization: Nanjing University of Aeronautics and Astronautics (NUAA), China
% Email: wanglei_1982@nuaa.edu.cn
% Created: 6-Jan-2011; Last revision: 6-Jan-2011
인용 양식
lei wang (2026). Agilent E4438C dowload wave file (https://kr.mathworks.com/matlabcentral/fileexchange/29973-agilent-e4438c-dowload-wave-file), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
