From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to do averaging by trigger signal

I have a tachometer to trigger the data, and I want to do some average
to eliminate the random noises, how to do it in Labview.
Thanks!
0 Kudos
Message 1 of 2
(2,166 Views)
If I understand what you are saying, the way you trigger an acquisition should have minimal effect on the techniques you can use to denoise the data. You can do a running average, a median filter or even use some of the more advanced denoising techinques discussed in books such as Tukey's "Exploratory Data Analysis" (an excellent book, by the way).

In terms of code for doing the processing, building a running average subVI used to be one of the standard examples used in the LV training classes so there are dozens of implementations around--or you can build your own in about 5 minutes. The median filter is part of the "pro" version of LV. Beyond that I can send you stuff based on Tukey's work if you like.

Mike
mporter@arielcorp.com

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,166 Views)