miraacq_GetErrorMsg
Returns the last error message.
int miraacq_GetErrorMsg(makernel* pma);
Parameters:
- pma: A pointer to the acquisition kernel returned by miraacq_Init, or NULL for errors from miraacq_Init.
Return value:
The error message as string from the last function that returned an error.
Description:
miraacq_GetErrorMsg returns the error message from the last function that returned an error, functions that return MIRA_OK (0) do not change this value. The error code can be read using miraacq_GetErrorCode.