ni4133_GetErrorDescription
- Updated2025-11-18
- 1 minute(s) read
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
| Name | Direction | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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:
| ||||||||||||||||||||||||
| 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 |