Download and Run - Tutorials

When programming in VEXcode Pro V5, compiling a project gives the programmer a tool to help identify errors. Downloading and running a project enables the robot to receive the code written by the programmer.

The following article will cover:

  • How to Compile a Project
  • How to Download a Project
  • How to Run and Stop a Project

How to Compile a Project

Compiling a project gives the programmer the ability to check errors without downloading a project to the V5 robot Brain.

Click on the Build icon to compile the project.

file-vEvnAtFvxh.png

If there is an error in the project, viewing the "Problems()" tab at the bottom will help identify what those errors are as well as how to potentially fix them.

file-o7O3Ddyfyt.png

NOTE: The build icon will only appear when a V5 Robot Brain is not connected to the computer.


How to Download a Project

Select the slot that the project will be downloaded to on the V5 Robot Brain by clicking on the boxed 1 icon to open up all available project slots and select the desired slot.

file-yCfee48Uei.png

Connect the V5 Robot Brain to the computer using a micro USB cable and power on the V5 Robot Brain.

file-8OwudFlDUj.jpg

Click on the Download icon next to the Device Info icon to download the project to the V5 Robot Brain.

file-MZ5qyPGM46.png

NOTE: When the V5 Robot Brain is connected to the computer, the Build icon changes to the Download icon.


 How to Run and Stop a Project

Click the Run icon to start the project that was downloaded to the V5 Robot Brain.

file-vewQaW5mJd.pngNOTE: This method for running the project only works if the robot is still plugged into the computer and is planned to remain stationary.

It is advised to run the project from the V5 Robot Brain while unplugged from the computer if the robot is supposed to drive.

file-sKRZXNwDHs.png

Press the Stop icon to stop the project from running while the V5 Robot Brain is still plugged into the computer.

file-BZOXpJKN1n.png