Component: Sensor Library Component (Misc): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 93: | Line 93: | ||
|- | |- | ||
| 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%" | | 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 107: | Line 107: | ||
|- | |- | ||
| 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%" | | 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 121: | Line 121: | ||
|- | |- | ||
| 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%" | | 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 140: | Line 140: | ||
|- | |- | ||
| 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%" | | width="90%" class="mtx-class-macrohead" | '''GetValue''' | ||
|- | |- | ||
| colspan="2" | Gets the value of one of the Sliders / Text fields. | | colspan="2" | Gets the value of one of the Sliders / Text fields. | ||
| Line 159: | Line 159: | ||
|- | |- | ||
| 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%" | | 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 178: | Line 178: | ||
|- | |- | ||
| 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%" | | 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 202: | Line 202: | ||
|- | |- | ||
| 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%" | | width="90%" class="mtx-class-macrohead" | '''SetValue''' | ||
|- | |- | ||
| colspan="2" | Sets the value of one of the Sliders / Text fields. | | colspan="2" | Sets the value of one of the Sliders / Text fields. | ||
| Line 227: | Line 227: | ||
|- | |- | ||
| 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%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| Line 250: | Line 250: | ||
| 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" | Source Icon | ||
|- | |- | ||
|- | |- | ||
| Line 259: | Line 259: | ||
| 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" | Reference Icon | ||
|- | |- | ||
|- | |- | ||
| Line 283: | Line 283: | ||
| 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" | Value 0 | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 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. | |
| 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 | |
GetValue
| GetValue | |
| Gets the value of one of the Sliders / Text fields. | |
| Index | |
| Range: 0 to (Value Count - 1) | |
| 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 | |
SetValue
| SetValue | |
| Sets the value of one of the Sliders / Text fields. | |
| Index | |
| Range: 0 to (Value Count - 1) | |
| Value | |
| Return | |
Property reference
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