06-06-2013 11:14 AM
Hi,I have a problem in averaging on my labview problem,I just couldn't manage to average the waveform generated from signal generator.Do you know I should I do it and what kind of way I am supposed to use,cause my way doesn't work.If I generate a sine signal from signal generator,the averaging waveform is always a straight line whose value keeps changing.
This is the block diagram and result I got.
Thanks
06-11-2013 05:50 AM
Hi Ultrasound,
It is more difficult to understand what is going on in the code and what you are trying to achieve by the look of pictures, could you post your project files?
Are you trying to get a moving average of a waveform between two particular points?
06-11-2013 06:46 PM
Hello,
I am trying to program the flexrio as an oscilloscope, I am basically trying to average the RF signal to cut out the noise. I am new to using the Flexrio and any help on the matter will be very helpful. Thank you.
06-11-2013 08:59 PM - edited 06-11-2013 09:01 PM
@Ultrasound wrote:
Hi,I have a problem in averaging on my labview problem,I just couldn't manage to average the waveform generated from signal generator.Do you know I should I do it and what kind of way I am supposed to use,cause my way doesn't work.If I generate a sine signal from signal generator,the averaging waveform is always a straight line whose value keeps changing.
This is the block diagram and result I got.
Thanks
You're doing a few things incorrectly... including your "averaging":
All you're doing in above section is repeating same averaging n number of times! If you just want one average of entire waveform data at the end, you would simply remove that FOR loop and extrace number of averaged data from the array (but even that seems pointless regarding its functionality - perhaps you're meaning to do a "running-average" of data that are being acquired rather than doing an average at the end?... you'd have to first tell us what you're wanting to do)
(By the way, typecasting is done much easily using LabVIEW function as shown below)
06-12-2013 04:37 AM
Hello,
Thank you very much for your kind reply. I am indeed looking to do a running average of the waveform acquired inorder to reduce the nosie level, and also to increase the resolution of the data, as the bit depth is related to the number of averages by 1/2log(n), n being the number of averages.
Thank you.
07-22-2013 09:18 AM
Hello,
Thank you very much for your kind reply. I am indeed looking to do a running average of the waveform acquired inorder to reduce the nosie level, and also to increase the resolution of the data, as the bit depth is related to the number of averages by 1/2log(n), n being the number of averages.
Thank you.