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!

Do you still have the .out file? That’s what you need, not the source code to FTP in.

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

Radical_Pi, could you please post a link to the NI instructions?

http://zone.ni.com/devzone/cda/tut/p/id/5694

Thanks guys, I’ll look into that.

Just a note, make sure you switch back to C++ mode using the cRIO Imaging Tool as well.

–Ryan