在 TestStand 中使用 SystemLink TestMointor 外掛程式時如何增加產品名稱

更新 Nov 22, 2023

環境

軟體

  • SystemLink
  • SystemLink Client
  • TestStand
  • SystemLink Test Module

本文將介紹在 NI TestStand 中使用 SystemLink Test Mointor 外掛程式時如何在報告中增加產品名稱。
SystemLink 是一款智能系統和資料管理應用軟體。Test Monitor是 NI SystemLink Web 應用程式之一,它允許您在 Web 瀏覽器中追蹤測試進度和查看測試報告。
TestStand 是一款應用軟體,可幫助工程師快速開發強大的自動化測試和驗證系統。您可以透過在 TestStand 中的test sequences開發整合以任何程式編寫語言編寫的code modules來擴展系統的功能。
NOTES.
  • 由於SystemLink是NI持續投資的應用軟體,後續新版本有變動時將更新本文。 SystemLink 2022 Q1 是本文發佈時的最新版本。

檢查軟體相容性
  1. SystemLink Client 2021 R3及以後版本只支援Windows 10(64位元)或更高版本
  2. SystemLink Client 2021 R2及之前版本支援Windows 7 SP1(64位元)或更高版本和Windows 7 SP1(32位元)或更高版本
  3. SystemLink Test Monitor僅支援 NI TestStand 2014 及更高版本。
在本地機器上設定 NI TestStand
1. 必備知識 2.啟用NI SystemLink Test Mointor Client 外掛程式
  • 在 TestStand 中,點擊 Configure » Result Processing 並確保啟用 NI SystemLink Test Monitor Client  外掛程式。
  • 如果在結果處理下沒有看到 NI SystemLink 測試監視器客戶端外掛程式,請選擇顯示更多選項和插入新外掛程式以選擇外掛程式。
圖片1.png
3. 在 PreUUT Sequence中增加“statement
  • 在 NI TestStand 中載入您的sequence file,並從您正在使用的process model中打開 PreUUT Sequence
  • 在PreUUT Sequence的主體部份插入Statement Step,輸入“ RunState.Root.Locals.UUT.PartNumber=”XXX ”。 “XXX”字串是 SystemLink Test Mointor 網頁中顯示的project名稱。
P1_2022-12-13_15-24-56.jpg
  • 執行Sequence並檢查來自 SystemLink Test Mointor 網頁的測試報告中的產品名稱。
P1_2022-12-13_15-25-16.jpg