View Single Post
  #4   Spotlight this post!  
Unread 23-01-2014, 12:14
pblankenbaker pblankenbaker is offline
Registered User
FRC #0868
 
Join Date: Feb 2012
Location: Carmel, IN, USA
Posts: 102
pblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of light
Re: New Robot programmers. Trouble deploying

The issue appears to be in your use of:

Code:
Connector.openOutputStream(filename);
The stack trace is complaining that the filename value you provided is an illegal argument (bad parameter) for this method call. You passed in a value of "PrewinterRobotData". I'm guessing you wanted the Connector class to use a file named "PrewinterRobotData". It looks like the Connector class expects the string to be in the form of a URI (like a web page address).

I'm not familiar with the Connector class you are using, but you could try changing your filename value to: "file:///PrewinterRobotData" (a URI which specifies a file on the cRIO file system).

NOTE: If this works, you will need to ftp to your cRIO to download the file when you want to look at it's contents.

Hope that helps,
Paul
Reply With Quote