Go to Post Do you think it's important? Is it actually possible for the students to change the lives of the mentors? - Rich Kressly [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 Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 13-01-2010, 21:10
Randy Forgaard's Avatar
Randy Forgaard Randy Forgaard is offline
Parent 1729, former mentor 3126
FRC #7129
Team Role: Parent
 
Join Date: Oct 2009
Rookie Year: 2010
Location: Hollis, NH, USA
Posts: 48
Randy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to beholdRandy Forgaard is a splendid one to behold
Question about updating "ni-rt.ini" file to use NetConsole

We have a question about the proper way to update the "ni-rt.ini" file on the cRIO for use with NetConsole, the nifty utility available from the WPI FRC C/C++ Updates page at "http://first.wpi.edu/FRC/frccupdates.html" to perform console interactions with the cRIO across the wireless network link between the Classmate and the cRIO.

The instructions for NetConsole say that we need to add "NetConsole.out;" to the beginning of the EarlyStartupLibraries token in the "ni-rt.ini" file. We haven't had to update the "ni-rt.ini" file before. However, by wirelessly FTP'ing to the IP address of our cRIO, we discovered that, indeed, there is a "ni-rt.ini" file in the root folder of the cRIO. Also, we found that by updating that "ni-rt.ini" file as indicated above, we indeed got NetConsole working easily, which is very cool.

But here's the question: Did we update "ni-rt.ini" the correct way? Do we just FTP over to the cRIO and change the file (saving both the old and new versions of the file for future use just in case)? Or, will that "ni-rt.ini" file get overwritten at some point during normal development, and we should actually be updating some other copy of the "ni-rt.ini". For example, on any of our developer computers that have the FRC LabVIEW 8.6.1 software installed, we have discovered many different "ni-rt.ini" files that the LabVIEW installer placed into many different folders on the computer. Is there any scenario where our Wind River C++ or other developer tools might overwrite that change we just made to the "ni-rt.ini" file on the cRIO?

We're just trying to make sure we updated the file in the correct manner. Any help appreciated. Many thanks!
__________________

Randy Forgaard
Hollis, NH USA
Parent Team 1729 Plan B
Former software mentor FRC Team 3126 FlashPoint
"Button Guy" for FRC Team 1073 The Force
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2010, 21:34
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,581
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Question about updating "ni-rt.ini" file to use NetConsole

Yes, that is how you are expected to update the ni-rt.ini file.

It will definitely be overwritten when you run the cRIO imaging tool in format mode. I'm not sure if it will be overwritten if you run the imaging tool without formatting.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-02-2010, 01:54
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 672
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Question about updating "ni-rt.ini" file to use NetConsole

I have never used netconsole before. I have been using a serial cable. But netconsole sounds cool, so I want to try it. But I can't get it to work. I FTP'd into the cRIO, found the ni-rt.ini file at the root folder as expected, added the "NetConsole.out;" at the beginning such as the line below.
Code:
EarlyStartupLibraries=NetConsole.out;vxfpsup.out;tsengine.out;
After rebooted the robot, I can see the COM console spitted out the following:
Code:
Loading LVRT...
* Loading EarlyStartupLibraries: NetConsole
So, it looks like it loaded the NetConsole server. After this, the COM console went quiet so it looks like all the output has been redirected from then on. But nothing showed up in the NetConsole client. The IP box did not show anything. I even type the robot's IP address there but as soon as I hit enter, it cleared out and nothing happened. Is there a trick that I missed? I checked my laptop's firewall and netconsole.exe is allowed to go through. Anything else I should check?

Thanks.

Last edited by mikets : 25-02-2010 at 01:59.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Battery: No Code" after uploading .out file to cRIO knine143 FRC Control System 1 20-12-2008 22:14
"Error.MCP" file after HEX file trans iwdu15 Programming 1 24-01-2007 20:05
A question about the Ramps in "Aim High" ChuckV Rules/Strategy 2 23-10-2006 11:14
Question about the "25 seats" SteveC116 Inventor 1 09-01-2005 20:01
Question about using the "brake" on the 884 Caleb Fulton Electrical 6 12-03-2003 13:51


All times are GMT -5. The time now is 22:24.

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