View Single Post
  #5   Spotlight this post!  
Unread 27-01-2010, 21:53
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Who Remembers Last Years Framework?

You don't /have/ to open anything in the Begin.vi, however it only runs once at startup and is ideal to open everything in one easy to remember place.

The idea with this framework is to open a given motor in the begin and use the setref .vi to give it a name.

Then in teleop.vi, outside of the case statement there, use the getref vi with the correct name, wire it into the case statement to do whatever you need to do with it.

If you look at how they set up the arcade drive in the default project you'll get a good idea of how to do it.

The precise reason they changed it this year is to make it easier for teams to help others - there will no longer be confusion about which framework you're using. All you have to say is "labview" now and everyone who has used labview can help you figure it out. It will require relearning a bit if you used the basic framework last year, but the default project is a great starting point to see how to do it.
Reply With Quote