03-27-2024 08:15 AM
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?
03-27-2024 06:34 PM
What is the behavior when it is not working? Are you getting an error? Or do you only get outputs from specific channels?
03-28-2024 12:12 PM
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 ...