Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-9361 Counter doing multiple counting jobs including incremental encoders, edge counting, and frequency

Can one physical NI-9361 counter module with 8 channels perform multiple counting jobs simultaneously? I am trying to use it to perform those 5 following tasks:

1. Edge counting 1, Single-ended, Channel 1

2. Edge counting 2, Single-ended, Channel 6

3. Frequency 1, Single-ended, Channel 2

4. Frequency 2, Single-ended, Channel 3

5. Incremental Angular Encoder (A, B, and I), Differential, Channels 0, 4, and 7

 

I tried it but everytime I run the code, I either get the 1-4 tasks running or the task 5 running, but never all of them together. Is it a limitation in the hardware module? 

 

 

0 Kudos
Message 1 of 3
(666 Views)

What is the behavior when it is not working? Are you getting an error? Or do you only get outputs from specific channels?

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 3
(634 Views)

When I run the program for the first time, I get the incremental encoder data but no edge counting/frequency. When I stop and re-run the program the second time, I get the edge counting/frequency data but no incremental encoders. Third time goes back to first time outcome, and so on ...  

0 Kudos
Message 3 of 3
(613 Views)