This example demonstrates how to enable the filter properties of the NI-9202.
With the release of DAQmx 17.6 the NI 9202 can now be interfaced with using the DAQmx API. Below is an example that demonstrates how to take measurements from the 9202 and how to configure the onboard filters.
The NI-9202 implements configurable comb filters whose first notch can be configured to be at 1, ½, ¼, 1/8, or 1/16 the sampling rate. For more information about how these filters will affect measurements with the 9202 please reference the NI 9202 Datasheet.
Software:
Hardware:
-These filters are always on and are set to the sampling rate unless otherwise specified.
-The filter setting applies to all channels on the module.
-In DAQmx the filter property must be configured after the sample rate has been configured.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.