Jump to content

Component: Library Component (Misc): Difference between revisions

From Flowcode Help
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;..."
 
No edit summary
Line 20: Line 20:


==Detailed description==
==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>''


==Downloadable macro reference==
==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Line 127: Line 131:
| width="90%" | Title
| width="90%" | Title
|-
|-
| colspan="2" | &nbsp;
| colspan="2" | Component main title, shown in the middle of the library component.&nbsp;
|-
| 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.&nbsp;
|-
|-
| 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" | Text to display&nbsp;
| colspan="2" | Peripheral name of the component, shown at the top of the library component. Automatically populated by the CAL hardware component layer.&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]

Revision as of 14:12, 20 January 2023

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.

Component Source Code

Please click here for the component source code: FC_Comp_Source_LibraryComponent.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

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


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


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


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


SetConsoleHandle
Sets the link to the component console allowing for click through and for panel console viewer linkage. 
- 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
 
Source Icon
Input Icon
 
Source Is Ref
Moves both I/O icons to be on the right hand side. 
Reference Icon
Output Icon
 
LinkTo