Raptor:Standard Fault State Iterator: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
! scope="col" style="width: 70%;"|Description
|-
! Prev Fault
| idx
| The index of the previous fault.
|}
|}


Line 22: Line 26:
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
! scope="col" style="width: 70%;"|Description
|-
! Fault
| idx
| The index of the current fault.
|}
|}


Line 47: Line 55:
| Finds faults in the occurred state.
| Finds faults in the occurred state.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 15:22, 14 September 2023

Return to the main Raptor page

Return to Faults page

Raptor™ Standard Fault State Iterator

Description

This block searches through all the faults which are in one of the specified states. The block begins searching at the next fault after the specified previous fault. If the previous fault input is set to the null fault the search will begin at the start of the fault list. When the block reaches the end of the fault list without finding any faults causing the action to be true it will output the null fault. This can be used as a stop condition if executing this block in a while loop to iterate through a sequence of faults.

Inputs

Input Type Description
Prev Fault idx The index of the previous fault.

Outputs

Output Type Description
Fault idx The index of the current fault.

Parameters

Parameter Type Description
Not Occurred Finds faults in the not occurred state.
Suspected Finds faults in the suspected state.
Active Finds faults in the active state.
Occurred Finds faults in the occurred state.