Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Need faster performance from Measure Pulse(NI-TIO).vi

Hello,
I'm using the Measure Pulse(NI-TIO).vi example, along with two parallel copies in a single while loop, to read a total of three counters on a PCI-6601 board. It works fine, but I need a little faster performance. I can get measurements at about 20 Hz now, but my pulses come at 60 Hz, so I'm missing quite a few of them. I've tried several things, including using a buffer, but the 6601 only has 1 DMA channel and I need to read three counters.
Can anyone offer any suggestions on increasing the speed?
0 Kudos
Message 1 of 2
(3,023 Views)
Greetings,

A buffered pulse width measurement is definitely your best option. Since your board has only one DMA channel, you will need to assign interrupts to the other counters with Set DAQ Device Information.vi (Functions >> Data Acquisition >> Calibration and Configuration). You should have no problem obtaining your desired rate.

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 2
(3,023 Views)