要如何從LabVIEW下終結Windows中的作業或應用程式?
主要軟體:
主要軟體版本: 7.0
主要軟體修正版本:
次要軟體: N/A
問題: 我想要從LabVIEW下將Windows的程式終止,就像利用工作管理員一樣。要如何才能達到此功能?
解答: 利用LabVIEW下的
System Exec.vi功能,您可以對Windows作業系統下"taskkill"指令去終止程式。附件的VI檔將輸入的字串作業名稱,透過Windows去終止作業。作業名稱與和Windows工作管理員下看到的名稱一樣,如"calc.exe"、"excel.exe、"explorer.exe"等。
相關連結:
附加檔案:
- taskkill.vi
報告日期: 08/05/2005
最後更新: 08/17/2005
文件偏號: 3O4F1MFJ
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.