Go to Post IT'S LIKE FIRSTmas CAME EARLY THIS YEAR!!! THANKS VEXPro! - akoscielski3 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-11-2012, 08:55
Butter's Butter's is offline
Registered User
AKA: Joe Kent
FRC #0522 (Robo Wizards)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Staten Island, New York
Posts: 21
Butter's is an unknown quantity at this point
Where does the cRIO save your code?

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!
  #2   Spotlight this post!  
Unread 21-11-2012, 21:24
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Try re-imaging the c-Rio then upload your code
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
  #3   Spotlight this post!  
Unread 21-11-2012, 22:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Where does the cRIO save your code?

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
  #4   Spotlight this post!  
Unread 21-11-2012, 22:56
Butter's Butter's is offline
Registered User
AKA: Joe Kent
FRC #0522 (Robo Wizards)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Staten Island, New York
Posts: 21
Butter's is an unknown quantity at this point
Re: Where does the cRIO save your code?

Had my question answered already, so you can ignore this thread.

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


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 02: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