Hello LabVIEW Community,
I am currently working on automating interactions with a LabVIEW VI using the COM API (ActiveX) and facing a couple of challenges that I hope to get some insights on:
Interfacing with Nested Controls:
I’m trying to manipulate controls within a VI, specifically buttons that are nested inside other controls or clusters. I can easily interact with simple controls, but I'm having trouble accessing controls that are part of a cluster or array and also say the browse button as part of the file path control. How can I programmatically access and manipulate these nested controls using the COM API? Is there a particular method or property I should be using?Changes via COM API Displayed but Not recorded on the Front Panel even when the VI is running:
I’ve noticed that when I make changes to control values via the COM API, the modifications are immediately visible on the VI’s front panel but are not recorded as having been performed. This behavior is particularly confusing because I would expect the VI to update automatically. Do I need to implement additional functionality to continuously update the front panel, or is there a specific trigger or method to ensure the front panel reflects the changes made by the API in real-time?
Any suggestions, documentation references, or examples would be greatly appreciated!
Looking forward to your insights!
Thanks in advance!
FYI: I am using python and below is the VI and how I interact with it in Python. if you need the VI or it's string, please let me know.