Go to Post "Its not a glitch its a new feature, we just dont know how to use it yet" - Cuog [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-01-2015, 14:48
bmxer51 bmxer51 is offline
Registered User
FRC #2874
 
Join Date: Jan 2011
Location: Missouri
Posts: 26
bmxer51 is an unknown quantity at this point
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!
Reply With Quote
  #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
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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