02-04-2010 12:14 PM
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
02-04-2010 12:22 PM
Vi with digital channels added.
Jack
02-08-2010 04:10 AM
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,