Vision Processing Not Displaying Images

Does anybody know how to fix our problem?

Our problem:
All of the wires leading up to the original image output have executed. We have programmed a button to enable the vision processing. To our dismay, no image showed up in the front panel when we enabled vision processing. Here are the pictures of our code and front panel.

http://i.imgur.com/cxzbtpI.png

http://i.imgur.com/wf6DwSN.png

This reminds me of a corner error handling condition.

Can you change the button to either toggle, or to set the camera to always be on? There is an odd case where the camera shuts down the session and the cRIO needs to reopen. I don’t see code to handle it. Please let me know if the issue disappears when you read images more often?

Greg McKaskle

We fixed the image error. It was an issue in the begin.vi. The camera is now shutting down. We would like to know how to handle the reopening in the code. Thank you very much.

Later this week, we will release an update that will include the ReadMJPEG VI. It will then handle error 66 coming back from the TCP VIs and will close and reopen the session. If you wan a workaround until the update is available, leave the camera on the entire time. You can avoid processing the images or slow the rate, but try not to avoid reading an image for ten or fifteen seconds. That seems to be the timeout where the camera returns the error.

Greg McKaskle