LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the NI USB 6525 digital filtering feature?

Solved!
Go to solution

Hi can anyone tell me how to use the "digital filtering" feature of NI USB 6525 device? How can i configure the device to enable the feature? Using NI MAX or LabVIEW? 

0 Kudos
Message 1 of 10
(4,123 Views)
Solution
Accepted by topic author 123xj

It is configured using a DAQmx property node:

 

2015-11-13_10-22-20.png


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 10
(4,093 Views)

Hi thanks a lot for your reply. May i know the digital filtering should be place before or after the property node? Please kindly refer to my VI's screenshot. Thank you very much. 

The DAQ assistant_1 represents my 6525 device. My signal input is a 24V signal connected to my 6525 digital input. I would like to filter the 24V signal before taking the reading at the digital input so that my digital input won't be affected by the 24V signal noise. Please kindly advice.

0 Kudos
Message 3 of 10
(4,054 Views)

Hi,

 

You need to write to the property to control it - so you need to right click on the property node and 'change to write'.

I believe you also need to set the filter interval - there are details in the datasheet for the device. The filter will block pulses that are shorter than half of the specified interval and passes pulses that are longer than the specified interval.

 

You should also set the property / start the task / stop / clear the task outside the while loop. Inside the loop should just be the DAQmx read. Depending on how you have configured your timing, you might want to add some execution timing.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 10
(4,043 Views)

hi, i wish to use digital filter also, but my property node is having totally different items:

 

jackson_thom_1-1594878808412.png

 

which property node you choose?

thank you

 

0 Kudos
Message 5 of 10
(2,483 Views)

Hi Jackson,

 


@jackson_thom wrote:

i wish to use digital filter also, but my property node is having totally different items:

which property node you choose?


Open a new VI. Place a "DAQmx Channel" property node: here you find all the properties you need.

 

For me it works to connect that property node to a DAQmx task reference:

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 10
(2,476 Views)

would you mind to upload the VI that you showing in your print screen?

my labview is 2014 32 bit.

Thank you.

0 Kudos
Message 7 of 10
(2,472 Views)

Hi Jackson,

 

I just placed that DAQmx property node, then I placed the DAQmxCreateVirtualChannel function…

(I didn't save that VI as it's so simple to recreate.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 10
(2,466 Views)

Hi Jackson, 

 

It is because you never connect anything to your "lines" input of the DAQmax create channel VI. Please note that in NI MAX you must be able to see the USB6525. Hope this help.

123xj_0-1594887866936.png

123xj_1-1594888004553.png

 

Best regards,

XJ

 

0 Kudos
Message 9 of 10
(2,459 Views)

indeed!

now i got the digital filter settings,

thank you XJ

0 Kudos
Message 10 of 10
(2,426 Views)