|
Re: Problems Accessing Robot-Side File
If you open the WPILib source code project in NetBeans and take a look at the Preferences class you can see some examples of file reading and writing. It reads the preferences file from the cRIO in the read() method from the constructor and writes to it when the save() method is called.
That should give you a pretty good idea of reading/writing text files.
Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
|