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.



我如何在主VI中停止一個subVI的執行?



主要軟體:
主要軟體版本: N/A
主要軟體修正版本: N/A
次要軟體: N/A

問題:
我如何在主VI中停止一個subVI的執行?

解答:
一個在主VI中停止subVI執行的方式是利用VI Server。下面所符的範例程式顯示如何使用VI Server在主VI中呼叫subVI,然後使用者可以在主VI中控制subVI的執行。subVI不斷繪出sine wave直到主VI的Stop按鈕被按下為止。

相關連結:
Developer Zone Tutorial: Serving Up Powerful Solutions: LabVIEW VI Server Examples
National Instruments LabVIEW Support Homepage

附加檔案:


StopSubFmMain.zip - StopSubFmMain.zip


報告日期: 02/24/2004
最後更新: 12/19/2007
文件偏號: 36N6RUWT