Raptor:Fault Action Iterator: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
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.
|}
|}



Latest revision as of 16:56, 13 September 2023

Return to the main Raptor page

Return to Faults page

Raptor™ Fault Action Iterator

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.