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!