Raptor:Display Menu Text: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
== Description ==
== Description ==
<p>This block sets the text of a menu item.</p>
<p>This block sets the text of a menu item.</p>
<p>Requires a Menu Definition block in order to build or have any effect.</p>
<p>Note: Simulink String blocks are not compatible with Raptor blocks. Please use Raptor String blocks.</p>


== Inputs ==
== Inputs ==
Line 22: Line 26:
| String
| String
| Optional port to specify text to set.
| Optional port to specify text to set.
|}
== Outputs ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Output
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|}
|}


Line 51: Line 47:
| Index of the item to set the text.
| Index of the item to set the text.
|-
|-
! Item Number
! Text
| String
| String
| Text to set.
| Text to set.

Latest revision as of 15:14, 13 September 2023

Return to the main Raptor page

Return to Menu page

Raptor™ Display Menu Text

Description

This block sets the text of a menu item.

Requires a Menu Definition block in order to build or have any effect.

Note: Simulink String blocks are not compatible with Raptor blocks. Please use Raptor String blocks.

Inputs

Input Type Description
Item uint32 Optional port to specify index of the item to set the text.
Text String Optional port to specify text to set.

Parameters

Parameter Type Description
Text Side Side of menu to define text for.
Text From Port Enables the item number and text to be set by an optional input port.
Item Number Number Index of the item to set the text.
Text String Text to set.

Supported Versions