Raptor:Fault Action Iterator

From NewEagleWiki
Jump to navigation Jump to search

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.