Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI vision builder command line options

I use NI Vision Builder for AI and have a bunch of .vbai files. How do i run them programatically? 

 

http://forums.ni.com/t5/Machine-Vision/target-connection-at-launch/td-p/1547132

 

The above suggests using \inspect option but it says that specified file cannot be run. Any alternatives? Also, can anyone enumerate all command line options in NI VB AI 2013? The post above is outdated.

 

Thanks.

0 Kudos
Message 1 of 3
(4,627 Views)

From which development environment do you want to automate Vision Builder AI?

Vision Builder comes with an LabVIEW, C and .NET API that you can use to programmatically launch a VBAI engine, open inspections and run them.

That would be an alternative to using the command line.

Check out the folder C:\Program Files (x86)\National Instruments\Vision Builder AI\API Examples

 

Hope this helps.

 

Christophe

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

Thanks for your reply, Christophe. I would ideally like to do it from command like/batch scripts since I don't need a tight coupling with NI APIs. Any command line arguments would be of help. As I saw in the earlier post, the "\inspect" option was supposed to run the inspection directly. But it appears to be broken. I was wondering if there are new command line options that is exposed in NI Vision Builder 2013 to do the same.

 

Regards,

Akshay

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