| kemcelroy |
Posted - 01/26/2004 : 9:32:12 PM I am using Origin C to automate an NLSF task. Under certain conditions I get an error/attention message box which causes the program to stop until I hit OK. This means that I have to babysit the program while it runs, which (partially) defeats the purpose of automating the task. The error is one that the program is designed to overlook, so I always just press OK to acknowledge the error. Is there any way to bypass this break by, say, making Origin think that a user pressed OK?
(In case you need specifics...)
-commands- NLSF.Fit(numPoints) //Attention message happens here is numPoints is zero. //My program later checks if numPoints is zero, //so I have no use for this message. -more commands-
MESSAGE: Attention! Error! Parameter(s) A, B is(are) not properly initialized. Check their values. <OK> |