EasyManuals Logo

Keysight Technologies N5172B EXG Programming Guide

Keysight Technologies N5172B EXG
398 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
Page #289 background imageLoading...
Page #289 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 289
Creating and Downloading Waveform Files
Programming Examples
Creating and Downloading a Pulse
On the documentation CD, this programming example’s name is “pulsepat.m.”
This MATLAB programming example performs the following functions:
I and Q data creation for 10 pulses
—marker file creation
data scaling
downloading using Keysight Waveform Download Assistant functions (see
“Using the Download Utilities” on page 250 for more information)
% verify that communication with the Keysight X-Series signal
generator has been extablished
[status, status_description, query_result] = agt_query(io,'*idn?');
if (status < 0) return; end
% set the carrier frequency and power level on the signal generator
using the Keysight
%Waveform Download Assistant
[status, status_description] = agt_sendcommand(io, 'SOURce:FREQuency
6000000000');
[status, status_description] = agt_sendcommand(io, 'POWer 0');
% define the ARB sample clock for playback
sampclk = 40000000;
% download the iq waveform to the baseband generator for playback
[status, status_description] = agt_waveformload(io, IQData,
'pulsepat', sampclk, 'play', 'no_normscale', Markers);
% turn on RF output power
[status, status_description ] = agt_sendcommand( io, 'OUTPut:STATe
ON' )
You can test your program by performing a simulated plot of the in–phase
modulation signal in Matlab (see Figure 5-2 on page 290). To do this, enter
plot (i) at the Matlab command prompt.
For the Keysight X-Series signal generators, the maximum frequency is 6.
For more frequency information, refer to the signal generator’s Data Sheet.

Table of Contents

Other manuals for Keysight Technologies N5172B EXG

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies N5172B EXG and is the answer not in the manual?

Keysight Technologies N5172B EXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5172B EXG
CategoryPortable Generator
LanguageEnglish

Related product manuals