04-12-2018 04:49 PM
Hi,
I am trying to setup an automated triggering based on data from a sensor that outputs current. However, the sensor data has a high frequency noise that I am afraid could generate false triggers on the system.
All my acquisition settings are originating from a subVI and the trigger data is "pulled" from there using the "source" input to the Trigger VI. Would anyone know of a way I could include a signal processing tool (Butterworth filter) in the data path before the raw data reaches the Trigger VI? Attached is a snippet of how my DAQmx code looks like currently.
I appreciate any help,
Thank you,
04-13-2018 05:44 AM
The Trigger VI is just setting up the DAQ. So when the DAQ reads a falling 4V (in your example), it will start to fill the buffer up with samples for your application to read. So you cannot do a software filter on the data. You need to add an analog filter to get rid of the high end noise before the signal even makes it to your DAQ. Give Digikey a good look. You might be able to just use some ferrite beads to clean up your signal going into the DAQ.