|
Re: More questions from a new labviewer
Both the telop and the autonomous iterative should process very quickly and return. Both your telop and your autonomous iterative continue processing for a long time. Since they don't get back to robot main quickly, I think that is the cause of your watchdog problems. You've added DS communication VIs which are redundant with the ones in robot main and may also be causing problems.
Look at the default telop (if you create a new project). You should be able to take most of the code within your while loop and paste it into the execute case in the default telop. This returns quickly.
For your autonomous, the easiest solution would be to take the code and put it in autonomous independent instead. Autonomous independent is started in parallel with the rest of the code and doesn't need return quickly.
What type of solenoids are you using? If you're using 24v solenoids (like the ones that came in the kit this year), you need to make sure the solenoid breakout is wired with 24v. If you're using single solenoid valves, you need to keep the value set, so based on your code you'd need to hold the joystick button.
Last edited by Joe Ross : 21-06-2010 at 15:21.
|