Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

The counter seems doesn't work? (PCI-6014)

LabVIEW 6.1 PCI-6014, I want to count the digital signal.

I have connected one digital output (line 1) to the source of the counter 1 with one cable. First of all I have initialized the digital output with the value 0 for "iteration "(in Write to Digital Line.vi”). I use the “Count Events or Time.vi” to do such a work and set "counter size (16/24-bits: 0)" which contains the 24-bits(DAQ-STC). I run this vi continuously, then I change the value to 1 for the "iteration" in vi "Write to Digital Line.vi". The counter doesn't count if I change the line state. Why?

Thanks,

Wei

 

0 Kudos
Message 1 of 3
(3,563 Views)
Hi Wei,

please post your VI (incl. all your SubVIs) and the exact naming of the pins you have connected. This will make it a lot easier to fix this bug / find the problem.

Daniel
NIG
0 Kudos
Message 2 of 3
(3,548 Views)

Hi Daniel,

On Friday I have tried again and the problem is solved. The reason is that I have connected the source to another counter. I used a adapter box to realize the connection. There are counter 1 and counter 2 in the box. But in LabVIEW there are counter 0 and counter 1. that’s the point.

Thanks,

Wei

0 Kudos
Message 3 of 3
(3,531 Views)