Difference between revisions of "HANcoder/STM32/Blocks/Search Active Error"
m (Jasonvankolfschoten moved page HANcoder/Search Active Error to HANcoder/STM32/Blocks/Search Active Error without leaving a redirect) |
|||
Line 34: | Line 34: | ||
{{HANcoder/BlockFooter| | {{HANcoder/BlockFooter| | ||
− | |SeeAlso = [[HANcoder/Delete_Error|Delete error]] {{!}} [[HANcoder/Clear_Errors|Clear errors]] {{!}} [[HANcoder/Read_Active_Error| Read active error ]]{{!}} [[HANcoder/Read_Stored_Error| Read stored error ]] {{!}} [[HANcoder/Search_Stored_Error| Search stored error ]] {{!}} [[HANcoder/Store_Error| Store error ]] {{!}} [[HANcoder/Total_Errors| Total Errors ]] | + | |SeeAlso = [[HANcoder/STM32/Blocks/Delete_Error|Delete error]] {{!}} [[HANcoder/STM32/Blocks/Clear_Errors|Clear errors]] {{!}} [[HANcoder/STM32/Blocks/Read_Active_Error| Read active error ]]{{!}} [[HANcoder/STM32/Blocks/Read_Stored_Error| Read stored error ]] {{!}} [[HANcoder/STM32/Blocks/Search_Stored_Error| Search stored error ]] {{!}} [[HANcoder/STM32/Blocks/Store_Error| Store error ]] {{!}} [[HANcoder/STM32/Blocks/Total_Errors| Total Errors ]] |
}} | }} |
Latest revision as of 10:17, 5 May 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about Search Active Error
The block receives the error code and parameter, returning (if available) the found error data.
Block
Mask
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. |
Examples
See Also
Delete error | Clear errors | Read active error | Read stored error | Search stored error | Store error | Total Errors