From the File tab, you can do the following activities:
Transfer robot programs to or from USB drives.
Log into PathPilot HUB and transfer files from your online PathPilot account.
Edit robot programs.
Load files into PathPilot to run programs.
Create folders, rename, and move files within the system.
This tab shows 3 sections:
The left-hand window shows locations on the controller's hard drive.
If a USB drive is put into the controller, a middle window displays, which lists files stored on the USB drive.
The right-hand window is a preview of the currently highlighted file.
In the left-hand window, you can find robot programs that you've saved or that came with the controller. The root of this directory, accessible by selecting the Home button, is located on the controller's hard drive at ~/nc_files/robot_programs
.
Selecting a file displays the code in the file preview window (the right-hand window).
Loading a robot program
There are two ways to load a robot program from the file list:
Select a program in the file list by single clicking on it. Click "Load Program" (top right of disk location view) and the selected program will be loaded and the "Main Tab" will be activated.
Double click a program in the file list and that program will be loaded and the “Main Tab” will be activated.
Note: if the program contains an error that prevents the interpreter from loading it, the error will be displayed on the status tab and the program will not appear on the “Main Tab”. Resolve the error by editing the program and attempt to load it again.
Editing a robot program
Select a program in the file list by single clicking on it. Click “Edit Program” and the selected file will open in a code editor. The default code editor is PyCharm Community edition. The choice of which code editor to use can be made on the settings tab.
Editing a robot program using conversational tab features
Select a program in the file list by single clicking on it. Click “Conv. Edit” and the main tab of the Conversational Notebook will be opened with the selected file active. From this tab you may add, delete, or reorder commands using the conversational programming features.
0 Comments