Why Does The NI 9361 Report Error When Measuring Frequency With Any Method Other Than Dynamic Averaging?

Updated Jul 24, 2024

Reported In

Hardware

  • NI-9361

Driver

  • NI-DAQmx

Issue Details

I want to use the large-range with 2 counters measurement method to measure frequency with the NI-9361. But it will report an error when I select low-frequency with 1 counter, large range with 2 counters or high frequency with 2 counters.
image.png
The only measurement method that works is Dynamic Averaging. Why is this? How do I work around this limitation?

Solution

NI has wanted to add the new Dynamic Averaging measurement mode for the 9361 to improve on the existing counter-measurement methods. It provides better usability and fixes some bugs/limitations of the previous modes.
Unfortunately, the DAQmx Create Virtual Channel(CI-Freq) VI defaults to low frequency with 1 counter as the measurement method and also has the default for measurement time & divisor which are not great defaults. So, the decision is to report an error for the measurement method and tell the user to select Dynamic Averaging instead.
Dynamic Averaging is a superset of the other measurement methods. From the 9361 datasheets, Dynamic Averaging supports setting measurement time/divisor as follows:
image.png
You can mimic the other counter modes like this:
image.png