View Single Post
  #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