FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming

1. I am in Block Diagram window and connected. How can I see the live data

2. Should I deploy code from:

     a. Right click on RT CompactRIO Target and select Deploy

               OR

     b. Right click on FRC Robot Boot-up Deployment and select Deploy

3. What is the different between Deloy and Deploy All

2. I have downloaded code to the target CRIO, when I open the driver station and trying to ENABLE in the teleop mode, It can not connect to the CRIO

0 Kudos
Message 1 of 2
(3,207 Views)

Congnguyen,

Hello! Are all three lights green in the driver station? (Communications, Robot Code, Stop Button) All three of these must be green and you then must enable the robot by clicking the enable button in the driver station before you will be able to view data.

In LabVIEW, If you open up the Basic Robot Example Project, open the Robot Main VI, and then click Run it shoul deploy to your robot. You can also build this code into a startup executable which will run on the cRIO every time it is rebooted. This Basic Example will let you drive the robot in arcade mode, view the camera data, and view other I/O.

When you say, "It can not connect to the CRIO" do you mean the communications light in the driver station is Red? If so, make sure you have configured everything as per the FRC Control System Chapter 2.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 2 of 2
(2,345 Views)