Error -17600 When Called Simple Text Plugin for Report Generation in TestStand

Updated Feb 8, 2024

Reported In

Software

  • TestStand
  • LabVIEW Runtime

Issue Details

I using a llb file called SimpleTextPlugin for report generation in TestStand. I am running the TestStand sequence from LabVIEW API. While running the sequence file in LabVIEW exe. I'm getting an error from TestStand as shows below:

ERROR CODE -17600
-17600, Failed to load a required step's associated module.


When run into LabVIEW Development the error doesn't appear. Basically, this error only occurs in LabVIEW Runtime mode (EXE).

Solution

To solve this issue you need to Mass Compile the VI with the version being used on TestStand Adapter.

1. Mass compile SimpleTextPlugin LLB file in LabVIEW 2022 Q3, below show the step to mass compile the VI :
1.1. Close all the VIs and projects currently open in LabVIEW.
1.2. Open the Mass Compile tool:
  • LabVIEW 6.0 and higher: Select Tools » Advanced » Mass Compile.
  • LabVIEW 5.x and earlier: Select File » Mass Compile.
1.3. Choose the directory of the VIs to compile from Directory to compile.
1.4. Choose a directory to save the log file from Log Results.
1.5. Enable the Cache VIs checkbox if you want LabVIEW to keep the VIs in memory so that they do not need to be loaded every time a top-level VI is compiled. (The recommended number of VIs is between 50 and 80.)
1.6. Click on Mass Compile.
image.png
 
2. Configure your TestStand adapter as shown below:

image.png

3. Try load your VI from recently Mass Compile file and run, it should be able to solve the error.