ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

frequency plot not showing

Solved!
Go to solution

hi everyone,

im using NI USB6009 in order to acquire two different voltage plots as well as a frequency plot, everything seems to work properly except that nothing is being plotted on the frequency plot. i have attached the vi, so could anyone detect what my problem could be.

 

Cheers 

0 Kudos
Message 1 of 2
(2,603 Views)
Solution
Accepted by yazan206

You've set your task up for 2 channels ai0 and ai1.  You are getting N channels thus a 1-D array of waveforms that will contain 2 waveforms.  Then you are indexing that array to get 2 Voltage display, and a 3rd waveform that you are feeding to frequency.

 

That waveform is empty because you never acquired it!

 

I imagine you probably want to do the frequency off of one of the two voltage waveforms you acquired.

 

PS.  You don't need the constants 0, 1, 2 on the Index Array.  It will give you those indices by default.

Message 2 of 2
(2,587 Views)