PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to enable lowpass filter USB-6001 with nidaqmx python library

Solved!
Go to solution

I have read several posts on this forum to try and figure out how to enable the lowpass filter through python on my usb-6001. No one seems to have the issue i am having... The lowpass filter works correctly in labview but everytime I try to implement it in python I am met with the following error code: 

 

nidaqmx.errors.DaqError: Specified property is not supported by the device or is not applicable to the task.
Property: DAQmx_AI_Lowpass_Enable
Channel Name: Dev3/ai3

Task Name: _unnamedTask<0>

Status Code: -200452

 

I will attach my implementation below:

 

with nidaqmx.Task() as task:
    channel = task.ai_channels.add_ai_voltage_chan("Dev3/ai3")
    channel.ai_lowpass_enable = True
0 Kudos
Message 1 of 5
(693 Views)

I couldn't find in the User Manual or Specifications that 6001 has a configurable low-pass filter.

 

How did you verify that your LabVIEW code works exactly?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 5
(679 Views)

IMG_8930.png

 i verified that it works by applying it to a real time voltage reading. Without the filter the graph of data is useless, indiscernible noise. With the filter and cutoff of 10Hz, the data looks as intended

0 Kudos
Message 3 of 5
(671 Views)
Solution
Accepted by nsw42

So, you do realize that this low pass filter is a separate function and in no way related to DAQmx and 6001, right?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 5
(664 Views)

Evidently, I did not realize that

0 Kudos
Message 5 of 5
(655 Views)