View Single Post
  #1   Spotlight this post!  
Unread 06-11-2016, 12:58
cnc4 cnc4 is offline
Registered User
FRC #2231
 
Join Date: Jul 2016
Location: Israel
Posts: 8
cnc4 is an unknown quantity at this point
Getting axisCamera image result in an exception somtimes

Hi all, my team and I are trying to make vision code for the robot.
The vision works great but sometimes we get an exception from the getImage method in the axisCamera class. After I get several exception I get an outOfMemory exception pointing on the getImage method. Those two exception are pointing on the native method that the getImage use.
Error:
Code:
_Priv_ReadJPEGString_C(image.getAddress(), getByteBufferAddress(string_buf), stringLength);
Line 29329 in NIVision.class.

I dont have the error text right now but this is an unkownError type. the error code is imaqError -123673104, I didnt find any help in the internet for this error.

Thanks in advance!

Last edited by cnc4 : 06-11-2016 at 13:55.
Reply With Quote