Discussion:
digtal filter option of M-Series BAQ Board
(too old to reply)
Share_Good
2008-08-05 08:40:10 UTC
Permalink
Hi... is the digital filter option of M-Series BAQ Board applicable to couter task...single low-frequency measurement about 15 KHz?it some how does not work in my code...please help me...
mickeyw
2008-08-05 11:10:09 UTC
Permalink
Hi Share Good,
NI-Daqmx currently only supports digital line filtering on counter only.
There is a little more explanation and some sample code on this <a href="http://digital.ni.com/public.nsf/allkb/9ECE7DBE7DF338BD86256F8600734A41?OpenDocument" target="_blank">KB</a>.
I hope this is of some assistance to you.
Share_Good
2008-08-05 12:10:24 UTC
Permalink
Hi... can u pls look at the code attached and tell me where i am going wrong...?i have also tried with different cutoff frequencies of the digital filter...but failed...i dont get error but it is not effective....(not filtering the freqeuncies above the cutoffs)i used PXI-6255 counters and a frequency source generates upto 2 MHz square wave with amplitude between 4-5 V


MeasureFrequency_LV8.2.1.vi:
http://forums.ni.com/attachments/ni/250/42095/1/MeasureFrequency_LV8.2.1.vi
mickeyw
2008-08-05 14:10:10 UTC
Permalink
Hi,
&nbsp;
This <a href="http://digital.ni.com/public.nsf/allkb/220083B08217CFD686257131007E5D2C?OpenDocument" target="_blank">KB</a>&nbsp;should help to solve your problem. You need to choose a supported value for the filter when enabling the digital filter, and enabling the filter is done via the use of a channel node.
&nbsp;
<img height="81 alt=" src="Loading Image..." width="397">
&nbsp;
By incorporating this and the attached example into your application you should achieve success. This <a href="http://digital.ni.com/public.nsf/allkb/AAB391A5A08BD72D86256F9C006B039E?OpenDocument" target="_blank">link</a>&nbsp;will also prove useful, as it gives instructions of how to programme an M-series filter.
&nbsp;
I hope these resources are of some assistance to you and I wish you success with your application, if you have any more problems let me know.
&nbsp;
Regards,


Enable Digital Filtering for M Series.vi:
http://forums.ni.com/attachments/ni/250/42100/1/Enable Digital Filtering for M Series.vi
Share_Good
2008-08-05 15:10:12 UTC
Permalink
Hi Mike, the link you have sent me is just perfect...i have fixed the bug in my code...Thanks a lot...
mickeyw
2008-08-05 15:40:11 UTC
Permalink
Your welcome, I'm glad the issue could be fixed. I wish you success with your application.
Loading...