12-14-2006 12:53 PM
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
12-15-2006 08:30 AM
12-17-2006 04:07 AM
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