05-30-2025 03:16 AM
Hello Community,
I hope you're doing well.
I'm working on a project involving Vision Builder AI (VBAI) and LabVIEW, and I need to monitor which states are being executed during the VBAI inspection, i.e., before it ends.
The goal is to track the state transitions of the VBAI state diagram in real time from LabVIEW, so I can react to specific states while the inspection is still running.
What is the best way to achieve this?
VBAI ActiveX API?
VBAI LabVIEW toolkit?
Other options (shared variables, TCP, etc.)?
Thank you in advance for any suggestions or examples!
Solved! Go to Solution.
05-30-2025 08:07 AM - edited 05-30-2025 08:08 AM
Your questions is very vague. You can accomplish what you want in many different ways. You have your process drawn. Now you need to start building code. What do you know about LabVIEW?
I would start with LabVIEW and a queued state machine. You can find examples of this by searching on line. Look at what others have done and start from there. A queued state machine will give you the ability to do everything that you are asking for. Start some code and come back when you get stuck.
05-30-2025 10:29 AM
Thank you very much for your feedback and support, Tim.
I also appreciate your suggestion regarding the use of a queued state machine in LabVIEW. I will start exploring this approach and look into available examples online, as you recommended. I won’t hesitate to reach out if I get stuck.
Thanks again