The Error Query function that returns the error code of the most recently unsuccessfully called SDAI function.
Returns
The error code of the most recent function that executed unsuccessfully.
Remarks
After returning the error code, subsequent calls of the Error Query function returns the sdaiNO_ERR value until another SDAI function finishes with an error. If no SDAI session is not started the function returns the sdaiSS_NOPN (no SDAI session is open) value.