EasyManuals Logo

Keysight Technologies N5173B EXG Programming Guide

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
Page #159 background imageLoading...
Page #159 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 159
Programming Examples
LAN Programming Interface Examples
% The communication is over TCP-IP (LAN).
% destRate is assumed to be 200e6 if missing
% displayCorr is assumed to 0 (off) if missing
% Example: [corrFilter] = loadPxaEqFilter('pxa4')
% output of corrFilter is in time domain.
% NOTE: The equalization filter feature on the PXA must be ON for
this
% script to work. It can be EQ Hold ON.
%
% Typically followed with something like:
% writeMxgFir('a-n5182b-00211', 'EQ_1GHZ_62MHZ', corrFilter);
if (nargin<1 || nargin>3)
error('[corrFilter] = loadPxaEqFilter(pxaAddress[, destRate[,
displayCorr]]) -- destRate is assumed to be 200e6 if missing');
end
if (nargin<2)
destRate=200e6;
end
if (nargin<3)
displayCorr=0;
end
% contact PXA
t=tcpip(pxaAddress, 5025);
t.OutputBufferSize=1*1024*1024;
t.InputBufferSize=1*1024*1024;
fopen(t);
fprintf(t, ':DISPlay:DDEM:TRAC2:FEED "Eq Impulse Response1"\n');
fprintf(t, 'DISP:DDEM:TRACe2:FORMat REAL\n');
fprintf(t, 'calc:DDEM:DATA2?\n');
realTime = readArrayOfDoubles(t);
fprintf(t, 'DISP:DDEM:TRACe2:FORMat IMAG\n');
fprintf(t, 'calc:DDEM:DATA2?\n');
imagTime = readArrayOfDoubles(t);
coeffs = realTime + 1i.*imagTime;

Table of Contents

Other manuals for Keysight Technologies N5173B EXG

Questions and Answers:

Question and Answer IconNeed help?

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

Keysight Technologies N5173B EXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5173B EXG
CategoryPortable Generator
LanguageEnglish

Related product manuals