LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to measure frequency in labview ?

I am new to labview. I've created a project to plot the waveforms from 4 analog input channels.
The analog inputs are given to ADS7825 in continuous conversion mode.ADC data is given to a microcontroller(ATmega 2560) which serially transmits it to labview(via FT232-bi-directional usb/serial converter).

 

Please help me improve the attached VI.

 

Problems :

1) When I change the frequency/Amplitude above certain limits the waveforms shift windows, i.e they are displayed randomly.
2) I HAVE to give a delay after sampling each channel or else there is an error of bit overrun in Labview.

3) How to measure the frequency of periodic waveforms ?

Message 1 of 5
(2,482 Views)

I'm not clear as to exactly what your problem is within your VI.  But I do see a number of unnecessary operations for doing the data type conversions.  Quite a few functions can be eliminated by using the typecast function.  Let's clean up the VI first.

Message 2 of 5
(2,463 Views)

I cleaned up the code some.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 3 of 5
(2,460 Views)

I missed the fact that the constant that all the values were multiplied by was the same.

 

The Bytes at Port property node could be eliminated also because it is never used.

0 Kudos
Message 4 of 5
(2,457 Views)


Thank you...!

0 Kudos
Message 5 of 5
(2,413 Views)