Go to Post I wish my biology class was this exciting. - MissInformation [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 17-02-2012, 16:58
Timz3082 Timz3082 is offline
Registered User
FRC #3082 (Chicken Bot Pie)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Minnesota
Posts: 115
Timz3082 is a jewel in the roughTimz3082 is a jewel in the roughTimz3082 is a jewel in the roughTimz3082 is a jewel in the rough
Cool Vision Processing in LabView

Our team has (finally) gotten our electronics together and begun to test and tweak our code. In order to test and adjust the parameters of our vision code, we have introduced a global variable containing multiple image indicators. At various points throughout our Vision Processing SubVI, we are writing to these variables as a way to "probe" the status of an image after each successive stage of processing.

When we try to run this code and have the global variable's front panel open, we see the images flashing every few seconds and then reverting to black. I do not understand, given that the Vision Processing VI is the only place where this global variable is referenced, why the image becomes black when information is not actively being received.

Is there any way to fix this? Thanks!
__________________
2011 Record (11-3-0)
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2012, 17:48
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
Re: Vision Processing in LabView

Perhaps your image is turned to a binary image. When it goes black, try right clicking it and setting the image view as binary.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2012, 21:20
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,748
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 in LabView

Images are a bit odd since they are one of the few reference types in LV. They are reference types because of their size.

The end-result is that modifications to the named image will impact the display in a somewhat random way. If you right click on an image display and turn on Snapshots, it should help with flashing due to intermediate operations on a named operation.

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 08: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