NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

DoClick method on TS UI Button "Test UUTs" hangs user intrface at "Preloading modules"

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?

0 Kudos
Message 1 of 4
(924 Views)

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,

 

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(899 Views)

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.

 

AndrazS_0-1655700511663.png

 

0 Kudos
Message 3 of 4
(879 Views)

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.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(872 Views)