Raptor:Display Single Screen

From NewEagleWiki
Revision as of 16:11, 13 September 2023 by Jwoytsek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Return to the main Raptor page

Return to Prefab page

Raptor™ Display Single Screen

Description

This block creates a single gauge screen.

Inputs

Input Type Description
Value single Value of the gauge.

Outputs

Output Type Description
Create_Background() FnCall This function is called when the screen is entered or if the screen was invalidated. It should draw the static elements of the screen.
Update_Foreground() FnCall This function is called regularly when the screen is active to update the dynamic elements of the screen.
IsCurrentScreen boolean Output indicates if this screen is the current screen.

Parameters

Parameter Type Description
Screen Name String Name of the screen being defined.
Minimum Value Minimum value of the gauge.
Maximum Value Maximum value of the gauge.
Direction Direction of rotation of the gauge.
Number of Large Markers
Number of Small Markers
Needle Color Color The color of the gauge needle, as a hexadecimal string.
Select Color button This button opens the color chooser tool.
Marker Color Color The color of the gauge markers, as a hexadecimal string.
Select Color This button opens the color chooser tool.
Background Image String Image displayed above center of gauge in background.
Select Image button Opens file browser to select image file.
Use Simulink Functions checkbox Whether to use Simulink Function callbacks instead of function-call ports.
Create Background Simulink Function Name String Name of the Simulink Function to call when this block's Create Background function is triggered.
Update Foreground Simulink Function Name String Name of the Simulink Function to call when this block's Update Foreground function is triggered.
Create button Create a Simulink Function to use with the Screen Definition block.

Must first provide a valid function name.

Update button Update the listed Simulink Function's signature to 0 inputs & 0 outputs.

The Simulink Function listed in the box must already exist.