How Can I Run the Vision Builder for Automated Inspection from the Commandline?

Updated Apr 21, 2023

Reported In

Software

  • Vision Builder for Automated Inspection

Issue Details

I need to run my *.vbai-project through the command line. What are the commands that I can use?

Solution

If you want to start your project in configuration mode, you can call the Vision Builder Proxy.exe together with the path to your file through your command line:
C:\Program Files (x86)\National Instruments\Vision Builder AI 2018>"Vision Builder Proxy.exe" "C:\Users\Public\Documents\National Instruments\Vision Builder AI 2018\Examples\Classify Colors Example.vbai"
You can also start the Vision Builder for Automated Inspection directly in inspection mode. This can be done by calling the Vision Builder.exe together with the /inspect command and your file path:
C:\Program Files (x86)\National Instruments\Vision Builder AI 2018>"Vision Builder.exe" \inspect "C:\Users\Public\Documents\National Instruments\Vision Builder AI 2018\Examples\Classify Colors Example.vbai"
This command directly runs the inspection.