Retrieving data from the AGILENT 4395A VNA

15 views (last 30 days)
I am trying to retrieve data from the AGILENT 4395A network analyzer. I find it impossible when it is working in sweep list mode, because I can't obtain the actual data at each frequency of the segment. Can anyone help me, please? THANKS A LOT

Answers (1)

sagrario dominguez
sagrario dominguez on 2 Dec 2015
Edited: Walter Roberson on 13 Dec 2015
To tell the truth I am currently using the kind of framework you cleverly said:
ttp://www.mathworks.com/matlabcentral/fileexchange/15014-res-meas ? Or https://www.mathworks.com/examples/instrument/11446-kpib (source at http://www.mathworks.com/matlabcentral/fileexchange/43486-kpib--kenny-purpose-interface-bus ) ?
since some of the scripts included in my code program are like that.
I’m attaching some of them. MATLAB CODE is a 2012 year versión. The "device" is what I call VNA4395.
The way my program works is:
A) Firstly, I call the script ‘portOpen’, just to open a communication port with my device: VNA4395, The AGILENT Network Analyzer 4395A. The code is : VNA4395= portOpen('GPIB0::17::INSTR','analyzer')
B) I have to calibrate my instrument for the required frequencies, and with the required standards.
Then, I take measurements -in a manual way- at these selected frequencies.
In our case, we work with some intervals/segments of frequency, as it is shown in table 1,or the photograph taken from the instrument display (DISPLAY 1)
Then, It comes the script ‘getDataAnalyzer’, which must be used each time I need to obtain both the Real part, or Imaginay part of all the scattering parameters: S11, S21, S22, S12
This script also gives me the frequencies= X data, the measurement span, the number of measurement points, etc.
I use it like this, e.g.:
S11R= getDataAnalyzer (VNA4395); for the real part of S11
and
S11I= getDataAnalyzer (VNA4395); for the imaginary part of S11
* :-(HERE COMES MY PROBLEM!! I CAN NOT retrieve the actual measurement points.
The reason is that this script is not useful for the SWEEP MODE ‘LIST’, than is what WE NEED in our measurements.
And, unfortunately I don’t know how to change the code for obtaining good results.
segment START STOP POIN POWER IFBW*
(number of points) (Bandwith)
1 100 KHz 300 KHz 2 0 dBm 10 Hz
2 1 MHz 3MHz 2 0 dBm 10 Hz
2 1 MHz 3MHz 2 0 dBm 10 Hz
2 1 MHz 3MHz 2 0 dBm 10 Hz

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!