将错误或警告代码转换为错误簇。收到共享库调用的返回值或返回用户定义错误代码时,可使用该VI。

错误代码0表示没有发生错误,VI不会修改错误簇。


icon

输入/输出

  • cbool.png is warning? (False)

    If is warning? is TRUE, status returns FALSE to indicate that a warning occurred. The default is FALSE.

  • cbool.png 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可通过调用链函数获取调用链。

  • ci32.png 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.

  • cstr.png error message ("")

    error message is the error description to appear in the error out cluster.

    通用错误处理器VI收到错误输出簇后,LabVIEW在错误信息中显示错误说明。如错误信息为空,LabVIEW使用错误代码在已有的LabVIEW错误代码中确定错误说明。

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ierrcodeclst.png error out

    错误输出包含错误信息。该输出提供标准错误输出,下列情况除外。

    错误输入的值是无错误,VI包含与错误代码输入相关的错误信息。