Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx VIs Timeout Problems

Hello,

 

I am trying to acquire 9 frequency input chanels thorugh PXI-6624 card.

I have 9 independent loops for 9 frequency counter chanels. I am able to read all the frequencies above 10Hz properly.

 

Now the problem is,

Sometimes there will be no pulses, and the Counter Input DAQmx VI will wait for timeout.( I have given the timeout of 1 sec). During this time my CPU consumption goes very high and I am not able to read any of the analog inputs too.

 

and say if similar condition happens to all the 9 frequency input channels then my software hangs.

I have tried using wait mode method but i wasnt able to read any frequency with it.

 

I have also read it that, when "Counter Input DAQmx VI is in timeout mode at that time we cannot make any other DAQmx VIs call". Please refer this link http://zone.ni.com/devzone/cda/tut/p/id/3166

 

Thanks,

Krunal

0 Kudos
Message 1 of 1
(5,557 Views)