niDMM_error_message
ViStatus = niDMM_error_message(ViSession Instrument_Handle, ViStatus Error_Code, ViChar Error_Message[])
Purpose
Takes the Error_Code returned by the instrument driver functions, interprets it, and returns it as a user-readable string.
Parameters
Input | ||
Name | Type | Description |
Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. |
Error_Code | ViStatus | The Error_Code returned from the instrument. The default is 0, indicating VI_SUCCESS. |
Output | ||
Name | Type | Description |
Error_Message | ViChar[] | The error information formatted into a string. |
Return Value
Name | Type | Description |
Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_error_message. To obtain additional information concerning the error condition, use niDMM_GetError. |