Search Stored Error

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

General information about Search Stored Error

The block receives the error code and parameter, returning (if available) the found error data.





Block inputs (inports)

Input 1: The error code of the error that needs to be found.
Input 2: The error parameter of the error that needs to be found.

Block outputs (outports)

Output 1: The number of times that this error has occurred.(uint8)
Output 2: The time since the error has last occurred, in milliseconds, counted from the last reset/start.(uint32)

Block parameters

Parameter Description
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.


Error Handling

See Also

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