07-12-2012 10:05 AM
Hello,
I would like to ask about how to reduce the noise of the data acquired from DAQ. My programs mainly measure temperature, pressure and flow rate. The acquired values are fluctuating all the time which should be constant. I think it is the noise from the signal from my USB. Are there any block functions to handle this issue? And where to insert it? Thank you in advance!!
07-12-2012 10:35 AM
Could you crop your picture so we can actually see it? Currently it is over 2500pixels wide, containing mostly white space?
07-12-2012 11:24 AM
ok I would better attach my VI. Thank you in advance
07-12-2012
12:16 PM
- last edited on
03-19-2025
07:22 PM
by
Content Cleaner
I've just posted a reply about filtering here - https://forums.ni.com/t5/LabVIEW/Better-Filter-VI/td-p/2065446
Might be useful here as well.
07-13-2012 07:05 AM
Hi Bombbooo,
for analyzing noise-related issues, a good approach is to compare the measurements with the results you get
from a trusted example VI or test-application for your measurement device.
If you don´t see the noise with those but with your VI you can dig deeper into the code to debug.
Did you compare your results with the results of a shipping example VI or test-app?
regards
Marco Brauner NIG
07-13-2012 07:18 AM
Before software is written for a data acquisition, one must make sure that the signal being acquired is actually that which one wants to acquire. Most of the time, this is solved by signal conditioning. There are many things to consider: The length of the wire carrying the voltage to the DAQ card, shielding, amplification of the signal to a range suitable for the DAQ, configuring the DAQ to the proper voltage range, filtering, and so on.
I have not looked at your code and would not consider the code until I know that the DAQ is getting the cleanest signal from the transducer. The issue first needs to be fixed at the source, because no wizzardry will make that better. Once a good / clean signal is acquired by the DAQ (which could be confirmed by an oscilloscope), if there is undesired waveforms in the data (that did not show up on the scope), then it is time to look at the software.
07-13-2012 07:29 AM
Yes i already compare the signal between the data acquisition VI of the test bench (From the company) and my own VI (which I imported the test bench VI to connect with my own program). The signal fluctuations are in similar level. It is not the problem with my program. I think it is coming from the signal generation of the USB ports
07-13-2012
07:41 AM
- last edited on
03-19-2025
07:22 PM
by
Content Cleaner
Ok, that´s what I was expecting 😉
Please check out the tutorial about field wiring of signals which is about preventing noise-injection.
Marco Brauner NIG