Difference between revisions of "Component: Library Component (Misc)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;...") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
A simple library component designed to create a panel presence for any components that don't need or have a graphical simulation. Compatible with linking icons. | A simple library component designed to create a panel presence for any components that don't need or have a graphical simulation. Compatible with linking icons. | ||
− | == | + | ==Detailed description== |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
− | |||
− | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
− | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Macro reference== | ||
+ | |||
+ | ===FlashRx=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 42: | Line 71: | ||
+ | ===FlashTx=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 55: | Line 85: | ||
+ | ===GetLinkHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 73: | Line 104: | ||
+ | ===SetConsoleHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetConsoleHandle''' |
|- | |- | ||
− | | colspan="2" | Sets the | + | | colspan="2" | Sets the link to the component console allowing for click through and for panel console viewer linkage. |
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE | ||
Line 96: | Line 123: | ||
+ | ===SetLinkHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLinkHandle''' |
+ | |- | ||
+ | | colspan="2" | Sets the handle of the source object we are pointing to. | ||
+ | |- | ||
|- | |- | ||
− | | | + | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |
+ | | width="90%" | Index | ||
|- | |- | ||
+ | | colspan="2" | 0=Source, 1=Reference | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE | ||
Line 112: | Line 145: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Line 127: | Line 158: | ||
| width="90%" | Title | | width="90%" | Title | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Component main title, shown in the middle of the library component. |
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-11-icon.png]] | ||
+ | | width="90%" | Name | ||
+ | |- | ||
+ | | colspan="2" | Handle name of the component, shown at the top of the library component. Automatically populated by the parent Rename event. | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-11-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-11-icon.png]] | ||
| width="90%" | Peripheral | | width="90%" | Peripheral | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Peripheral name of the component, shown at the top of the library component. Automatically populated by the CAL hardware component layer. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-12-icon.png]] | ||
Line 145: | Line 181: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Source | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Icon0 Source/Ref |
|- | |- | ||
|- | |- | ||
Line 159: | Line 195: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Icon1 Ref |
|- | |- | ||
|- | |- | ||
Line 169: | Line 205: | ||
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
| width="90%" | LinkTo | | width="90%" | LinkTo | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Icon2 Source | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | CommsType | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|} | |} | ||
+ | |||
+ | ==Component Source Code== | ||
+ | |||
+ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_LibraryComponent.fcfx FC_Comp_Source_LibraryComponent.fcfx] | ||
+ | |||
+ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_LibraryComponent.fcfx FC_Comp_Source_LibraryComponent.fcfx] |
Latest revision as of 08:48, 21 June 2024
Author | MatrixTSL |
Version | 1.0 |
Category | Misc |
Contents
Library Component component
A simple library component designed to create a panel presence for any components that don't need or have a graphical simulation. Compatible with linking icons.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
FlashRx
![]() |
FlashRx |
Flashes the receive icon for a set period of time. Automatically clears the icon once time period is up. | |
![]() |
Return |
FlashTx
![]() |
FlashTx |
Flashes the transmit icon for a set period of time. Automatically clears the icon once time period is up. | |
![]() |
Return |
GetLinkHandle
![]() |
GetLinkHandle |
Gets the handle of the source object we are pointing to. Returns 0 for not valid. | |
![]() |
Index |
0=Source, 1=Reference | |
![]() |
Return |
SetConsoleHandle
![]() |
SetConsoleHandle |
Sets the link to the component console allowing for click through and for panel console viewer linkage. | |
![]() |
Handle |
![]() |
Return |
SetLinkHandle
![]() |
SetLinkHandle |
Sets the handle of the source object we are pointing to. | |
![]() |
Index |
0=Source, 1=Reference | |
![]() |
Handle |
![]() |
Return |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LibraryComponent.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LibraryComponent.fcfx