LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to store data measurment from VBAI

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

0 Kudos
Message 1 of 4
(2,819 Views)

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.

0 Kudos
Message 2 of 4
(2,783 Views)

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

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

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

0 Kudos
Message 4 of 4
(2,770 Views)