View Single Post
  #5   Spotlight this post!  
Unread 10-06-2016, 14:32
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Accessing files on the driver station laptop from the robot

Quote:
Originally Posted by GuyM142 View Post
1. Is there a way I can make sure that everything that is working at home will work with field setup as well? That's my biggest concern.
That's a legitimate concern. If you can ensure that you're only using the defined open port numbers, and if you have a good way of finding out the Driver Station's IP address, you should be fine. The communication library in the robot program definitely knows the address you need to talk to, because it's receiving data from it. I don't know if LabVIEW's built-in ftp function can be told to use a nonstandard port number, though.

Quote:
2. I remember reading about a team which tried to do that and had problems (with over 100 parameters). I will search for it.
How much run-time configuration are you trying to do?!

It might actually end up being reasonable to put a specialized web server on the roboRIO that lets you edit the configuration file in place.

Quote:
3.I didn't know it was possible, how can it be done with a batch file?
The batch file just has to invoke the command-line ftp client to copy the file from wherever you keep it on the laptop to wherever you want to put it on the roboRIO. It's just a way to make things so you don't have to type the command every time you want to run it.
Reply With Quote