Error When Configuring a Switch Executive Virtual Device in TestStand 2020 f1

Updated Mar 7, 2022

Reported In

Software

  • Switch Executive
  • TestStand

Driver

  • NI-SWITCH

Other

TestStand 2020 f1 patch

Issue Details

I have TestStand 2020 f1 as well as the latest version of NI-Switch and Switch Executive. I would like to enable switching in my test step and configure a Switch Executive Virtual Device from the properties tab for my test step. When I try to configure the virtual device, I get the following exception from the TestStand Sequence Editor.

Could not load file or assembly 'NationalInstruments.SessionMgr.Interop, Version=20.0.1.49159, Culture=neutral, PublicKeyToken=ad9244eb3b825cd8' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
 
Exception Dialog

What are the steps to solve this issue?

Solution

This issue only occurs with the TestStand 2020 f1 patch. In this version, the Sequence Editor incorrectly looks for version 20.0.1.49159 of NationalInstruments.SessionMgr.Interop.

Please follow the steps below to fix the issue:
  1. Download the attached SeqEdit.exe.config file.
  2. Move it to the <TestStand>\bin. You must replace the existing file.
Note:  If you have both 32-bit and 64-bit TestStand installed, you must apply this fix to both the 32-bit and 64-bit TestStand bin directories.

Attachments