Jump to content

Component: Sensor Library Component (Misc): Difference between revisions

From Flowcode Help
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
Line 92: Line 92:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[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%" style="background-color:#D8C9D8; color:#4B008D;" | '''FlashRx'''
|-
|-
Line 106: Line 106:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[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%" style="background-color:#D8C9D8; color:#4B008D;" | '''FlashTx'''
|-
|-
Line 120: Line 120:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[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%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLinkHandle'''
|-
|-
Line 139: Line 139:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[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;" | '''GetValue'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue'''
|-
|-
Line 158: Line 158:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[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%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetConsoleHandle'''
|-
|-
Line 177: Line 177:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[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%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLinkHandle'''
|-
|-
Line 201: Line 201:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[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;" | '''SetValue'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue'''
|-
|-

Revision as of 14:17, 13 July 2026

Author MatrixTSL
Version 1.0
Category Misc


Sensor Library Component component

A simple library component designed to create a panel presence for any components that have a numerical value and associated slider, for example a sensor. 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


GetValue

GetValue
Gets the value of one of the Sliders / Text fields. 
- BYTE Index
Range: 0 to (Value Count - 1) 
- FLOAT 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


SetValue

SetValue
Sets the value of one of the Sliders / Text fields. 
- BYTE Index
Range: 0 to (Value Count - 1) 
- FLOAT Value
 
- 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. 
Show Comms Indicators
 
Source Icon
Input Icon
 
Reference Icon
Output Icon
 
LinkTo
 
Num Decimal Places
 
Value Count
 
Value 0
Label
 
MaxValue
 
MinValue
 
Major Tick
 
Minor Tick
 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_SensorComponent.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_SensorComponent.fcfx