Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

NI PCIe-6612 Digital filter

$
0
0

Good morning,

I'm using a PCIe-6612 for collecting positions from a couple of angular encoder that produce pulses with a max frequency of 240kHz. The minimum edge length of signal is guarantee to be at least 0.100 us. Unfortunatly PC is located in an environment that has a lot of electrical noise. I've adapted several strategies to avoid common and differential noises but some kind of HF noise is still coming to NI board and sometimes count become not consistent...

I've found a poor documentation and no code samples for these functions, that I suppose can help me:

DAQmxSetCIEncoderAInputDigFltrEnable

DAQmxSetCIEncoderAInputDigFltrMinPulseWidth

DAQmxSetCIEncoderAInputDigFltrTimebaseSrc

DAQmxSetCIEncoderAInputDigFltrTimebaseRate

and complementary functions for channel B.

 

For sure first function enables digital filtering, with the second one I suppose that you can setup the minimum edge width but the measurement unit of parameter "data"  is not specified, I would like to setup minimum rate to 0.75us...

Furthermore I absolutely can not figure out how to use Timebase Source and Timebase Rate functions...

Can anyone help me???

Consider that software is developed with VisualStudio in "c".

Many thanks in advance

 


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>