09-04-2015 04:19 PM
I would like to find a way to customize the toolbar/menu bar for a Vision Builder AI. It seems that the Run Inspection and Stop Insepction buttons cannot be hidden/disabled or password protected from the operator. Does anyone know of a way to control these items?
I am aware that the VBAI can use a custom interface developed in a LabVIEW VI but it seems to me that the Run/Stop buttons will still appear unless a property for these can be acessed.
How can a developer prevent accidental stopping of a machine vision inpsection if the Stop button is always enabled?
Thank you
Dan
Solved! Go to Solution.
09-04-2015 04:42 PM
Hi Dan,
Unfortunately, there is no way to disable these buttons from Vision Builder AI. That is good feedback.
You are correct: even using a Custom User Interface, VBAI will display these buttons and they will be enabled.
The only solution to this issue right now, is instead of using Vision Builder as the main executable for the application, Creating the Custom UI in LabVIEW and use the VBAI API to open/run the inspection. You'll be able to program in LabVIEW user access capabilities and only enable the features that you want to give access to the operator on your UI.
The developer will still be able to modify the inspection using Vision Builder AI.
We are aware of the lack of UAC in VBAI.
Example of how to use the VBAI API can be found here:
C:\Program Files (x86)\National Instruments\Vision Builder AI 2014\API Examples
Christophe
09-04-2015 05:04 PM
Thank you for the feedback. I was afraid this was the case.
Dan