Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Not recognizing 2 seperate 9401 modules

I am attempting to run 7 counter/timer loops off of 2 9401 modules within a CompactDAQ chassis (slot 2 and 5) and continually get the error code of 200371. After a bit of digging we found that in DaqMx the 2 seperate modules were not distinguished with such that Mod2/ctrl0 was just _ctrl0  and Mod5/ctrl0 was also identified as just _crtl0 so simulataneous counter timer loops couldn't be run since they are treated as the same line. Anyone ever encounter this? My intuition thinks its a driver issue but I am not sure what else it might be.

0 Kudos
Message 1 of 4
(5,867 Views)

Which part of the code were they being identified as "_ctr0"? A small screenshot of code would help too.
This might be due to the fact that the counters/timers are provided by the chassis and not the module for the NI 9401.

Capture.PNG

0 Kudos
Message 2 of 4
(5,854 Views)

Yeah there are only 4 counters on a cDAQ chassis (only 2 if you are using a 9172).  The digital I/O modules may be used to route the counter signals to/from the backplane but they don't have their own additional counters.

 

So, Mod5/ctr0 is the same as Mod2/ctr0 (<chassis name>/_ctr0 is the name of the internal counter on the chassis backplane, you can run counter tasks without any modules at all if you want to do something like count one of the internal timebases).

 

 

Best Regards,

John Passiak
0 Kudos
Message 3 of 4
(5,824 Views)

Thanks John, well stated.

0 Kudos
Message 4 of 4
(5,816 Views)