Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Get info of vbai to vi

Hello, I'm working with Vision Builmder (vbai). I have created a VI where I can open a vbai. I wan't also to use the data from the vbai in vi,I have multiple solutions to get the data to a vi but i don't know how to read the data. I only want to have the number of matches from each pattern to labview so that in labview, I can use these numbers. Can someone help me? Thanks
0 Kudos
Message 1 of 3
(4,161 Views)

This is the VI that I have so far, No I only need to get the data from the vbai to the vi but I don't know how. There are multiple solutions like logging a ini or a txt-file and than opening this in the VI or directely opening the data from the vi with the build-in "get inspection measurement" tool. But I don't know how to read exactely the data. Someone some ideas?

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

You can find VBAI API example at this location:

C:\Program Files (x86)\National Instruments\Vision Builder AI 2014\API Examples\LabVIEW Examples

To retrieve the results, make sure you call VBAIInterface - Enable Inspection Measurements.vi

Then you can call VBAIInterface - Get Inspection Results or VBAIInterface - Get Inspection Measurements

 

Hope this helps.

 

Christophe

0 Kudos
Message 3 of 3
(4,127 Views)