How to Build and Load Programming in Labview, C/C++, and Java

Only available on StudyMode
  • Download(s) : 534
  • Published : April 22, 2011
Open Document
Text Preview
How to Build and Load Programming in LabVIEW, C/C++, and Java Teams should only read the section for the programming language they have chosen. 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 move the joysticks and observe how the robot responds. You also can run the FRC robot project on the cRIO and maintain a connection with the host computer to perform live front panel programming and debugging. By maintaining a connection with the host computer, you can monitor indicators and observe how changes to the front panel of VIs affect the...
tracking img