Raptor:Fault Action Iterator: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Return to the main Raptor page Return to Faults page right|frame|Raptor Fault Action Iterator == Descri…') |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[ | [[Raptor-Platform|Return to the main Raptor page]] | ||
[[Raptor:Faults|Return to Faults page]] | [[Raptor:Faults|Return to Faults page]] | ||
[[File:RaptorFaultActionIterator.jpg|right|frame| | [[File:RaptorFaultActionIterator.jpg|right|frame|Raptor™ Fault Action Iterator]] | ||
== Description == | == Description == | ||
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 | |||
| Index of fault which caused the action to be true. | |||
|} | |} | ||
Line 35: | Line 43: | ||
| This is the name of the action to iterate on. | | This is the name of the action to iterate on. | ||
|} | |} | ||
Latest revision as of 16:56, 13 September 2023
Return to the main Raptor page
Description
This block searches through all the faults which are causing a fault action to be true. 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 | Index of fault which caused the action to be true. |
Parameters
Parameter | Type | Description |
---|---|---|
Action Name | String | This is the name of the action to iterate on. |