06-13-2020 02:07 PM
The low pass filter can be enabled from lab view and it works. But it I cannot get it to work with Python. Is the way to do it? Thanks.
ai_task.ai_channels.add_ai_voltage_chan(physical_channel, max_val=0.1, min_val=-0.1,
terminal_config=TerminalConfiguration.DIFFERENTIAL)
ai_task.ai_lowpass_enable = True
ai_task.timing.cfg_samp_clk_timing(666666, samps_per_chan=666666,
sample_mode=AcquisitionType.FINITE)
ai_task.start()
Solved! Go to Solution.
06-13-2020 11:12 PM
Solved my own problem
ai_task.ai_channels.all.ai_lowpass_enable = low_pass_enable
this was setting the flag at the task but not for all the ai_channels, strange that it did not throw an error.
ai_task.ai_lowpass_enable = True
07-03-2020 10:27 AM
Hi
Great to see a self-response.
Is it possible to set a cut off frequency to the low_pass filter?
Thanks,
Ehsan