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 #285 background imageLoading...
Page #285 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 285
Creating and Downloading Waveform Files
Programming Examples
— byte swapping and interleaving for little endian order data
— I and Q interleaving for big endian order data
— binary data file storing to a PC or workstation
— reversal of the data formatting process (byte swapping, interleaving, and
normalizing the data)
function main
%
% Program name: offset_iq_ml
% Using MatLab this example shows how to
% 1.) Create a simple IQ waveform
% 2.) Save the waveform into the EXG/MXG Internal Arb format
% This format is for the N5182B
% 3.) Load the internal Arb format file into a MatLab array
% 1.) Create Simple IQ Signal
*****************************************
% This signal is a single tone on the upper
% side of the carrier and is usually refered to as
% a Single Side Band Suppressed Carrier (SSBSC) signal.
% It is nothing more than a cosine wavefomm in I
% and a sine waveform in Q.
%
points = 1000; % Number of points in the waveform
cycles = 101; % Determines the frequency offset from the
carrier
phaseInc = 2*pi*cycles/points;
phase = phaseInc * [0:points-1];
Iwave = cos(phase);
Qwave = sin(phase);
% Alternate way to calculate the waveform RMS voltage

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