EasyManua.ls Logo

Keysight Technologies N5173B EXG - Waveform Sequence Softkeys

Keysight Technologies N5173B 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
Loading...
158 Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
Programming Examples
LAN Programming Interface Examples
resampledTime = resample(centeredTime, destRate, rate, 30);
resampledTime = resampledTime.*(rate/destRate);
else
resampledTime = centeredTime;
end
% clip off the center 256 (if necessary)
if (length(resampledTime)>256)
% the peak point is assumed to be the center
[maxval, index] = max(abs(resampledTime));
center=index;
left = center-127;
right = left+255;
clippedTime=resampledTime((left):(right));
else
clippedTime = resampledTime;
end
corrFilter=clippedTime;
end
function array = readArrayOfDoubles(fid)
line = fgets(fid);
array = sscanf(line, '%g%*c');
end
Example 2: Reading a PXA Trace and Setting up the Equalization Filter
Using Matlab
This example reads a PXA trace of “Eq Ch Freq Resp” or “Eq Impls Resp” and
creates an equalization filter compatible with X-Series signal generators.
function [corrFilter] = loadPxaEqFilter(pxaAddress, destRate,
displayCorr)
% [corrFilter] = loadPxaEqFilter(pxaAddress[, destRate[,
displayCorr]])
% Reads out the current Equalization filter active on the PXA
specified.

Table of Contents

Other manuals for Keysight Technologies N5173B EXG

Related product manuals