Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an 8 counter/timer card that can effectively use all 8 at once?

Using a 6602 can only use DMA on 3 channels. If I set up the LabVIEW vi to read 3 channels (buffered read of 250,000 counts), then read 3 other channels, and finally read the last 2 channels. This is fast and effective. Problem is the multiple calls of CTR Group Config yields an Error -10444 (out of memory) after about 10 hours of run time. Since the CTR Number has to be reassigned for the new CTR Read, Task IDs cannot be paased through a shift register.
Using interupts on 5 of the 8 CTRs is way too SLOW. Looking at NI KnowlegdeBase there is no way to group the counters.
Any Thoughts?
0 Kudos
Message 1 of 2
(4,643 Views)
What you could do is to configure all the counters at once and put the task IDs into an array. Then, when you read each of the 3 counters using DMA, you could just pull off the 3 IDs you needed. This way you would not have to keep calling CTR Group Config.
You can see an example of putting the Task IDs into an array in this counter example:
Search zone.ni.com with this string "eight tio". The first hit will be example you want to look at.
0 Kudos
Message 2 of 2
(4,643 Views)