Model Messages

Put the right message in front of the user.

Display messages from model code using the documented popup functions. Keep function names and message-handling examples exact as you integrate them.

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 );


This page is an editorial rewrite of source documentation. Historical status, availability, and platform notes are not independently verified for a current release. Technical examples are reference material, not a live simulator.