Go to Post A good defense can defend against a good defense. - Squeakypig [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 16-10-2009, 11:29
MachineSMMC MachineSMMC is offline
Registered User
FRC #3026
 
Join Date: Dec 2008
Location: Minnesota
Posts: 24
MachineSMMC is an unknown quantity at this point
Download from Crio to Labview

Is it possible to download from Crio to Labview. I want to be able to pull the code off of the Robot and put it back on the PC to make sure we are editing the correct program. (we lost all of our programmers last year)

Thanks
__________________
Chris Tellers
Mentor
Team #3026
Orange Crush
Reply With Quote
  #2   Spotlight this post!  
Unread 16-10-2009, 12:53
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: Download from Crio to Labview

The file on the cRIO is an executable program generated from the LabVIEW project. You can retrieve it from the cRIO if you want (using ftp), but you won't be able to do anything with it. It is not in a form that can be edited, and there aren't any tools to turn the executable back into the VIs that were used to create it.

Think of the VIs you edit as the equivalent of eggs and flour and sugar, and the .exe file on the cRIO as a baked cake. If you don't have the ingredients, you can't really use one cake as the raw material to make another one.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-10-2009, 12:56
Andrew Schreiber Andrew Schreiber is offline
Data Nerd
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,057
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Download from Crio to Labview

Quote:
Originally Posted by Alan Anderson View Post
The file on the cRIO is an executable program generated from the LabVIEW project. You can retrieve it from the cRIO if you want (using ftp), but you won't be able to do anything with it. It is not in a form that can be edited, and there aren't any tools to turn the executable back into the VIs that were used to create it.

Think of the VIs you edit as the equivalent of eggs and flour and sugar, and the .exe file on the cRIO as a baked cake. If you don't have the ingredients, you can't really use one cake as the raw material to make another one.
Alan, please correct me if I am wrong but would it be possible to pull that executable off and compare it to an executable produced by code they do have?(I am assuming they are trying to find which version of code they last used and have all their code) Similar to when you compare the checksums of files to make sure they downloaded properly?
__________________




.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-10-2009, 13:37
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: Download from Crio to Labview

Quote:
Originally Posted by Andrew Schreiber View Post
Alan, please correct me if I am wrong but would it be possible to pull that executable off and compare it to an executable produced by code they do have?
Assuming they haven't made any configuration changes to their development system in the meantime, that seems like a very good suggestion.

Basically, bake another cake and see if it looks and tastes the same as the one you already have. If they match, you know you have the right recipe.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot get Code to Download to cRIO greekgod8591 C/C++ 25 09-03-2009 22:10
How to download and keep a program on crio zackcool123 Programming 2 16-02-2009 18:22
Crio image download brainsdmaner FRC Control System 2 15-02-2009 01:06
Trouble Downloading from LabView to cRio MikePres FRC Control System 0 15-01-2009 16:17
Download Programs Off the cRIO jwdickson FRC Control System 1 10-01-2009 17:29


All times are GMT -5. The time now is 10:59.

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