11-24-2009 12:56 AM - edited 11-24-2009 12:57 AM
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
11-24-2009 02:29 AM
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
11-24-2009 10:25 PM
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
11-25-2009 01:14 AM
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?