09-20-2012 07:45 PM
Hello,
I am writing a program to control network analyzer (Agilent E5062A). Please see the attachment. There are 4 traces on the screen, each trace has two markers: marker 1 is for searching minimum value; marker 2 is for searching maximum value. I am trying to read the data from marker1 of trace1 (S12 min), marker 2 of trace 1 (S12 max), marker 1 of trace 2(S21 min), and marker 2 of trace2 (S21 max). But this program does not work out. all those four indicators (S12 min, S12 max, S21 min, S21 max) got same data.
Please help me to fix this program.
Thanks a lot
Steven
09-21-2012 08:31 AM
It looks like all the data comes from marker 1 of the trace 1. I can see the marker 2 on screen is selected, but the data I got still comes from marker 1. Anyone has any idea about it?
09-21-2012 08:44 AM
I did more tests. The data I got is not the real data on marker 1 of trace 1 either. I do not know where the data comes from. It looks like there are something I did not set up correctly, before I start to read data from the markers.
09-21-2012 12:19 PM
Update: I set the frequecy sweep range is from 30Mhz to 160Mhz. I found that all the data I got is the value of the signal at 30Mhz. it is not the value at either marker 1 or mark 2.
Pleae help me to figure out what's going on.
Thanks.
09-21-2012 02:48 PM - edited 09-21-2012 02:49 PM
Why are you messing around with markers?
I used to work quite a bit with the Agilent PNAs.
I never bothered with markers.
Get back the trace data points.
It is possible to save the trace data to the network analyzer's hard drive as an SnP file.
You might want to be able to to do that first *manually*.
The key to all of this is to understand how the network analyzer *works* before you even begin automating your test.
Everything that you want to do with your "program" is doable from the front-panel of the instrument.