Building and Loading a Labview Program
By: westboyz7 • Essay • 454 Words • April 22, 2011 • 1,174 Views
Building and Loading a Labview Program
How to Build and Load a LabVIEW Program
Configuring an FRC Robot Project
1) Launch LabVIEW.
2) Click the FRC cRIO Robot Project link in the Getting Started window to display the Create New FRC Robot Project dialog box.
3) In the Project name text box, enter the name you want to use to identify the new FRC robot project.
4) In the Project folder text box, enter the location on the host machine to which you want to save the project files and VIs.
5) In the cRIO IP address text box, enter the IP address of the cRIO to which you want to deploy the project. The IP address of the cRIO must be in the form 10.xx.yy.2, where yy corresponds to the last two digits of the team number and xx corresponds to the remaining first or first two digits of the team number. You can use the cRIO Imaging Tool to set the IP address of the cRIO.
6) Click the Finish button to close the Create New FRC Robot Project dialog box and create the new FRC robot project. LabVIEW displays the new FRC robot project in the Project Explorer window.
Running the FRC Robot Project
You can deploy the FRC robot project to the cRIO before making any modifications. In the Project Explorer window, right-click the Robot Main.vi item and select Run from the shortcut menu. LabVIEW deploys the Robot Main VI and any support files for the VI to the cRIO. The Robot Main VI then runs on the cRIO. If the robot has a joystick connected to port 1 of the driver station and Jaguar motor controllers controlling the two wheels, you can