Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 6601 Counter stops when digital channel operated

This is a problem being re-visted from last year after thinking I had found a solution.

 

Basically I have set two while loops up.

Each While loop has a counter channel running in it, Ctr0 and Ctr3 respectivly.

When the program is run the two counter channels generate a waveform as expected.

 

I then have added into each While loop Digital output channels that provide logic for Direction and Enable.

If the program is now run Ctr0 outputs as expected but Ctr3 remains off.

I then put the digital WRITE vi's into case statements, put the case to false and started the program.

Both counters outputted waveforms.

Turned one of the case statements on and Ctr3 stops. It did not matter which case statement was turned off, Ctr3 always stops.

 

Tried changing counters to Ctr1 and Ctr2 - Same result one counter stops

Changed the 6601 for a 6602 and got similar results.

 

I have attached vi in version 8.6

 

Jack

Labview Version 8.5
Labview Version 8.6
Labview Version 2014
0 Kudos
Message 1 of 3
(5,290 Views)

Vi with digital channels added.

 

Jack

Labview Version 8.5
Labview Version 8.6
Labview Version 2014
0 Kudos
Message 2 of 3
(5,289 Views)

Hi Jack,

 

What was the solution you thought you had come to previously?

 

Could you perhaps try building the vi up piece by piece whilst testing at every stage to see at which point this problem comes about?

 

Kind Regards,

Owen.S
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(5,257 Views)