VI Is Not Executable Error with TestStand Examples

Updated Apr 23, 2019

Reported In

Software

  • TestStand
  • LabVIEW

Issue Details

I am taking NI's TestStand Online Training course and the examples are unable to run due to a broken VI and a missing TestStand Instrument Simulation.dll.  I can open up the VI in LabVIEW 2018 and it finds the DLL and works but when I try to run it in TestStand I still get the following message: 

Error Code modules must be able to load General Module for Step 'Initialize Test Fixture' not Loadable. Failed to load VI 'C:\Program Files (x86)\National Instruments\LabVIEW 2018\instr.lib\Driver Simulation\Fixture\SetUUT.vi' in the LabVIEW Run-Time Engine version '13.0.1f6'. 

LabVIEW:  The VI is not executable.  This error may occur because the VI is either broken or contains a subVI that LabVIEW cannot locate. Select File>>Open to open the VI and verify that you can run it. 


VI Path: C:\Program Files (x86)\National Instruments\LabVIEW 2018\instr.lib\Driver Simulation\Fixture\SetUUT.vi

Solution

There are a couple of options to get rid of this error:
  1. Change the version of LabVIEW that TestStand uses to the Development System instead of the Run-Time Engine.
  2. Download the LabVIEW 2013 Run-Time Engine (or the Run-Time Engine version that is listed in the error message) and configure TestStand to look at this version of the Run-Time Engine through the steps listed in the article linked in Step 1.

Additional Information

This error occurs because some of the LabVIEW code used in the TestStand examples was created in LabVIEW 2013.  Code compiled in LabVIEW 2013 can be only be run on the LabVIEW 2013 Run-Time Engine or the LabVIEW 2013 and up Development Environment.  This is because compiled LabVIEW code can only be run on the matching Run-Time Engine.