Go to Post Gracious professionalism is a two-way street. - Bharat Nain [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 06-02-2012, 12:56
Itamar's Avatar
Itamar Itamar is offline
Registered User
FRC #1943 (NeatTeam) & FRC #4590 (GreenBlitz)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Israel
Posts: 83
Itamar is an unknown quantity at this point
Code stops responding after getting camera image.

Hey. My team and I are currently working on identifying the baskets with out camera. We set a LED on our camera and the idea is that we take a picture with the LED on and another with the LED off. Then we take the absolute difference between both, and that gets us exactly what we need.

The problem is that we need to take one picture, turn the LED off, take another one and compare it with the previously taken picture. I tried doing this by creating two global variables and filling each with a picture when a button is clicked. But for some reason the code stops right when I give the order to take a picture.

The project is attached. Do you know what can I do to fix this? Is there a better way to use a two-picture script?

Or perhaps the whole concept of using two pictures is wrong? is there a much better way to identify the baskets?

cheers,
Itamar.
Attached Files
File Type: rar Retrying Camera.rar (220.6 KB, 5 views)
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 11:42.

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