|
Problems Accessing Robot-Side File
Using the Connector paradigm to open a FileConnection and trying to read from it, I'm encountering errors. These seem to stem from the fact that a call to available() returns 0 bytes.
Does anyone have a solution? The file I am trying to open is on the root of the cRIO's file system, so I could see file permissions being an issue (but I get no Exception to this effect, nor can I really justify this in my mind). I would try to relocate the file but have no idea what the default working directory of any code run on the robot is (nor do I really know how j2me handles things like this).
|