Appendix P - Pop-up Messages From Models

Any model can popup a message window whenever it wants. Simply call the following:
CSIM_HALT_POPUP( char *message )
With your message as the argument.

A popup window will appear with your message in it. The popup has a dismiss button on it.

Example:

CSIM_HALT_POPUP( "Special event occured." );
Or,
      Copy your message into a string ...
char mymessage[60];
sprintf(mymessage,"%s Over temperature by %f degrees", MY_NAME, x);
CSIM_HALT_POPUP( mymessage );