Go to Post I'd hate to state the obvious here...but I believe that we all just got Rick-rolled... - Hallry [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 08-02-2013, 16:47
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
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).
Reply With Quote
 


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


All times are GMT -5. The time now is 08:29.

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