TestStand Operator Interface Hangs When Preloading Modules

Updated Dec 21, 2021

Reported In

Software

  • TestStand 2019

Issue Details

I have a test system deployed that brings an Operator Interface made in LabVIEW. In this deployment environment, I open the application, load my sequence file and run it using any execution entry point (TestUUT, SinglePass, etc). TestStand then starts preloading the modules and displays the Preloading Modules... dialog box. At this moment, there is no visible progress and my Operator Interface hangs (shows up as Not Responding on Windows Task Manager). The only way out is killing the application on Task Manager.

SS2.png

Why is this happening and how can I solve it?

Solution

TestStand R&D found out that this error occurs when the operator interface INI file contains the ESys.StdNParallel=0 token in it.

SS1.png

According to the KB article How to Turn Off Multithreading in LabVIEW, this token turns off multithreading in LabVIEW executables. Such a feature is usually added for debugging purposes. The TestStand code that preloads modules is not compatible with that feature, causing the entire application to hang.

To solve the issue, remove that token from the INI file and save it. You should now be able to load and run your test sequence successfully.