Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Using C++ w/o Windriver (http://www.chiefdelphi.com/forums/showthread.php?t=86800)

nighterfighter 08-09-2010 11:31

Using C++ w/o Windriver
 
Hi all-

We have always coded in C++ with Windriver.
However, I was asked to wipe the cRIO and set it up for Labview, (for a demonstration)

Long story short our 2010 bot is currently "programmed" in Labview. (Meaning it does nothing at all, but turn on. I couldn't for the life of me figure out Labview...)

However, an off season event, GRITS, is coming up, so I need to restore the C++ code to the robot.

I have all the source files still avaliable, but the laptop we used (a school laptop) was erased over the summer, so we don't have Windriver able to be installed, and even if we did, I think the liscense has expired.

So basically, I'm asking how to transfer the code to the cRIO without using WindRiver.

I've heard you can FTP the code in, but I'm not sure...

Thanks!

Joe Ross 08-09-2010 13:19

Re: Using C++ w/o Windriver
 
Do you still have the .out file? That's what you need, not the source code to FTP in.

Radical Pi 08-09-2010 18:55

Re: Using C++ w/o Windriver
 
You could send your source to someone who has a copy of Wind River installed. I think kamokat has it working.

As a last resort, NI posted instructions on how to build programs for the cRIO with just a modified version of gcc (no Wind River needed). Make sure to grab vxworks61gccdist.zip at the bottom of the page. Your .out file needs to be named FRC_UserProgram.out

demosthenes2k8 08-09-2010 19:25

Re: Using C++ w/o Windriver
 
Radical_Pi, could you please post a link to the NI instructions?

Mark McLeod 08-09-2010 19:34

Re: Using C++ w/o Windriver
 
http://zone.ni.com/devzone/cda/tut/p/id/5694
http://forums.ni.com/t5/Real-Time-Me...rks/m-p/470601

nighterfighter 08-09-2010 21:36

Re: Using C++ w/o Windriver
 
Thanks guys, I'll look into that.

RyanCahoon 09-09-2010 00:41

Re: Using C++ w/o Windriver
 
Just a note, make sure you switch back to C++ mode using the cRIO Imaging Tool as well.

--Ryan


All times are GMT -5. The time now is 13:51.

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