LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

counter problem PCI 6229

i am using TWO PCI 6229 cards (2*2 counters, DMA Channels), OS-winXP, LabVIEW 2009 SP1.

 

now using 3 counters (1. edge counter, 2 and 3 for semiperiod measurements).

 

i can run the edge counter alone without problem. but i cant run all the 3 counters in parallel.then the whole application slowsdown and i see the readVI at 3rd counter (buff_semi-period_continuous) not running.

i have changed the data trasfer mechanism from DMA to Interrupts but that also doesnt help.

 

analog input (16 differencial ) and output channels of both the cards are using.

 

can any one suggest a solution to this problem??

Kudos always welcome for helpful posts 🙂
0 Kudos
Message 1 of 4
(2,882 Views)

Hi RENN,

 

the semi-period-measurement is a implicit-timed measurement. This means that there is no fixed point in time when the result of the measurement is delivered. (It depends on the signal when the driver provides you with a valid value.)

 

The behaviour you see is mostly caused by using multiple implicit-timed measurements in one single loop, esp. with buffered measurements.

 

To prevent this kind of deadlock use a single loop for every semi-period measurements.

 

 

I hope this helps.

 

Ralf N.

0 Kudos
Message 2 of 4
(2,868 Views)

Hi Ralf

i am running only one "READ VI " in a loop.

RENN

Kudos always welcome for helpful posts 🙂
0 Kudos
Message 3 of 4
(2,859 Views)

Hi RENN,

 

please post your VI.

 

With best regards,

Ralf

0 Kudos
Message 4 of 4
(2,850 Views)