Total Errors

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about Total Errors

The number active or stored errors is given, including the highest occurring severity level, assuming that the error's parameter was used for a severity level.

Block

TotalErrors.png

Mask

TotalErrorsMask.png


Block outputs (outports)

Output 1: Total number of errors, the number of different error codes that are currently active/stored.(uint8)
Output 2: Highest occurring severity. With this output it can be easily checked if the software should for example go to a safe mode.(uint8)

Block parameters

Parameter Description
Active or stored error The kind of error to be cleared. Active errors are still active at the moment and stored errors have happened before, although they could still be active.
Sample time Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model.

Examples

Error Handling

See Also

Delete error | Clear errors | Read active error | Read stored error | Search active error | Search stored error | Store error