05-04-2013 10:19 AM
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 ?
05-04-2013 12:55 PM
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.
05-04-2013 01:09 PM
I cleaned up the code some.
/Y
05-04-2013 01:42 PM
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.
05-05-2013 08:45 PM
Thank you...!