Returns the error description for the specified status code.

Syntax

ni4133_Status NI4133_DECL ni4133_GetErrorDescription(ni4133_LibraryHandle libraryHandle, ni4133_Status statusCode, ni4133_Language language, char description[], size_t bufferSize, size_t *requiredBufferSize)

Parameters

NameDirectionTypeDescription
libraryHandle[in]ni4133_LibraryHandle

Specifies the library handle.

statusCode[in]ni4133_Status

Specifies the status code to look up.

language[in]ni4133_Language

Specifies the language in which to return error information.

Defined Values:

Name

Value

Description

ni4133_Language_CurrentThreadLocale

0 (0x0)

ni4133_Language_English

1033 (0x409)

ni4133_Language_French

1036 (0x40c)

ni4133_Language_German

1031 (0x407)

ni4133_Language_Japanese

1041 (0x411)

ni4133_Language_Korean

1042 (0x412)

ni4133_Language_SimplifiedChinese

2052 (0x804)

description[out]char[]

Error description text.

bufferSize[in]size_t

Number of chars allocated for description

requiredBufferSize[out]size_t *

Number of chars required for description

Returns

Reports the status of this operation.

To obtain a text description of the status code, call ni4133_GetErrorDescription. The general meaning of the status code is as follows:

Value

Meaning

Positive Values

Warnings

Negative Values

Errors