Raptor:Trigger Selection: 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 1: Line 1:
[[Raptor-Platform|Return to the main Raptor page]]
[[Raptor-Platform|Return to the main Raptor page]]
[[Raptor:Triggers|Return to Triggers page]]
[[File:RaptorTriggerSelection.jpg|right|frame|Raptor™ Trigger Selection]]


== Description ==
== Description ==
<p>This block selects a trigger from a trigger[] based on an index.</p>
<p>This block allows you to select amoung an array of trigger references defined with the 'Define Trigger' block. The trigger[] is an array of trigger references, selection is based on a 1-based index.</p>


== Inputs ==
== Inputs ==
Line 10: 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
|-
! Triggers[]
| trigger_ref[]
| Array of trigger reference.
|-
! index
| uint16
| Index to select.
|}
|}


Line 18: Line 30:
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
! scope="col" style="width: 70%;"|Description
|}
== Parameters ==
{| class="wikitable" style="width:75%;"
|-
|-
! scope="col" style="width: 15%;"|Parameter
! ref
! scope="col" style="width: 15%;"|Type
| trigger_ref
! scope="col" style="width: 70%;"|Description
| Selected trigger reference
|}
|}

Latest revision as of 17:01, 14 September 2023

Return to the main Raptor page

Return to Triggers page

Raptor™ Trigger Selection

Description

This block allows you to select amoung an array of trigger references defined with the 'Define Trigger' block. The trigger[] is an array of trigger references, selection is based on a 1-based index.

Inputs

Input Type Description
Triggers[] trigger_ref[] Array of trigger reference.
index uint16 Index to select.

Outputs

Output Type Description
ref trigger_ref Selected trigger reference