Go to Post water electricity=bad - Chuck Glick [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 06-01-2015, 09:51
mitchklong mitchklong is offline
Registered User
None #4859
 
Join Date: Jan 2014
Location: Minnesota
Posts: 30
mitchklong is an unknown quantity at this point
Anyone know how to image new code to old Rio ?

So all of you are like us...we have old CRIOs sitting around with nothing to do.

Our attempts to image our code to the old RIO failed. Anyone have an easy way to do this ? Is it worth it to try ?
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2015, 09:53
bh202548 bh202548 is offline
Registered User
FRC #1701
 
Join Date: Jan 2014
Location: michigan
Posts: 13
bh202548 is an unknown quantity at this point
Re: Anyone know how to image new code to old Rio ?

Just put code on the old rio the same way you put code on it last year. You should need very few changes to the actually code to make it run on the crio it just has to be compiled and loaded differently.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2015, 10:10
thatnameistaken thatnameistaken is offline
Registered User
AKA: Joshua Johnston
FRC #2191 (Flux Core)
Team Role: College Student
 
Join Date: Oct 2012
Rookie Year: 2013
Location: Hamilton, NJ
Posts: 52
thatnameistaken is on a distinguished road
Re: Anyone know how to image new code to old Rio ?

You'll need to image it with the cRIO Imaging tool provided in this year's LabVIEW update if you haven't already. However, if my understanding is correct, you'll need to make a seperate project specifically configured for the cRIO; don't quote me on that, though, as I haven't played with it much myself.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-01-2015, 10:15
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 305
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: Anyone know how to image new code to old Rio ?

I too am interested in this topic. If you were using C++ the WindRiver license is no longer active and therefore you cannot build with it anymore (or even open the application anymore). Therefore you need a different cross-compiler which can use the libraries and other settings that were setup in WindRiver.

I'm not sure about the possibility of using the old cRIO imaging tool as I have not tried it. That might still function.

I was able to successfully copy a previously built executable onto a cRIO using FTP to copy the file to the correct path on the cRIO disk. Tp the best of my knowledge, this is basically what the deploy function did under WindRiver. It appears to function fine, but we have not done much testing.

There was some mention of backward compatibility to the cRIO using the Beta testing, but I never heard any details. We too are hoping that something will be published about it soon.
__________________
Reply With Quote
  #5   Spotlight this post!  
Unread 06-01-2015, 12:38
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,797
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: Anyone know how to image new code to old Rio ?

LabVIEW is the only 2015 language that supports running 2015 code on the older 4-slot cRIOs.
To use the 2015 LabVIEW software on a cRIO, the cRIO must be reformatted to v54 or later, using a new FRC CRIO Imaging Tool found at C://Project Files/National Instruments/LabVIEW 2014/project/CRIO Tool

We can also keep the existing environments we used last year around just to program the cRIOs. Last season's LabVIEW and Java don't expire, but c++ does so C++ will need a new toolchain to continue supporting the older cRIOs.

So
-------------
Option 1: LabVIEW & Java Can Use Existing Setups to program cRIOs
Java teams can continue using Netbeans with the old libraries
LabVIEW license from last season never expires (just other years) - caution: don't install LV FRC 2015 on the same machine with last year's LabVIEW, because some conflicts with common names may result.

Option 2: C++ WindRiver Expires, so Use a Different Setup
C++ teams can use the project located on FIRSTForge here: http://firstforge.wpi.edu/sf/projects/c--11_toochain

Option 3: LabVIEW-Only New Software Will Work on cRIO II
Backward compatibility for LabVIEW w/ 4-slot cRIO only
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 06-01-2015 at 12:41.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2015, 17:40
harding3202 harding3202 is offline
Registered User
FRC #3202
 
Join Date: Nov 2011
Location: MN
Posts: 1
harding3202 is an unknown quantity at this point
Re: Anyone know how to image new code to old Rio ?

We found the imaging tool but when we tried it this error came up. Anyone have any ideas to what or where we can find the file or what might be wrong.

Error Message:
Unable to complete operation because of unexpected error:
Error 7 occurred at File/Directory Info in ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlibialog.vi

Possible reason(s):

LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.

C:\Users\Developer\AppData\Local\Temp\lvtemporaryd _591025\cRIOFRC
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 09:23.

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