Code covered by the BSD License
-
ADVFigure(varargin)
ADVFIGURE M-file for ADVFigure.fig
-
IOConfig(varargin)
IOCONFIG M-file for IOConfig.fig
-
demod_demo
MATLAB Demo for Agilent MXA Signal Analyzer
-
tuneAndListen(varargin)
TUNEANDLISTEN M-file for tuneAndListen.fig
-
ADV_Close()
-
ADV_DataToBuffer( handle, dat...
ADV_DataToBuffer Stores spectrum data into the persistence buffer.
-
ADV_Initialize()
ADV_Initialize Initializes the Advanced Data Visualization library.
-
ADV_Reset( handle )
ADV_INITPERSISTBUFFER Summary of this function goes here
-
ADV_SetDisplayMode( handle, m...
ADV_SETDISPLAYMODE Changes the module to the specified display mode.
-
ADV_Start()
ADV_START Launches the Advanced Data Visualization program.
-
MXA_AcquireData( handle )
MXA_AcquireData Triggers a sweep and reads back the trace.
-
MXA_GetXAxisArray( handle )
MXA_GetXAxisArray Returns an array of the x-axis frequency points.
-
MXA_GetYScaling( handle )
MXA_GetYScaling Returns the y scaling parameters from the MXA.
-
MXA_Initialize( vendor, addre...
MXA_Initialize Initializes the instrument control connection to the MXA.
-
[y,samplePeriod]=saAcquisitio...
-
example6
MATLAB/MXA example 6
-
example8
MATLAB/MXA example 8
-
y=kernelResample2(N,x,start,s...
y=rResampleF(N,x,start,step)
-
y=myamdemod(x,T);
construct a high pass filter
-
y=myfmdemod(x)
-
y=saListen(hnd, fc, bw, time,...
-
AcquireIQdata.m
-
C:\Program Files\MATLAB\R2006...
-
View all files
|
|
| ADV_Start() |
function ADV_Start()
%ADV_START Launches the Advanced Data Visualization program.
global g_ADVVendor
global g_ADVAddress
% Check to see if the I/O configuration file exists
if exist( 'AgilentADVConfig.mat', 'file' ) == 0
g_ADVVendor = 'agilent';
g_ADVAddress = 'TCPIP0::localhost::inst0::INSTR';
IOConfig;
else
vars = load( 'AgilentADVConfig.mat', 'vendor', 'visaAddress' );
g_ADVVendor = vars.vendor;
g_ADVAddress = vars.visaAddress;
end
% Display the ADV figure
retry = 1;
while retry
try
ADVFigure;
retry = 0;
catch
resp = questdlg( 'Could not connect to the spectrum analyzer. Would you like to edit the I/O configuration?', ...
'I/O Error', 'Yes', 'No', 'Yes' );
if strcmp( resp, 'Yes' )
IOConfig;
else
retry = 0;
end
end
end
|
|
Contact us at files@mathworks.com