EasyManuals Logo

Keysight Technologies N5166B CXG Programming Guide

Keysight Technologies N5166B CXG
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 #164 background imageLoading...
Page #164 background image
164 Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
Programming Examples
LAN Programming Interface Examples
either the automatable loadPsaEqFilterFreq.m example (1) or the
loadVsaEqFilter.m (example 3) to manually work with the VSA 89600 software.
This example can also be used to create real modulation FIRs.
function [rateAdjustedFilter]=writeMxgFir(host, instrumentFilename,
timeDomainFilter, osr, rate, destRate, maxTaps)
% writeMxgEqFir(host, instrumentFilename, timeDomainFilter, osr,
rate, destRate, maxTaps);
% writes filter to 'instrumentFilename' on 'host' using tcp-ip. Real
or complex is
% auto-detected. osr is assumed to be 1 if it is missing. rate is
assumed
% to be 200Mhz if missing. destRate is assumed to be 200Mhz if
missing.
% maxTaps is the hardware limit of the MXG (256 if not specified).
% This value should be 256 for the Equalization filter and 32*osr
for the
% Arb Modulation filter. Note that the filter has a rectangular
window
% applied with a width of maxTaps centered about the peak point.
% Example: writeMxgEqFir('mxg1', 'a', [-0.1 0.1 0.4 0.1 0.4 0.1
-0.1]);
if (nargin<3 || nargin>7)
error('usage: writeMxgFir(host, instrumentFilename,
timeDomainFilter[, osr[, rate[, destRate[, maxTaps]]]])');
end
if (nargin<4)
osr=1;
end
if (nargin<5)
rate=200e6;
end
if (nargin<6)
destRate=200e6;
end
if (nargin<7)
maxTaps=1024;
end
% adjust coefficients for destination rate

Table of Contents

Other manuals for Keysight Technologies N5166B CXG

Questions and Answers:

Question and Answer IconNeed help?

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

Keysight Technologies N5166B CXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5166B CXG
CategoryPortable Generator
LanguageEnglish

Related product manuals