04-07-2008 08:01 AM
04-09-2008 01:07 PM
04-09-2008 01:47 PM
Are you using the Run continuously button? I don't see anything in your code that keeps it runnin more than once. I hope not. Use a large while loop and wire a Stop button to the stop terminal of the loop.
Use your error wires. I wonder if you have a bit of a race condition as you really can't control when most of those analog reads and writes will occur. Some could be happening in parallel. And that could cause the error message that a resource is reserved. Wire up the error wires between the different functions.