CVIXMLGetErrorString
- Updated2023-02-21
- 1 minute(s) read
void CVIXMLGetErrorString (CVIXMLStatus error, char buffer[], size_t bufferLength);
Purpose
Gets the error string corresponding to the error code.
Parameters
| Input | ||
| Name | Type | Description |
| error | CVIXMLStatus | Error code returned by CVIXML function. |
| bufferLength | size_t | Pass the length of the buffer, in bytes, used to hold the error string. |
| Output | ||
| Name | Type | Description |
| buffer | char [] | Buffer to return the error string in. Pass an array of size bufferLength bytes. If buffer cannot hold the entire error string, this function copies (bufferLength - 1) bytes into buffer, appended by the ASCII NUL byte. |
Return Value
None.
Additional Information
Library: CVIXML
Include file: toolbox\cvixml.h
LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later
Example
Refer to apps\xmlTree\xmlTree.cws for an example of using the CVIXMLGetErrorString function.