LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

slow averaginig problem?

 Hi
i am taking data at higher Baudrates from a serial port.Now i have to average 250 samples coming in to give out one sample.I am using formula node for implementing my conditions.But the sample is avergaed out at slower rate giving 0.5 sample/sec.I want 1 sample/sec.How can i process this thing fast.
P.s there is no time delay used in the body where samples are taken.
0 Kudos
Message 1 of 4
(2,902 Views)

Hi DeWalker,

how do you make it at the moment? If you have an array, you can use the "Add Array Elements" and the "Divide" functions, you don´t need a formula node.

Mike

0 Kudos
Message 2 of 4
(2,886 Views)
Hi Mike
I am doing exactly what you have mentioned ..i have some array processing and data which comes out is added with add array and divided.But i m using formula node for applying some conditional checks for data conversions.any other suggestions
regards
0 Kudos
Message 3 of 4
(2,863 Views)
Hi DeWalker,
can you show your code or a picture of it?
Mike
0 Kudos
Message 4 of 4
(2,841 Views)