10-11-2019 03:39 AM
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
Solved! Go to Solution.
10-14-2019 03:27 AM
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\
11-22-2019 02:37 AM
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