View Single Post
  #6   Spotlight this post!  
Unread 07-02-2009, 13:23
Urban Hawk Urban Hawk is offline
Head of R&D and Head of Scouting
FRC #1886
Team Role: Scout
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Urbana, maryland
Posts: 118
Urban Hawk is infamous around these partsUrban Hawk is infamous around these partsUrban Hawk is infamous around these parts
Re: Multiple Autonomous Codes Question

Quote:
So I start out by opening the cRIO project thing that I've been editting for the past forever. It's got an autonomous code for going forward then spinning in the middle of the field which is just still called 'Autonomous Mode' or whatever it started out as. SO. I'll edit it to do something else (say go left and pin an opponent robot into the corner) and save that as maybe 'Autonomous Pin' or something like that. Then I go to the main code and change the reference to the original autonomous code to 'Autonomous Pin' and save the project as something different like "Pin auto code" or something like that. But then I'll want to go back to the original project with the 'Autonomous Mode' code or whatever .... and for that project it thinks 'Autonomous Mode' is the same as 'Autonomous Pin' even though it was clearly saved as something else.... grrrr.....
make sure that the reference and what you save it as are the same. I'm not a labview programmer however i know both visual basic and java and i know that can throw the program if they are not the same. another suggestion is to open an entirely new project and then copy and paste the code into the new file and see if that works.
__________________
FEAR THE HAWK!!!