View Single Post
  #2   Spotlight this post!  
Unread 04-02-2014, 07:46
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Examples corrupting robot project

I'm not really sure I know what happened. I don't really follow the description you gave.

Was this extra code perhaps related to simulation?
Some of the WPILib VIs needed to be modified for simulation. Some of these were done with a conditional compile, but most were done as a separate library for the desktop target. If you open your VI on a desktop, it will load the desktop version. On an RT target, it will load the RT version of the VI.

Another thing that could have happened is that you opened a robot VI and it was added to your example project, or you opened an example VI and it was added to your robot project. The suggested process is to open the example's project and not just its source.

Greg McKaskle
Reply With Quote