02-26-2015 01:35 AM
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.
02-26-2015 09:07 AM
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
03-03-2015 07:17 PM
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