에러가 발생했는지의 여부를 나타냅니다. 에러가 발생한 경우, 이 VI는 에러의 설명을 반환하고 선택적으로 대화 상자를 디스플레이합니다.


icon

입력/출력

  • c1dstr.png [user-defined descriptions]

    [user-defined descriptions] is an array of descriptions of user-defined codes.

    전달된 에러가 사용자 정의 코드 중 하나와 일치할 경우, VI는 사용자 정의 설명으로부터 해당하는 설명을 메시지에 반환합니다.

  • c1di32.png [user-defined codes]

    [user-defined codes] is an array of numeric error codes you can use to define error codes and messages for your own VIs.

    VI는 에러 코드의 내부 데이터베이스를 검색한 후에 이 배열을 검색합니다. 에러 코드 5000 ~ 9999, -8999 ~ -8000, 500,000 ~ 599,999는 사용자 에러 메시지 정의를 위해서 남겨져 있습니다.

  • ci32.png [error code] (0)

    [error code] is a numeric error code.

    에러 입력이 에러를 나타낼 경우, VI는 에러 코드를 무시합니다. 그렇지 않을 경우, VI는 그것을 테스트합니다. 제로가 아닌 값은 에러를 의미합니다.

  • cstr.png [error source] (" ")

    [error source] is an optional string you can use to describe the source of error code.

  • cbool.png search ni.com link visible?(T)
  • cu16.png type of dialog (OK msg:1)

    type of dialog determines what type of dialog box to display, if any.

    값에 관계없이, VI는 에러 정보와 에러를 기술한 메시지를 출력합니다.

    0대화 상자 없음―대화 상자를 디스플레이하지 않습니다. 이 옵션은 에러 핸들링을 프로그램적으로 컨트롤하려는 경우 유용합니다.
    1확인 메시지 (기본)―하나의 계속 버튼을 가진 대화 상자를 디스플레이합니다. 사용자가 대화 상자를 인식한 후, VI는 Main VI에 컨트롤을 반환합니다.
    2메시지 지속 또는 정지―사용자가 계속 또는 정지하기 위해 사용할 수 있는 버튼을 가진 대화 상자를 디스플레이합니다. 사용자가 정지를 선택하는 경우, VI는 [정지] 함수를 호출하여 실행을 정지합니다.
    3확인 메시지 + 경고―경고와 하나의 계속 버튼을 가진 대화 상자를 디스플레이합니다. 사용자가 대화 상자를 인식한 후, VI는 Main VI에 컨트롤을 반환합니다.
    4지속/정지 + 경고―사용자가 계속 또는 정지하기 위해 사용할 수 있는 경고와 버튼을 가진 대화 상자를 디스플레이합니다. 사용자가 정지를 선택하는 경우, VI는 [정지] 함수를 호출하여 실행을 정지합니다.
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs.

    This input contains status, code, and source, which provide standard error in cluster element functionality.

  • ci32.png [exception action] (none:0)

    [exception action] is a way for you to create exceptions to error handling.

    에러 코드에러 소스예외 코드예외 소스와 일치한다면 VI는 예외 동작을 수행합니다. 예외 소스에 기본값을 사용하는 경우, 예외 코드만이 VI가 예외 동작을 수행하도록 해야 합니다.

    0예외 없음(기본)―사용자가 예외 코드 또는 예외 소스를 연결하더라도, 에러 예외 핸들링을 수행하지 않습니다.
    1일치 시 에러 취소일반적으로 에러인 것을 에러가 아닌 것으로 취급합니다. VI가 에러를 취소하는 경우, 에러?는 거짓, 코드 출력은 0, 소스 출력은 빈 문자열입니다.
    2일치 시 에러 설정―경고를 에러로 업그레이드합니다. 이 파라미터는 VI가 상태에러 코드 파라미터에 설명된대로 에러를 감지하지 않으나, 에러 입력코드 값이 예외 코드와 일치하고 에러 소스 값이 예외 소스와 일치하는 경우 에러를 설정합니다. VI가 에러를 설정하는 경우, 에러?는 참, 코드 출력에러 입력코드 값, 소스 출력에러 입력소스 값입니다.
  • ci32.png [exception code]

    [exception code] is the error code that you want to treat as an exception. The default is 0.

  • cstr.png [exception source]

    [exception source] is the error message that you want to use to test for an exception. The default is an empty string.

  • ibool.png error?

    error? returns TRUE if an error occurs. If this VI finds an error, it sets the parameters in the error cluster.

  • ii32.png code out

    code out is the error code indicated by error in or error code.

  • istr.png source out

    소스 출력은 에러의 소스를 나타냅니다.

    소스 출력 문자열은 에러 입력 입력의 소스 문자열보다 좀 더 기술적인 문자열입니다.

  • istr.png message

    message describes the error code that occurred, the source of the error, and a description of the error.

    VI가 에러의 설명을 반환하지 않은 경우, 에러 코드 설명을 찾기 위한 몇가지 동작을 취할 수 있습니다. 동일한 오류 코드에 대해 두 개 이상의 설명이 있는 경우 VI는 모든 설명을 또는로 구분하여 표시합니다.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.