Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Find Objects 2 problem

Hi Guys:

             i have a problem in the vi: IMAQ Find Objects 2,  i use this vi to find bright objects in labview ,then bulid a dll used for C entironment such as VS2003 or CVI 8.5, when i loop this test vi in Labview, it is ok, but when i load the dll in VS 2003,and loop the function  over 100 times, there are 2 or 3 times fail(fail means cann't find any bright objects, sometimes only 2 objects can by found,actually there are more than 6 objects on the bmp ),  to debug this issue , i have save both image before and after "IMAQ Find Objects 2" each time, it is ok, beacuse i can find most of the bright objects with naked eyes, so could you give me some idea about "IMAQ Find Objects 2"?

            Is there any strict parameters for this vi?   for example ,the input image must be G16 type?  or anything else?

 

 

 

thanks

 

帖子被adobefree@163.com在 03-03-2009 02:23 AM
时编辑过了
0 Kudos
Message 1 of 3
(3,398 Views)
Is the input parameters in CVI the same with in LabVIEW?
0 Kudos
Message 2 of 3
(3,369 Views)

      Yes , inputs is all the same.

       I have almost find where the problem is , actually what i am doing is to extract a image into RGB three panel, then find dark or bright objects in these three panel, now the question is if these three "IMAQ Find Objects 2" is one by one , i mean orderly, it is ok, but when i setup these three in different threads , i mean at the same time , the resluts become bad , lost objects or even can't find any one.

       So ,you know , my question is:Is vision has this kind of bug ?  i mean due to CPU loading too high(because of the multi threads)? or one "IMAQ Find Objects 2"  will effect another? 

0 Kudos
Message 3 of 3
(3,364 Views)