Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67020

How to change function generator parameters in real time without re-running the 'Standard Waveform Generation' example VI?

$
0
0

I found an example VI with the AFG3022 (a function generator) instrument driver which can produce any standard waveform I want, once I start the VI. But, I need to be able to change the frequency dynamically and in real time. To do this, I have to type in a new frequency in the frequency text box and run the VI again which causes the function generator to reset and run with the new frequency I entered. How can I  dynamically (in real time) change the frequency without resetting the function generator? The VI I am using s attached.


Viewing all articles
Browse latest Browse all 67020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>