Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI VISA y drivers

Here's an example of reading 1 marker as fast as possible.  I was able to get 1pt every 50ms without any aliasing. 

s-param_marker_read_vs_time.png

 

s-param_marker_read_vs_time_FP.png

 

It tries to grab the default measurement setup, but you might need to tweak the code a bit to fit your needs.  It assumes that the window being displayed is Window #1, it will select what channels are available and use Marker #1. 

 

For me I setup a 401pts (1kHz IF bandwidth, 8.5-12.5GHz) with a marker near 10GHz.  I then fiddled with the cables to get the s11 value to change and it tracked nicely.  I was displaying the data in dB, so you only have a Re.  I assume you could change the measurement display or data format and get Re+Im returned from marker, but I didn't try.

 

Craig  

0 Kudos
Message 11 of 11
(551 Views)