10-31-2013 02:45 PM - last edited on 05-01-2024 09:27 AM by Content Cleaner
I am acquiring in-cylinder pressure data from an engine, and I receive the following error intermittently:
11-01-2013 04:31 PM - edited 11-01-2013 04:37 PM
Calling a signal "noisy" is all relative. There isn't any built-in hysteresis on the PFI lines so if there is even a small glitch around the transition point the DAQ card might pick it up as two edges which are very close together. Many newer NI-DAQ products support digital filtering which can be used to fix this issue, but the 6143 doesn't have this feature unfortunately.
If you have a counter available you could issue a retriggerable pulse, triggered by your encoder A signal. Sample the analog input off of the counter's internal output. While the pulse is being generated it will ignore any extraneous rising edges on the input line, so the duration must be short enough that the counter is re-armed in time for the next rising edge. A 6 us high time and 100 ns low time would accomodate up to a 164 kHz signal. Ideally you'd want the counter to stay high through the rising and falling transitions of the encoder (when the DAQ card is going to be susceptible to picking up false rising edges).
Best Regards,