EasyManua.ls Logo

Keysight E4428C ESG RF - Page 301

Keysight E4428C ESG RF
404 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Keysight Signal Generators Programming Guide 293
Creating and Downloading Waveform Files
Programming Examples
% Copyright 2009 Keysight Technologies Inc.
%
% This function downloads a waveform and markers to an Keysight ESG-C,
% PSG-C/D, or MXG Vector Signal Generator. markers is a two dimentional
% array that contains 4 markers. The header contains the sample rate, the
% waveform rms voltage, and the marker routings to the pulse modulator and
% the ALC hold. Default values used by the header if values are not present.
% header.sampleRate = 100e6; % Waveform Sample Rate
% header.rms = CalculateWaveformRMS(iqWave); % Waveform RMS voltage
% header.peak = 1.414; % Waveform Peak voltage
% header.runtimeScaling = 70; % Runtime scaling in percent
% 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
error('ERROR: download() Insufficient input parmaeters.');

Table of Contents

Related product manuals