Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the data from marker 2 of network analyzer?

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

0 Kudos
Message 1 of 5
(4,429 Views)

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?

0 Kudos
Message 2 of 5
(4,417 Views)

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.

0 Kudos
Message 3 of 5
(4,415 Views)

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.

 

0 Kudos
Message 4 of 5
(4,401 Views)

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.

 

 

 

 

 

0 Kudos
Message 5 of 5
(4,396 Views)