Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Referencing a variable in a text document (http://www.chiefdelphi.com/forums/showthread.php?t=132347)

bmxer51 07-01-2015 14:48

Referencing a variable in a text document
 
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!

tcjinaz 08-01-2015 00:34

Re: Referencing a variable in a text document
 
Quote:

Originally Posted by bmxer51 (Post 1423750)
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.


All times are GMT -5. The time now is 08:57.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi