Go to Post Don't you hate it when you can't find the droids you're looking for? - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2013, 20:34
XNCluigi XNCluigi is offline
Registered User
FRC #1756
 
Join Date: Jan 2013
Location: Illinois
Posts: 2
XNCluigi is an unknown quantity at this point
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.



Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2013, 21:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Vision Processing Not Displaying Images

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
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2013, 21:10
XNCluigi XNCluigi is offline
Registered User
FRC #1756
 
Join Date: Jan 2013
Location: Illinois
Posts: 2
XNCluigi is an unknown quantity at this point
Re: Vision Processing Not Displaying Images

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.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2013, 22:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Vision Processing Not Displaying Images

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
Reply With Quote
Reply


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 10:54.

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