http://www.usfirst.org/community/frc....aspx?id=10934
Check out the LabVIEW resources accessible in the above website. I would strongly encourage you to go through these tutorials to understand the syntax and get started with LabVIEW. In regards to your query, you'll specifically want to learn the difference between running an app by clicking on the run arrow on your PC and building/deploying/run as startup. You don't need to change your code at all but these have VERY different results.
Russ