TestStand在重新安装或升级后,启动时崩溃

更新 Aug 1, 2023

适用于

软件

  • TestStand 2019
  • TestStand 2020

问题详述

我卸载并重新安装了 TestStand,但新安装的 TestStand 在启动时崩溃。是什么原因可能导致此问题?

解决方案

卸载 TestStand 2019 及更高版本时,某些软件包可能无法正确卸载。如果存在这种情况,未卸载的软件包可能会损坏以后的正常安装,从而导致再次启动时的崩溃。为避免这种情况,请确保卸载所有 TestStand 相关软件包。

请执行以下步骤以查找并删除未卸载的软件包:

1. 打开NI Package Manager
2. 转到Installed选项卡。
3.在搜索栏中输入TestStand。
4. 查找32-bit或64-bit对应的软件包。您的案例中可能只列出了其中的一些,但您可以在下面找到完整的软件包列表:
  • 对于 32 位,检查以下软件包:
  • TestStand Runtime GAC Assemblies
  • TestStand Tools Deployment Utility (32-bit)
  • TestStand ADE Support Shared (32-bit)
  • TestStand Documentation (32-bit)
  • TestStand Examples (32-bit)
  • TesStand Session Manager 
  • TestStand ADE Support (32-bit)
  • TestStand File Diff and Merge Utility Launcher
  • TestStand Licenses
  • TestStand Example Launcher
  • TestStand Graph Control 
  • TestStand Process Models Runtime (32-bit)
  • TestStand Process Models Source (32-bit)
  • TestStand Runtime (32-bits)
  • TestStand Sequence Editor (32-bits)
  • TestStand Tools (32-bit)
  • TestStand User Interfaces (32-bit)
  • 对于 64 位,请检查以下软件包:
  • TestStand Runtime GAC Assemblies
  • TestStand Tools Deployment Utility (64-bit)
  • TestStand ADE Support Shared (32-bit)
  • TestStand Documentation (64-bit)
  • TestStand Examples (64-bit)
  • TestStand Runtime (32-bits)
  • TesStand Session Manager 
  • TestStand ADE Support (32-bit)
  • TestStand File Diff and Merge Utility Launcher
  • TestStand Licenses
  • TestStand Example Launcher
  • TestStand Graph Control 
  • TestStand Process Models Runtime (64-bit)
  • TestStand Process Models Source (64-bit)
  • TestStand Runtime (64-bit)
  • TestStand Sequence Editor (64-bit)
  • TestStand Tools (64-bit)
  • TestStand User Interfaces (64-bit)
  • TestStand LabVIEW NXG API
  • TestStand LabVIEW NXG Controls

注:您可能会发现 TestStand Runtime GAC Assemblies和TestStand LabVIEW NXG Controls的多个版本。考虑所有这些并将它们全部卸载。

 
5. 找到未卸载的软件包后,选择它们并单击Remove按钮。


注意:如果同时安装了 32 位和 64 位,您可以卸载 64 位软件包,仅留下 TestStand 32 位。但是,由于 TestStand 64 位依赖于 TestStand 32 位的依赖项,因此您无法在保留 TestStand 64 位的同时安全卸载 TestStand 32 位,因为这可能会损坏 TestStand 64 位的安装。