03-25-2015 07:34 AM
i have detected the eye ball and i can see the coordinates of eye ball in vision builder but when i am deploying in labview how to get the coordinates of the eye ball.. i have attached the eyedetection.vbai file. Please guide me.and thanks for viewing my post and helping me on.
03-25-2015 10:45 AM - last edited on 11-14-2024 06:26 PM by Content Cleaner
I would advise you to look at the VBAI LabVIEW API. Examples are located here:
C:\Program Files (x86)\National Instruments\Vision Builder AI\API Examples\LabVIEW Examples
It allows to control Vision Builder AI from LabVIEW (start a VBAI engine, open and run an inspection, and retrieve step results). This should be what you need if you need synchronization between your LabVIEW program and the VBAI inspection.
Another solution, that would be recommended from monitoring (when you don't need tight synchronization between the inspection running and the LabVIEW program), is using system shared variables. In VBAI, declare system shared variables and use the Set Variable step in the inspection to set them.
Then in your LabVIEW project, you can add and read those variables from your VI.
Hope this helps.
Christophe
03-26-2015 09:26 AM
SIR I HAVE DEPLOYED IN LABVIEW THE CODE I AM ABLE TO DETECT THE EYE BALL IN LABVIEW ALSO BUT CANNOT ABLE TO GET THE CO-ORDINATES WHILE DETECTING THE OBJECTS THERE I AM ABLE TO SEE CO-ORDINATES