Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Builder Inspection Auto-Start (for several programs)

Solved!
Go to solution

Hi everybody,

 

It's my first question, I hope to get a positive answer.

 

I would like to Autostart an inspection in Vision Builder

 

 Start directly in Run Inspection, but with the Run Status, I wouldn't push the "Start Inspection Button"

- Not for just one program, but every time I open a document, it start directly

 

I have seen the other Subject "Autostart an inspection in Vision Builder" of the year 2006, but it's only for one document, I need to choose other programs every time, with the same PC

 

I hope it's understandable and possible...

 

Thank you so much ! 

 

Alexandre

0 Kudos
Message 1 of 3
(1,881 Views)

Hello,

 

you can use command line:

 

"c:\Program Files (x86)\National Instruments\Vision Builder AI 2018" \inspect "Tutorial 1 - Coordinate System.vbai"

or

Tools->Options->StartUp

or you can use API :

c:\Users\Public\Documents\National Instruments\Vision Builder AI 2018\Examples\API Examples\dotNET Examples\
0 Kudos
Message 2 of 3
(1,816 Views)
Solution
Accepted by topic author Alexandre2504

Thank you very much for your message, it didn't work directly, but after some research it worked.

 

On VBA :

 

Shell "C:\Program Files (x86)\National Instruments\Vision Builder AI 2015\Vision Builder.exe \inspect C:\desktop\ProgramName.vbai", ShowModus

 

I hope to help someone

 

0 Kudos
Message 3 of 3
(1,745 Views)