View Single Post
  #2   Spotlight this post!  
Unread 31-01-2010, 00:19
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Modified VI's question!! HELP!!

Quote:
Originally Posted by chsrobotics3283 View Post
So I just modified the Joystick Input Example.vi, for 2 joysticks for our robot. My question is which folder should I put this VI into? The Team Code Folder? If so, then don't I have to modify the other VI's in the Team Code folder for both of the joysticks to work? How do you run all the programs together?
Need a little more info:

Are you calling the Joystick Input Example.vi in your team code already?
If so, then

1. Open all your code that references the Joystick Input Example.vi
2. Modify the Joystick Input Example.vi.
3. Save the Joystick Input Example.vi using the File->Save As and then select Substitute copy for original. Save it to your Team Code folder. All the Vis that reference it (assuming they are open at the time of this save) will now point to the newly saved VI. I would suggest that you change the name of the new VI to something different (e.g. Joystick Input Example Team xxx) to avoid name collisions with the original Example vi. The fact that you are using a project will help avoid that, but a different name will ensure that you don't collide the names.
5. Save all the VIs that use the new VI so they remember that moved the Joystick Input Example.vi.
Reply With Quote