04-13-2015 05:42 AM
hi all,
i have measurment for points positions and angle done by VBAI so i would know how to store these data and send them to a robot .
best regards
04-14-2015 08:12 AM
Hello djokovic17,
Check out the KB below:
"How Do I Log Images and Data in Vision Builder for Automated Inspection (VBAI)?"
http://digital.ni.com/public.nsf/allkb/AE578D1C036084C0C1256EB4005EE687
Regards!
>>Daniel C.
04-14-2015 08:19 AM
Are you controlling the robot from VBAI or LabVIEW, or some other programming envirnment? If you're doing it within VBAI, you can just have your Robot calls inside a Run LabVIEW step and pass the LabVIEW step the results of your points needed. If you're using LabVIEW or some other programming envirnment, you can use the a VBAI API to control VBAI, run the inspection, get results/images, and then control robot based on the results you get from VBAI. You can find an example of how to use the API in your VBAI folder under API Examples folder.
Hope this helps,
Brad
04-14-2015 09:25 AM
What is the communication protocol that you want to use to communicate with the robot?
Vision Builder AI natively supports multiple I/O communication steps and industrial protocols that you can find in the Communicate tab (second to last tab in the palette).
Also a NI partner called Digimetrix, offers several LabVIEW libraries dedicated to communication with most of the well known industrial robots.
So if you can't use any of the built-in protocols (serial, TCP, Ethernet/IP for example) to communicate the data with the robot directly from VBAI, a solution that should work is to use the VBAI API to control the VBAI inspection from LabVIEW and retrieve the results, and use the library you need from Digimetrix to send the data to the robot.
You can find VBAI API example in this folder:
C:\Program Files (x86)\National Instruments\Vision Builder AI 2014\API Examples\LabVIEW Examples
The VBAI API allows to control VBAI from any development environment (i.e. launch a VBAI engine, open and run an inspection, retrieve images and results from any steps)
Hope this helps.
Christophe