How Do I Enable Digital Filtering on My PCI-6509? Hardware: Digital I/O (DIO)>>Static>>PCI-6509
Problem: I have a PCI-6509, which has the ability to filter my input signals. How do I enable this feature and set the parameters in my program? Solution: You can use the digital filter option available on the input lines to eliminate glitches on input data. To enable this option and to set its parameters you need to use a set of DAQmx channel properties. To access these properties in LabVIEW (see attached VI):
To access these properties in a text-based language, the functions you will use are the following: DAQmxSetDIDigFltrEnable(TaskHandle taskHandle, const char channel[], bool32 *data);This function sets the enabled state of the digital filter. DAQmxSetDIDigFltrMinPulseWidth(TaskHandle taskHandle, const char channel[], float64 data);This function sets the Minimum Pulse Width parameter for the filter. Related Links: Product Manuals: NI-6509 Help (User Manual) Attachments:
Report Date: 03/31/2004 Last Updated: 10/07/2004 Document ID: 37UH2VI3 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
