Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

in NI-DAQmx 9.1.0 DAQmxGetDevAIMinRate returns zero for some CompactDAQ devices

In NI-DAQmx 9.1.0 several devices began reporting that their minimum AI rate is zero.

The same devices report a non-zero rate in 9.0.2.

Two devices of interest are NI 9201 and NI 9205 but there may be others.

 

The attached program outputs the NI-DAQmx rev, device ID and Device Type.

 

For 9.02 we get:

Running on NI-DAQmx 9.0.2

Using CDAQ1Mod1 : NI 9201 - minimum rate is 0.000023283

 

Running on NI-DAQmx 9.0.2
Using CDAQ2Mod2 : NI 9205 - minimum rate is 0.000023283

 

For 9.1 we get:

Running on NI-DAQmx 9.1.0

Using cDAQ1Mod1 : NI 9201 - minimum rate is 0.000000000

 
Running on NI-DAQmx 9.1.0

Using cDAQ1Mod8 : NI 9205 - minimum rate is 0.000000000

 

The results on 9.1 are identical for real hardware and simulated devices.

 

The question is - how do I get the actual minimum rate in 9.1.0?

 

Thanks!
Sherryl Radbil
Data Acquisition Engineer
The MathWorks
0 Kudos
Message 1 of 2
(2,835 Views)

Hello Sherryl,

 

Thank you for bringing this to our attention, it looks like this is a bug.  I've filed CAR #221457 to address this issue.

 

As far as a workaround, the only one I could think of was query the timebase rate and the min rate would be timebase/2^32.

 

Regards,

Seth B.
Principal Test Engineer | National Instruments
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 2 of 2
(2,823 Views)