Log in

View Full Version : Autonomous vi.


Slothbron
14-02-2011, 13:26
So I made an autonomous program but not sure where to put it in the main vi.
Any help would be greatly appreciated.

Alan Anderson
14-02-2011, 13:32
Autonomous code goes in the Autonomous Independent vi.

You shouldn't be changing anything in Robot Main.

Slothbron
14-02-2011, 14:00
Ok but when you open the Auto Vi There is a pre made code we dont want there run code but want to utilize the the line following code.

Alan Anderson
14-02-2011, 14:09
The default Autonomous Independent is the line following code. You can delete it all and replace it with whatever you want.

Slothbron
14-02-2011, 14:23
Ok but I dont have to delete it right? I can put this new code in there with it and it with work fine?

Mark McLeod
14-02-2011, 14:34
At least wrap a Diagram Disable structure around the code you aren't currently using, otherwise, it will mess up your code that you do want running.
If you want to integrate them so it all works together, then that's fine too, but disable the default autonomous until you're sure that yours works correctly.

Slothbron
14-02-2011, 14:48
ok i will give this a try thanks.