Component: Library Component (Misc): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (15 intermediate revisions by 2 users 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== | ||
| Line 26: | Line 30: | ||
==Examples== | ==Examples== | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
==Macro reference== | ==Macro reference== | ||
{| class="wikitable | ===FlashRx=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''FlashRx''' | ||
|- | |- | ||
| colspan="2" | Flashes the receive icon for a set period of time. Automatically clears the icon once time period is up. | | colspan="2" | Flashes the receive icon for a set period of time. Automatically clears the icon once time period is up. | ||
| Line 46: | Line 71: | ||
{| class="wikitable | ===FlashTx=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''FlashTx''' | ||
|- | |- | ||
| colspan="2" | Flashes the transmit icon for a set period of time. Automatically clears the icon once time period is up. | | colspan="2" | Flashes the transmit icon for a set period of time. Automatically clears the icon once time period is up. | ||
| Line 59: | Line 85: | ||
{| class="wikitable | ===GetLinkHandle=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetLinkHandle''' | ||
|- | |- | ||
| colspan="2" | Gets the handle of the source object we are pointing to. Returns 0 for not valid. | | colspan="2" | Gets the handle of the source object we are pointing to. Returns 0 for not valid. | ||
| Line 77: | Line 104: | ||
{| class="wikitable | ===SetConsoleHandle=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''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 100: | Line 123: | ||
{| class="wikitable | ===SetLinkHandle=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetLinkHandle''' | ||
|- | |- | ||
| colspan="2" | Sets the | | 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 116: | Line 145: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| Line 153: | Line 180: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Icon0 Source/Ref | ||
|- | |- | ||
|- | |- | ||
| Line 167: | Line 194: | ||
| colspan="2" | Moves both I/O icons to be on the right hand side. | | colspan="2" | Moves both I/O icons to be on the right hand side. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Icon1 Ref | ||
|- | |- | ||
|- | |- | ||
| Line 178: | 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" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | |||
| width="90%" class="mtx-class-propfolder" | 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 14:37, 13 July 2026
| Author | MatrixTSL |
| Version | 1.0 |
| Category | Misc |
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