Solution
Open your LabVIEW project, and expand your roboRIO
Target. Under the target, expand
Build Specifications. Right click the deployment under this category, and select
Build. This will prepare the application and package it for use on the roboRIO.

Then select
Set as Startup. This will make the code run whenever the roboRIO restarts.