Difference between revisions of "Component: Sensor Library Component (Misc)"
From Flowcode Help
Jump to navigationJump to search| Line 80: | Line 80: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 85: | Line 87: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===GetValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 103: | Line 106: | ||
| + | ===FlashRx=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 116: | Line 120: | ||
| + | ===FlashTx=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 129: | Line 134: | ||
| + | ===GetLinkHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 147: | Line 153: | ||
| + | ===SetValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 170: | Line 177: | ||
| + | ===SetLinkHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 193: | Line 201: | ||
| + | ===SetConsoleHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:52, 3 February 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 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
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetValue
| GetValue | |
| Gets the value of one of the Sliders / Text fields. | |
| Index | |
| Range: 0 to (Value Count - 1) | |
| Return | |
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 | |
SetValue
| SetValue | |
| Sets the value of one of the Sliders / Text fields. | |
| Index | |
| Range: 0 to (Value Count - 1) | |
| Value | |
| Return | |
SetLinkHandle
| SetLinkHandle | |
| Sets the handle of the source object we are pointing to. | |
| 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 | |
| Return | |