Difference between revisions of "Component: Sensor Library Component (Misc)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 40: | Line 42: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 59: | Line 63: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
− | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Line 200: | Line 204: | ||
| 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-7-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] |
Revision as of 14:13, 20 January 2023
Author | MatrixTSL |
Version | 1.0 |
Category | Misc |
Contents
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.
Component Source Code
Please click here for the component source code: FC_Comp_Source_SensorComponent.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
![]() |
GetValue |
Gets the value of one of the Sliders / Text fields. | |
![]() |
Index |
Range: 0 to (Value Count - 1) | |
![]() |
Return |
![]() |
FlashRx |
Flashes the receive icon for a set period of time. Automatically clears the icon once time period is up. | |
![]() |
Return |
![]() |
FlashTx |
Flashes the transmit icon for a set period of time. Automatically clears the icon once time period is up. | |
![]() |
Return |
![]() |
GetLinkHandle |
Gets the handle of the source object we are pointing to. Returns 0 for not valid. | |
![]() |
Index |
0=Source, 1=Reference | |
![]() |
Return |
![]() |
SetValue |
Sets the value of one of the Sliders / Text fields. | |
![]() |
Index |
Range: 0 to (Value Count - 1) | |
![]() |
Value |
![]() |
Return |
![]() |
SetLinkHandle |
Sets the handle of the source object we are pointing to. | |
![]() |
Index |
0=Source, 1=Reference | |
![]() |
Handle |
![]() |
Return |
![]() |
SetConsoleHandle |
Sets the link to the component console allowing for click through and for panel console viewer linkage. | |
![]() |
Handle |
![]() |
Return |