下载、运行和停止项目#

Downloading, Running, and Stopping a Project

This tutorial walks you through downloading, running, and stopping a project in VEXcode AIR. By the end, you’ll have downloaded your project to the controller, run it, and stopped it.

  1. Build a project in the workspace.

  2. Make sure your controller is connected to VEXcode.

  3. Select the Slot number at the top of the page to change which slot the project will download into on the controller.

Screenshot of the VEXcode AIR toolbar with the Slot button highlighted.
  1. Select Download to download the project to the controller.

Screenshot of the VEXcode AIR toolbar with the Download button highlighted.
  1. Select Run to run the project from VEXcode.

Screenshot of the VEXcode AIR toolbar with the Run button highlighted.

You can also run the project from the controller. In the Programs menu on the controller’s screen, press the slot your project was downloaded to so that it’s selected. Then press and hold the Takeoff button. A progress bar will fill the project name in the Programs menu, then the project will start.

控制器屏幕上显示“程序”菜单,其中 1 号槽中的 VEXcode 项目已高亮显示。右侧的起飞按钮高亮显示,指示按下该按钮即可启动项目。
  1. Select Stop to stop the project from VEXcode.

Screenshot of the VEXcode AIR toolbar with the Stop button highlighted.

You can also stop the project from the controller by pressing the Takeoff button.

控制器左下方的特写视图,其中起飞按钮突出显示,指示按下什么按钮可以停止项目。

If the drone is flying when you press the Takeoff button, you will be asked to land it. Select Land to stop the project and land the drone.

控制器屏幕上的提示截图,顶部显示项目名称,并有两个按钮选项——左侧显示“着陆”,右侧显示“飞行”。着陆按钮高亮显示,指示选择哪个按钮可以停止项目。