miraacq_GetErrorCode
Returns the last error code.
int miraacq_GetErrorCode(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 code from the last function that returned an error.
Description:
miraacq_GetErrorCode returns the error code from the last function that returned an error, functions that return MIRA_OK (0) do not change this value. The error message can be read using miraacq_GetErrorMsg.