LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Check if Overlay Group Present

Hi Ppl,

 

Is there any way to find out if a overlay group is present in a image. I'm copying overlays from an image by overlay group name. So in case if the overlay group is not present it is giving errors. Is there any way to solve this ?

 

I'm using LabVIEW 8.6 and Vision 8.6 

 

Thanks 

Message Edited by lordsathish on 11-24-2009 12:57 AM
0 Kudos
Message 1 of 4
(3,169 Views)

You wrote:

 

...to find out if a overlay group is present .... and ...if the overlay group is not present it is giving errors...

 

So why don't you use the error you get to see if an overlay is present or not?

 

 

Christian

0 Kudos
Message 2 of 4
(3,154 Views)

Hi,

 

I thought about this idea. But in case there is a different error thrown by the VI, say invalid image... Or if there is a error getting propagated from previous functions, there is a chance that these errors do not get handled. So I guess it will be better to check the error code to determine if the overlay is present or not.

 

Thanks 

0 Kudos
Message 3 of 4
(3,138 Views)

You wrote:

 

...So I guess it will be better to check the error code to determine if the overlay is present or not....

 

Is this not what I suggested before?

0 Kudos
Message 4 of 4
(3,132 Views)