From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
TestStand使用UIMessage objects來傳遞engine和目前的執行狀態所相對應的資訊給人機介面(Operator Interface)。每一個人機介面的程式都有一個處理UIMessage的機制,透過這個機制,程式會持續的監控從TestStand engine傳遞過來的事件。要如何來完成UIMessage的處理機制會依不同的程式語言開發環境而定。如果你不熟悉關於UIMessages的相關資訊及其處理機制,可以參考本技術文件下方有關Using Default and Custom UIMessage的相關資訊。
如果你在Station Options的選單下,打開Execution頁面的enable tracing選項,你就可以補抓預設的UIMessage UIMsg_Trace。這個UIMessage在每個step的執行結束後都會產生,並會有4的數值回傳。
另一方面,如果你針對Execution沒有打開enable tracing這個選項,你必須發佈自己的UIMessage。這個UIMessage的發佈是透過Engine Callback SequenceFilePostStep。
|