FIRST Robotics Competition Discussions

Showing results for 
Search instead for 
Did you mean: 

Executing FRC Example Programs

Go to solution

I'm looking through all the FRC Examples on Labview.  I assume each is an executable on its own. 

I'm connected to the CRIO.  I set the appropriate IP address as (Team 3206) on the vi I've selected.

I open an example like  I click the arrow to run it.  It compiles and deploys to the CRIO.  The program returns to the .vi control panel with it's associated controls.  I change them and nothing happens. 

Have I done this correctly?  Do I need to do something with the Driver's Station?

0 Kudos
Message 1 of 4

Another way to ask my question is.  How do I execute the lvproj files in the FRC examples?  Can I run them directly from the front panel view of the vi?

0 Kudos
Message 2 of 4

The driver station is required to be able to output anything that causes motion (for example relays). Everything else sounds correct.

Message 3 of 4
Accepted by MarkGryzwa3206

Sciencewhiz has it right, but I just wanted to add a picture for clarification.

Forum answer 11_18_2013.png

In order to have one of the examples move anything on your robot you will need the following.

1) Change the IP Address of the cRIO in the project.

2) Run the VI and make sure it connects to the cRIO and deploys the code successfully

3) Open the driver station and make sure the Communications and Robot Code lights are green

4) Make sure the driver station is set to Teleoperated mode with the Enable button lit up.

Sorry to be repetitive, but I wanted to make sure everything was clear.

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 4 of 4