Log in

View Full Version : Where does the cRIO save your code?


Butter's
21-11-2012, 08:55
Hello Chief Delphi, I was wondering if could find the output file (In my case I'm assuming Java Jar) on the cRIO. I have already gone in via ftp (ftp://10.05.22.2), but I'm not sure of the directory I should be looking in.

Also, can I manually replace this file with what netbeans creates(Once again in my case assuming jar file)? Were having some issues with the robot moving, and someone said there is default code on the cRIO & we should make sure that it's being replaced with the new code.

Any help would be awesome!

inkspell4
21-11-2012, 21:24
Try re-imaging the c-Rio then upload your code

Greg McKaskle
21-11-2012, 22:33
I don't have a Java imaged controller, but for LV, the startup is located under ni-rt/startup. The default program is named startup.rtexe. The default program is also referenced in the ni-rt.ini file. I believe that the tag RTTarget.ApplicationPath will point to the exe that is likely to launch your jar. This is the line, along with the startupDLLs line, that the NI loader uses to get libraries and tasks into memory and initialized.

Greg McKaskle

Butter's
21-11-2012, 22:56
Had my question answered already, so you can ignore this thread.

For reference- It is the robot.suite file in ni-rt/system/