Hi,
I am developing a step type where the error information are set via function parameters.
e.g:
int DLLEXPORT DLLSTDCALL Test ( int *iErrorCode, char *sErrorMsg, int *bErrorOccurred )
{
*bErrorOccurred = TRUE;
strcpy(sErrorMsg,"test");
*iErrorCode = iError;
}
The iErrorCode appears but the "test" sErrorMsg is replaced by "Error executing substep 'Post'. User-defined error code." in Run-Time Error popup.
sErrorMsg is passed correctly into TestStand, beacuse I can see the expeted message if *bErrorOccurred is set to False (step status is not Error).
How can I have my custom error message in Details section of te Run-Time Error popup.
Thanks