Go to Post How about instead of using the flag we just all wrap out robots in color saran wrap. there! problem sovled! - John Gutmann [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 04-02-2016, 20:26
alambert14's Avatar
alambert14 alambert14 is offline
Student Programmer
AKA: Abby Lambert
FRC #2035 ("Rockin" Bots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Carmel
Posts: 14
alambert14 is an unknown quantity at this point
VisionException Unknown Error

We have been working on vision code with Java, and we are trying to save an image to the roboRIO. Following what we did last year, we connected to the roboRIO with SFTP (filezilla), and then created a folder in the root directory called "image" and placed a picture called test.jpg.

However, when we try to write the file using

Code:
NIVision.imaqWriteJPEGFile(frame, "/image/test.jpg", 100, colorTable);
frame is our image to be written.

However, when we run the code, we get an error on that line saying: "Unhandled exception: VisionException [com.ni.vision.VisionException: imaqError: -1232673104: Unknown error] at [com.ni.vision.NIVision._imaqWriteJPEGFile(Native Method), com.ni.vision.NIVision.imaqWriteJPEGFile(NIVision. java:25654)" on the line of code mentioned above.

It is hard to figure out what is wrong since it is an "unknown" error; however, we believe it has something to do with the file path. Has anyone seen this error before and/or know how to fix it? Anything helps, thanks!

Last edited by alambert14 : 04-02-2016 at 21:06.
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:43.

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