使用TestStand Version Selector管理多個TestStand的版本

更新 Feb 4, 2025

產品資訊

軟體

  • TestStand

問題敘述

  • 我已安裝了一個TestStand的版本,而我想再安裝另一個版本。因此我想了解一下以下資訊:
  1. 我可以並行安裝多個版本的 TestStand 嗎?
  2. 如何在安裝的不同版本之間做切換?
  • 我有安裝了多個版本的 TestStand。當我嘗試啟動 TestStand Sequence Editor 時,要嘛沒有任何反應,要嘛收到以下錯誤: The TestStand Engine cannot be initialized. You are trying to run the [x.y.z] sequence editor with the [x.y.z] engine. This is not supported. You can use the TestStand Version Selector to change the active TestStand engine version if you have more than one version of TestStand installed. 
 

解決方案

你可以並行安裝多個版本的 TestStand。然而,在任何時間下,你只能有一個 TestStand的版本可以處於啟用狀態並運行。

您可以在TestStand Version Selector工具中透過Make Active 來選擇您想要運行的版本: 


注意:如果您安裝了同一年份32 位元和64 位元的TestStand版本,請確保它們也採用相同的次要版本。例如,您可以安裝 TestStand 2017 32 位元搭配TestStand 2017 64 位元,或TestStand 2017 SP1 32 位元搭配TestStand 2017 SP1 64 位元,但無法安裝 TestStand 2017 SP1 32 位元搭配TestStand 2017 64位元或是 TestStand 2017 32 位元搭配TestStand 2017 SP1 64位元。

您可以透過以下方式啟用TestStand Version Selector:
  • Windows 10 與 7:使用開始功能表:Start»All Programs»National Instruments»TestStand»TestStand Version Selector
  • Windows 8 和 8.1:點選開始畫面上的NI Launcher tile,然後選擇TestStand»TestStand Version Selector
  • 執行C:\<Program Files x86>\National Instruments\Shared\TestStand Version Selector\TSVerSelect.exe

你可以透過開啟 TestStand Version Selector並啟用所需版本來修復上面「 Issue Details」部分中顯示的錯誤訊息。該錯誤訊息是由於嘗試開啟目前未啟用的 TestStand 版本而導致的。錯誤訊息顯示目前處於活動狀態的版本以及您正在嘗試開啟的版本。在上述情況下,我們嘗試開啟 TestStand 17.0.0,而 Teststand 4.2.1 被標記為啟用狀態。

相關資訊

  • 如果您想了解更多有關 TestStand 版本啟動時執行的操作以及如何使用command line以程式方式更改啟用版本的信息,請參閱TestStand helpTestStand Version Selector部分。

  • 隨著 TestStand 3.1 的發布,引入了TestStand Version Selector,以方便在電腦上安裝多個版本的 TestStand。請查看TestStand 3.1 Release Notes以了解更多資訊。