在TestStand中打開保存為先前版本的Sequence File時,為什麼會出現版本衝突?

更新 Jan 17, 2025

產品資訊

軟體

  • TestStand
  • TestStand 2010
  • TestStand 2020

問題敘述

我有一個保存在TestStand 2020中的TestStand Sequence File,但是我需要在TestStand 2010上打開它,只是為了用於查看。我保存了TestStand 2010的Sequence 並將檔案移至TestStand 2010工作站,但仍然無法打開檔案,並且收到一條錯誤消息,指出NI_ATMLReportOptions type can't be open because it requires TestStand 2020. 。為什麼會看到這個?我該如何保存TeststandPersistedOptions?

以下是相關的錯誤截圖:

Screenshot 2024-08-12 092827.png 

Type 'NI_ATMLReportOptions' is invalid because it can only be loaded in TestStand version 20.0.0.0 or higher. To avoid this error message, you should open a file that contains an earlier version of this type. 
The sequence file '<file location>.seq' could not be loaded.

Error code: -17328, Unknown or missing type.
Source: 'TSAPI'

解決方案

此‘NI_ATMLReportOptions'是在TestStand 2010之後添加的TeststandPersistedOptions配置的一部分。它出現在 TestStand 2010 之後的報告產生外掛程式 NI_ReportGenerator.seq 中。由於 TestStand 2010 前的Sequence不包含相關報告產生外掛程式,因此不存在相關設定檔。TestStandProcess Model將使用此設定檔來配置一些TestStand中的報告選項。

若要解決上述錯誤,您可以嘗試通過 TestStand 2020 打開NI_ReportGenerator.seq。然後,根據以下步驟進行操作。

  1. NI_ReportGenerator.seq 中流覽至 View >> Types
    Screenshot 2024-08-12 164932.png 

  2. 點擊 Sequence Files >> NI_ReportGenerator.seq

  3. Types 部分查找 NI_ATMLReportOptions
    Screenshot 2024-08-12 165010.png 

  4. 右鍵點擊 NI_ATMLReportOptions 選擇 Properties 打開 NI_ATMLReportOptions Properties

  5. NI_ATMLReportOptions Properties >> Version 菜單中不勾選 Set Earliest TestStand Version that can Use this Type
    Screenshot 2024-08-12 165155.png 

  6. 將您需要在 TestStand 2010 打開的 sequence file 保存為 TestStand 2010。您可以參考此文檔將 Sequence Files 轉換為舊TestStand版本。

相關資訊

在 TestStand 2012 之後,報告產生的方式有很大的改變。因此,若您需要將 TestStand 2012 以上的 sequence file 保存為 TestStand 2010,您需要進行的操作可能會比較繁瑣。