Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how to filter external signal digitally using labview

Can somebody help me how to use digital filter in DAQmx?
0 Kudos
Message 1 of 8
(4,334 Views)
Hi suni,

DAQmx does not contain any digital filter. However, LabVIEW does contain many different pre-made signal processing VIs that you can use (ie. Bessel Filter, Butherwork Filter, etc...)

Here's some useful resources that you can take a look at

LabVIEW 8.5 Help: Signal Processing VIs
LabVIEW 8.5 Help: Filter VIs

NOTE: LabVIEW Base Develoment System does not contain the Signal Processing VIs. You would need Full, Professional or DevSuite.

Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support
Message 2 of 8
(4,307 Views)

Hi

I used daq assist to enter the external signal and digital notch filter.vi to as filter. The filtered signal was not anntenuated initial. Can you tell me how to fix it? I attached the graph i got . 

Thanks 

0 Kudos
Message 3 of 8
(4,278 Views)
Hi suni,

This is expected behavior. Depending on the filter topology (Butterworth, Chebyshev, Elliptic, Bessel, etc...) you would be getting different response. The order of the filter will also affect how well the filter behaves. A higher order filter would give you a better filter, but it would be more processor intensive.

Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support
0 Kudos
Message 4 of 8
(4,249 Views)
Hi
Thanks for the reply. Can you tell me how to output this filtered signal form the daq card so i can used it to control the servo? Thanks
0 Kudos
Message 5 of 8
(4,238 Views)
Hi suni,

If you're using one of our data acquisition devices, you can use the DAQmx palette to output the signal to the daq card. For first time users, I would suggest using the DAQ Assistant.

Here's a really useful Developer Zone article that can help you get started with data acqusition with DAQmx.

Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support
0 Kudos
Message 6 of 8
(4,217 Views)
Hi
I want to display the filtered signal on the scope so I  see what it look likes after the digital to analog conversion. I want to do this in real time. Can somebody tell me how to do that?
0 Kudos
Message 7 of 8
(4,166 Views)
Hi Suni,

You can connect an analog output channel from your DAQ device to your scope. Using DAQmx, you can then output the signal to the analog output channel.

Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support
0 Kudos
Message 8 of 8
(4,122 Views)