Go to Post In 2001 instead of staring at the field at the game I turned around and watched the people watch the field. All I could see was a mass of people from all corners of the world, eyes lit up, gears turning in their heads. That, to me, is FIRST in action. - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-10-2010, 20:57
synth3tk's Avatar
synth3tk synth3tk is offline
Volunteer / The Blue Alliance
AKA: David Thomas
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Ohio
Posts: 2,005
synth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond repute
Re: Transfering Programing From Robot to Computer?

We used Sourceforge.net last season, but I think I'll probably setup a Google Code project this season.

As for your original question, no, there's no way to easily retrieve the code from the robot. Sorry.
  #2   Spotlight this post!  
Unread 08-10-2010, 21:10
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Transfering Programing From Robot to Computer?

Quote:
Originally Posted by synth3tk View Post
there's no way to easily retrieve the code from the robot.
Allow me to ask a related question if I may:

When uploading freshly-built code to the robot using, say, LabVIEW, is there a single large file that is being uploaded, or is it a series of several files, possibly gathered from different folders?

Is it possible to identify and archive this file(s), in a form that would permit it (them) to be uploaded at a future date without having to re-build them from the source code?

This is not an idle question. It has real practical significance.



  #3   Spotlight this post!  
Unread 08-10-2010, 22:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Transfering Programing From Robot to Computer?

In the case of LabVIEW it's a whole slew of files.
These are all located under a build folder (set in properties of your Build Specification) where they are downloaded from whenever you use Deploy or "Run as Startup"
Usually under My Documents\LabVIEW Data\your project\Builds\c\ni-rt\startup

You don't need to Build unless a change to the source has been made.
Each file is then downloaded only if the PC version is different than the current cRIO version.

For Java and C++ it's a single .out file.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 08-10-2010 at 22:28.
  #4   Spotlight this post!  
Unread 08-10-2010, 23:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Transfering Programing From Robot to Computer?

Quote:
Originally Posted by Mark McLeod View Post
In the case of LabVIEW it's a whole slew of files.
Is there any way to upload these to the cRIO after the LabVIEW license expires?



  #5   Spotlight this post!  
Unread 09-10-2010, 09:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Transfering Programing From Robot to Computer?

If you want to preserve everything to use after your LabVIEW license expires, to be safe I'd probably just ftp the whole directory tree on the cRIO back to a PC and store that.
The advantage there is that it could be captured and stored anytime after you discovered your license was no longer valid. Most teams would have forgotten by then exactly which program had been left last on the cRIO.

It would be valid with that particular cRIO image, but without a license you probably wouldn't be able to re-image the cRIO with the corresponding FPGA code if need arose.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-10-2010 at 09:13.
  #6   Spotlight this post!  
Unread 09-10-2010, 17:59
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Transfering Programing From Robot to Computer?

As Mark mentioned, a simple ftp command would do it. The fpga image is in there too, though without having a cRIO on me on the weekend -- hate it when that happens -- I can't be precise about where it is stored.

Greg McKaskle
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programing Robot Feedback Scottman General Forum 1 16-02-2008 01:45
Probem transfering program from easyC to bot SidneySalvo Programming 7 06-01-2008 16:49
Download from RC back to computer? geeknerd99 Programming 10 02-04-2007 18:37
Major problems transfering code to RC agrahimi Programming 7 19-01-2007 23:08
Computer Graphics and Visual Basic Programing Gope General Forum 0 26-10-2002 13:44


All times are GMT -5. The time now is 03:35.

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