Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
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>
2 L A T E S T R E P L I E S (Newest First)
kemcelroy
Posted - 01/27/2004 : 5:00:44 PM Thanks. It works great.
Mike Buess
Posted - 01/26/2004 : 9:56:19 PM You might try nlsf.msgprompt=0.