Jump to content

Component: Library Component (Misc): Difference between revisions

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
Line 61: Line 61:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FlashRx'''
| 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 75: Line 75:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FlashTx'''
| 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 89: Line 89:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLinkHandle'''
| 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 108: Line 108:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetConsoleHandle'''
| width="90%" class="mtx-class-macrohead" | '''SetConsoleHandle'''
|-
|-
| colspan="2" | Sets the link to the component console allowing for click through and for  panel console viewer linkage. 
| colspan="2" | Sets the link to the component console allowing for click through and for  panel console viewer linkage. 
Line 127: Line 127:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLinkHandle'''
| width="90%" class="mtx-class-macrohead" | '''SetLinkHandle'''
|-
|-
| colspan="2" | Sets the handle of the source object we are pointing to.  
| colspan="2" | Sets the handle of the source object we are pointing to.  
Line 152: Line 152:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-

Revision as of 14:23, 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. 
- VOID Return


FlashTx

FlashTx
Flashes the transmit icon for a set period of time. Automatically clears the icon once time period is up. 
- VOID Return


GetLinkHandle

GetLinkHandle
Gets the handle of the source object we are pointing to. Returns 0 for not valid. 
- BYTE Index
0=Source, 1=Reference 
- HANDLE Return


SetConsoleHandle

SetConsoleHandle
Sets the link to the component console allowing for click through and for panel console viewer linkage. 
- HANDLE Handle
 
- VOID Return


SetLinkHandle

SetLinkHandle
Sets the handle of the source object we are pointing to.  
- BYTE Index
0=Source, 1=Reference 
- HANDLE Handle
 
- VOID Return


Property reference

Properties
Title
Component main title, shown in the middle of the library component. 
Name
Handle name of the component, shown at the top of the library component. Automatically populated by the parent Rename event. 
Peripheral
Peripheral name of the component, shown at the top of the library component. Automatically populated by the CAL hardware component layer. 
Vertical Alignment
 
Show Comms Indicators
 
Icon0 Source/Ref
Input Icon
 
Source Is Ref
Moves both I/O icons to be on the right hand side. 
Icon1 Ref
Output Icon
 
LinkTo
 
Icon2 Source
CommsType
 

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