Quote:
Originally Posted by RyanN
Hmm... good point. I think you're correct. The Finish VI is only called when you push the Finish button on the Robot Main VI, isn't it...
Well back to the drawing board...
|
I'm not an LV programmer but I have had to work with it a little for FRC. I would put a variable in called something like teleopRan and initialize it to False. Then when teleop starts you can set it to True, then when Teleop Disabled is run have a if that checks if teleopRan is true and match time is greater than say... 119 seconds (so if it disconnects on the field it doesn't turn off the computer in case it reconnects) then shut off the computer. You'll want to test this with practice mode obviously.
- Oliver