RF Measurement Devices

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting trace data through R&S ZVR Vector Network Analyzer in a tabular format

Solved!
Go to solution

Hello,

 

I am working on automating some network analyzer measurements. I am using the ZVR network analyzer from Rohde & Schwarz and I am communicating with the instrument through GPIB. One of the measurements requires me to get the values of the S parameters for a whole frequency range and display it in a tabular fashion which can then be exported to excel.

 

So, how can I make labview to get me this trace data of frequency and the corresponding S-parameter value without using the marker function? I was unable to find a functional block that could do this function in the Instrument driver palette for this instrument which is available through the NI / Rohde & Schwarz website.

 

I would really appreciate any comments in this regard.

 

Thank You,

 

Vivek

0 Kudos
Message 1 of 7
(8,078 Views)
Solution
Accepted by topic author vivek.madhavan.13

Hi Vivek,

 

in that LabVIEW driver there are 2 VIs:

 

RSZV Getting Started.vi

RSZV Application Example.vi

 

There you find how to read entire trace.

 

Regards,

Milo

Download All
Message 2 of 7
(8,069 Views)

Thank you very much Milo. It worked. Smiley Happy

Regards,

Vivek

0 Kudos
Message 3 of 7
(8,005 Views)

Hi,

 

If I use the same application example I am only able to get only y axis value not the X axis value. Because the data ouput is 1 D array. Do you have any more possible example with 2 D array ?

 

Regards,

Karthik

0 Kudos
Message 4 of 7
(4,361 Views)

Hey K@rthi,

 

This driver is actually maintained by R&S, not National Instruments. I looked at the LLB you get with their driver, and it doesn't seem apparent how you could change the output from their function calls. However, if you wanted to get some more information, it'd be best to try and reach out to Rohde & Schwarz, since this isn't an NI maintained driver.

 

Regards,

 

Cason

NI Applications Engr.

Cassandra Longley
Senior Technical Support Engineer - FlexRIO, High Speed Serial and VRTS
0 Kudos
Message 5 of 7
(4,348 Views)

Hi Karthik,

 

Its been a long time I used the ZVR VNA, so cannot verify how I managed this. However, if you know the number of data points, freq_start and freq_stop, generating your own array of X values shouldn't be that difficult, I suppose.

 

Total number of Y values (Yn = N-1)

Where N is the total number of data points (If N = 401 then Yn = 400)

Total number of Y values will also be equal to total number of X values (Xn = Yn)

So if you know your frequency range your X values will be of the form [freq_start + i x (freq_stop - freq_start)/N] where i ranges from 0 to N.

 

However, it would be ideal to have a way to extract the X values from the VNA.

0 Kudos
Message 6 of 7
(4,346 Views)

Thanks Mr.Vivek 

 

I think so that form would give me x axis value. Let me try it.

0 Kudos
Message 7 of 7
(4,342 Views)