int32 DAQmxGetExtendedErrorInfo (char errorString[], uInt32 bufferSize);
Returns dynamic, specific error information. This function is valid only for the last function that failed; additional NI-DAQmx calls may invalidate this information.
If you pass valid values for errorString and bufferSize, this function returns as much of the available data as possible.
If you pass NULL for errorString or 0 for bufferSize, this function returns the number of bytes you need to allocate.
Input | ||
Name | Type | Description |
---|---|---|
bufferSize | uInt32 | The size, in bytes, of errorString. If you pass 0, this function returns the number of bytes you need to allocate. |
Output | ||
Name | Type | Description |
errorString |
|
Dynamic error information. If you pass NULL, this function returns the number of bytes you need to allocate. |
Name | Type | Description |
---|---|---|
status | int32 | The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A negative value indicates an error. If you pass in a valid value for errorString and its bufferSize, this function returns as much of the available data as possible. If you pass NULL for errorString or 0 for bufferSize, this function returns the number of bytes you need to allocate. |