To transfer files to the cRio we use FTP. In Windows 7 you can open any file browser and type ftp:\\10.xx.yy.2 into your browser when connected to the robot to upload files.
We use the following directory to store our scripts on the cRIO:
/ni-rt/LabVIEW Data/Scripts/
To read this directory we use the default data directory VI and a build path to list all the files and parse each one:
For the format we use, we basically compromised between what wireties and Joe Ross have said.
Our scripts look like what wireties showed (without the BEGIN and END)
Example:
Code:
MOVE <left %> <right %> <time>
TURN_ANGLE <angle>
DRIVE_DISTANCE <inches>
SHOOT_ON_HOT
However we parse it using the spreadsheet parse function, with SPACE as a deliminator instead of comma
