エラーコードからエラークラスタ
- 更新日2025-07-30
- 4分で読める
エラーまたは警告コードをエラークラスタに変換します。このVIは、共有ライブラリ呼び出しからの戻り値を受信する場合、またはユーザ定義エラーコードを返す場合に役立ちます。
エラーコード 0は、エラーが発生せず、VIはエラークラスタを変更しないことを意味します。

入力/出力
is warning? (False)
—
If is warning? is TRUE, status returns FALSE to indicate that a warning occurred. The default is FALSE.
show call chain? (False)
—
If show call chain? is TRUE, source includes the chain of callers from the VI that produced the error or warning to the top-level VI. The default is FALSE, which indicates to include only the calling VI. このVIは、「呼び出しチェーン」関数を使用して発呼者のチェーンを取得します。
error code (0)
—
error code is the code you want to convert to an error cluster. The default is 0, which indicates that no error occurred.
error message ("")
—
error message is the error description to appear in the error out cluster. 「一般エラー処理」VIがこのエラー出力クラスタを受信すると、LabVIEWはエラーメッセージの説明を表示します。エラーメッセージが空の場合、LabVIEWはエラーコードを使用して既存のLabVIEWエラーコードからエラーの説明を決定します。
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out
—
エラー出力には、エラー情報が含まれます。以下の例外を除き、この出力は標準エラー出力となります。 エラー入力の値がエラーなしの場合、このVIにはエラーコード入力と同じエラー情報が含まれます。 |
is warning? (False)
—
error code (0)
—
error message ("")
—
error in (no error)
—
error out
—