12-08-2025 01:45 PM
The API for the LabVIEW GUI will need a LabVIEW object(which has a message queue) to be shared with the Teststand, so that it can then use it to call all API functions. I see in the thread above that you were doing something similar, but not sure if the Operator Interface(OI) being refereed to in your comments is actually an independent LabVIEW GUI app or not. Could you please advice me if my approach to the problem is in the right direction.? I am not sure about how the application instances and memory spaces between TestStand code module VI's(API for my GUI exe) and LabVIEW GUI Exe will workout.
Yes, the Operator Interface in my case was a LabVIEW application. Managing application instances with TestStand is tricky because it changes in the IDE vs executable. NI has a help article. If you get your LabVIEW application and the TestStand code modules into the same instance of LabVIEW, you can share queues and objects.
For simplicity sake and ease of transitioning between IDE and built code, I would recommend either: