View Single Post
  #2   Spotlight this post!  
Unread 09-02-2014, 11:16
Thorn Thorn is offline
Registered User
None #2869 (Regal Eagles)
Team Role: Teacher
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Bethpage
Posts: 10
Thorn is an unknown quantity at this point
Re: Vision Code HELP!!!!

You should just try to capture one image (not in a while loop) and verify that it is there using FTP. Every time you capture an image it gets saved to the cRIO Flash, so you will run out of memory quickly if you continue to capture images within your while loop (unless you deleted it and I didn't see that in your code).

My guess is that your exception is coming from not being able to store the image because you are out of memory (from previous runs of the program) or something else unrelated to your code. FTP into the device to see if there are any images saved.

Try testing the vision code that was handed to us with the latest Netbeans plugin. There is a sample program included (you can get to it by creating a new project and choosing samples)