|
Re: arm loop stops drive
You cannot have a delay loop inside the Teleop.vi.
Teleop must execute quickly and be free to leave, because it must service 50 packets a second from the Driver Station.
If you stop it, then it won't be able to react to new driver commands.
Your delay code would work better in Periodic Tasks.vi
It can pretty much be moved, as is.
Also, your While loops must have a time delay added to each of them. Otherwise, they will run at max speed and suck all the life out of your cRIO and nothing will work very well.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 12-04-2011 at 21:29.
|