|
Re: Switching from Autonomous to Tele-op
Opens go in Begin.vi
Closes go in Finish.vi
Sets go in Autonomous Independent.vi and Teleop.vi
I'm working from a Mac without LabVIEW, so I can't give you a graphical example right now.
It takes a while to shutdown all the computers in the house and the PCs have already been put to bed.
The Auto that you posted is fine, just remove the Closes to keep it clean.
The Teleop you posted is also fine, just remove the Closes and the While loop (but not the contents).
The Get Refnums feed directly into the Sets in Teleop.
Think of the whole Teleop.vi as one giant While loop.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 22-01-2011 at 23:12.
|