Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

The Industrial Feature Set: Programmable Input Filters

5 ratings | 4.20 out of 5
Print

Overview

This document is part of a comprehensive tutorial on industrial Digital I/O and Counter/Timer hardware. Learn about National Instruments product offerings for digital and timing I/O, the Industrial Feature Set including watchdog timers and isolation, complementary devices like relays, solenoids and encoders, concepts like sinking and sourcing, and see how these devices can be used in your industrial application.

For more information return to the Complete Industrial Digital I/O and Counter/Timer Tutorial

What are Programmable Input Filters?

Programmable Input Filters remove chatter, noise, glitches, and spikes on inputs, and also provide debouncing for digital switches and relays. This is important for applications in noisy industrial environments to prevent false readings based on noise.

Recommended Products that Feature Programmable Input Filters


NI 6509
NI 6514
NI 6515
NI 6528

How Programmable Input Filters Work


The programmable input filter for each digital line can be configured by setting the filter time in seconds. Any digital noise, glitch, or spike that is faster than the filter time will be ignored by the digital I/O device, preventing invalid readings or false triggers.

If input filters are enabled on the NI device, it will discard the erroneous readings caused by the bouncing switch. It does this by ignoring any pulses that are too small in width. With programmable input filters, the user can programmatically select the minimum pulse width that is guaranteed to pass (figure 1).

Figure 1: Configuring Input Filters in NI-DAQmx


Any pulse that is greater than the specified minimum pulse is guaranteed to pass, and any pulse that is less than half of the specified pulse width is guaranteed to be filtered. Pulses that fall between half of the pulse width and one entire pulse width may or may not pass.

5 ratings | 4.20 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).