View Single Post
  #2   Spotlight this post!  
Unread 08-01-2015, 00:34
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: Referencing a variable in a text document

Quote:
Originally Posted by bmxer51 View Post
Last year at regionals someone showed my team how their autonomous program referenced variables that they had typed into a text document then stored it on the cRio via FTP. Could anyone explain how to program in labview to do this? I read the manual and know how to FTP to the new roborio but I don't know how to reference the text document in labview.

Basically if we had programmed the robot to go forward for 3 seconds we want that 3 to be in a text document so if its too long we can just change it to 2.9 and save the document without recompiling the code every time.

Thanks for all the help!
Root around for the "command-based programming" stuff. Classically, these open a file at some spot in the robot's file system, then read commands (line by line of you will) from there.
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote