Archived: DAQ のテストパネルをコマンドプロンプトから閉じる方法
This document has been archived and is no longer updated by National Instruments
使用ソフトウェア:
使用ソフトウェア・バージョン: 4.6
使用ソフトウェア・バージョンに特化:
二次のソフトウェア: Utility Software>>Measurement & Automation Explorer
問題: Measurement & Automation Explorer から DAQ のテストパネルを開きましたがコマンドプロンプトから直接閉じる方法はありますか。
解決策: もっとも簡単な方法としては TSKILL コマンドをコマンドラインで用いる方法です。下記の文字列で多くの場合テストパネルを閉じることが出来ます。
TSKILL ndmfpanTSKILL コマンドを使用するにはお使いの環境に合わせてその他のパラメータが必要な場合があります。下記をご参照ください。
TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V]
- processid - プロセス識別子。プロセスを一意に識別するもの。process nameが使用されていない場合に使われる
- processname - プロセスの名前。 Wildcards も使うことが出来ます。 PID が使われる場合、使いません
- /SERVER:servername - processID (デフォルトは current) を含むサーバー名 。一般的に家庭用PCでは必要ない
- /ID:sessionid - プロセスを終了させるセッションの ID。 家庭用PCでは必要ない場合が多い
- /A - 全てのセッションの実行中のプロセスを終了させる(Administrator 権限が必要)
- /V - 実行した内容を表示させる
関連リンク: The Command Line in Windows: Managing Windows XP Programs: Tskill and Taskkill KnowledgeBase 339HRJQX: Launching Multiple Test Panels Without Running Measurement & Automation Explorer
添付:
報告日時: 02/16/2010
最終更新日: 08/12/2010
ドキュメントID: 56F77IH7
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.