06-17-2022 03:56 AM
I have Labivew TestStand simple user interface.
I want to programatically run execution entry point (the same as if user press "Test UUTs" button)., but the program hangs when "preloading modules..." popup is shown.
Any ideas why this should happen? And Any other way to programatically run sequence file from Labivew TS User Interface?
06-17-2022 08:46 AM
There is an example that ships with TestStand that shows how to do this without ActiveX controls:
C:\Users\Public\Documents\National Instruments\TestStand 2019 (32-bit)\Examples\Modifying User Interfaces\Building a TestStand UI with Native Controls\LabVIEW
My guess is that you are seeing some kind of search directory issue. Or you are trying to run the LabVIEW adapter in the wrong mode.
Regards,
06-19-2022 11:48 PM
Thanks for answer. I'm experiancing the same behaviour as mentioned... when TestStand starts to "Preloading Modules..." the program hangs...there isn't any "debug" or "error" log available anywhere to inspect the behaviour.
06-20-2022 08:49 AM
Generally in this scenario you need to narrow down what is causing the issue. Can you load and run a demo sequence file that ships with TestStand? This eliminates anything in your UI as the culprit.
Can you remove some steps or make a copy of your sequence file and remove some steps to see what could be causing the issue?
Slowly start narrowing it down until you find the culprit. Then once you have that identified we could probably point you to a better solution.