03-19-2016 04:11 AM
Hi guys,
I am trying to use Labview to realtime plot s-parameters of VNA measurements in my laptop, just like we can realtime plot signals measured by Oscilloscope. Does anyone try this before? I found some examples for VNA e5017c, but they can only read the marker's values not for all measurement results.
Jacob.
03-20-2016 11:44 AM
03-20-2016 01:38 PM
The phrase "realtime" has a precise meaning in the LabVIEW world, including a precise and predictable determinism. You cannot have a "Real-Time" environment if you are (only) running under Microsoft Windows, which controls the "clock" and the scheduling of all the threads.
If you want a "reasonably accurate" set of data that are being produced by a clocked process (such as DAQ equipment with an on-board clock, or an external instrument that does its own timing), it is certainly possible to have LabVIEW produce plots, save data to disk, etc. with a reasonably-close correspondence between "when the data arrived" and "when the data are shown/saved/etc."
Notice the word "reasonably" in the previous sentence. There will be (unknown, and potentially unknowable) variation in the timing of your data processing code (with luck, good programming, and the cooperation of the rest of the code running in your PC, this should be in the few-millisecond range) -- it is up to you to decide what you can tolerate.
Bob Schor
03-20-2016 08:49 PM
@liuchunchih wrote:Hi guys,
I am trying to use Labview to realtime plot s-parameters of VNA measurements in my laptop, just like we can realtime plot signals measured by Oscilloscope. Does anyone try this before? I found some examples for VNA e5017c, but they can only read the marker's values not for all measurement results.
Jacob.
Grab the programmer's guide, find a nice quiet corner and start reading. 😉
I'm not sure you will be able to achieve what you want though, because of the time it takes to send the plot data.