Configure a real-time sequence to return user-defined error codes and messages in the
stimulus profile test results file.
Add a Generate Errors primitive to the sequence code.
This primitive also allows you to stop the sequence and skip to the
clean-up tasks or to immediately abort the sequence without performing
If you need to clear or access an error later in the sequence, create an
expression in the Property Browser that
implements a function.
|Clear the last error so it does not appear in the test
|Return the numeric error code of the last error.
displays the error information in the section that corresponds
to the sequence that generated the error. The following example shows how an error
appears in the test results file:
Outcome: Error: 55. Details:
<append>========================= VeriStand: Alert! The Engine Temperature is
outside the critical range. Shutting down the engine.