292 Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
Creating and Downloading Waveform Files
Programming Examples
% header.pulse = 'None'; % Marker routing
'Non','M1','M2','M3','M4'
% header.alcHold = 'None'; % Marker routing
'Non','M1','M2','M3','M4'
% header.description = 'Keysight Technologies'; % User provided
description
%
% INPUT PARAMETERS:
% tcpipAddress - '141.121.148.188' What ever works for your signal
Generator!
% name - Waveform name - 21 characters max
% iqWave - Complex waveform, min length 60 points
% markers - markers(4,length(iqWave)) 4 possible markers
% header - Structure containing waveform information.
%
% OUTPUT PARAMETERS:
%
% EXAMPLES:
% name = 'My_Test'; % Waveform name
% tcpipAddress = '141.121.151.129'; % Signal Generator IP
Address
% n = 1000; % Points in waveform
% phase = (102*pi/n)*(0:(n-1));
% iqWave= complex(cos(phase),sin(phase)); % Create single tone
% markers = zeros(4,n); % Create markers
% markers(1,1:2) = 1;
% markers(2,1:4) = 1;
% markers(3,1:8) = 1;
% markers(4,1:16) = 1;
% header.sampleRate = 50e6; % Set Sample Rate to 50
MHz
% Download( tcpipAddress, iqWave, name, markers, header);
%
% Range checks
if nargin<2
Содержание X-Series
Страница 4: ...4 ...
Страница 10: ...10 Contents ...