LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I Want to synchronise event count from both counters (PCI-MIO 16 E board)

Hi GVS,

1. You have to give the two counter groups different group numbers. You can just leave it so that counter 0 is the top and counter 1 is the bottom.

2. You can change the freqout by using CTR Control.vi. There is a LabVIEW shipping example in the Help >> Find Examples... >> Hardware Input and Output >> Traditional DAQ >> Counters >> DAQ-STC. The example is Generate Pulse Train on FREQ_OUT.vi

Make sure you make your freq out value very low to start and then increase it until you get error 10920.

Have a good day.

Ron
0 Kudos
Message 11 of 13
(549 Views)
okay
so i did whatever you said.
I got the FREQOUT divided by 16 and did all that i said last time. only improvement is that now the program does run 🙂 but it shows reading of only one counter. the other counter does not read at all !!!

so what next ?

by the way ron, have you checked this program on your computer with a function generator ?
0 Kudos
Message 12 of 13
(549 Views)
Do you have any errors for your second counter? It could be that you don't have enough DMA channels for the second counter. You can use a DAQ Set Device Info function call to have that counter use interrupts if you are out of DMA channels. Hope that helps.

Ron
0 Kudos
Message 13 of 13
(549 Views)