Report Simulation Error Function
Owning Palette: Utilities Functions
Installed With: Control Design and Simulation Module
Reports an error to the top-level Simulation Loop. This function does not have a configuration dialog box.
Block Diagram Inputs |
Place on the block diagram | Find on the Functions palette |
Block Diagram Inputs
Parameter | Description |
---|---|
error in | Describes the error condition to report to the owning simulation diagram. The default is no error.
|
Report Simulation Error Details
If the simulation receives an error condition, the simulation halts after the current time step. However, because this function reports the error immediately and because most functions do not run if an error has been reported, the simulation does not run as expected between the time the function reports the error and the end of the current time step.
Example
Refer to the report simulation error VI in the labview\examples\Control and Simulation\Simulation\Utilities directory for an example of using the Report Simulation Error VI.