Writing the Interrupt Message to the Run Log

In some cases, in addition to (or instead of) displaying a message when an interrupt occurs, you may want to also write a message to the run log.

This is controlled by the Add to Run Log field in the Interrupt property dialog:

The drop list contains three options:

   "No". This is the default. The message is not written to the run log.

   "As Message". The message is written to the run log.

   "As Warning". The message is written to the run log as a Warning.  As a result, a dialog is displayed at the end of the simulation indicating that the simulation triggered a warning.

   Note: If you choose to both display a message and write to the run log, the Add to Run Log field has a small impact on the message dialog displayed when a simulation is interrupted.  In particular, if the message is written to the run log as a warning, the message dialog box displays a Warning symbol in the upper left-hand corner of the message dialog.  Otherwise, it displays an Information symbol.

Related Topics…

Learn more about: