Difference between revisions of "Component: On / Off Indicator (Digital Indicator )"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/Indicator.fcsx FC_Comp_Source_temp/Indicator.fcsx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/Indicator.fcsx FC_Comp_Source_temp/Indicator.fcsx] |
==Detailed description== | ==Detailed description== | ||
Line 67: | Line 67: | ||
No examples here yet | No examples here yet | ||
+ | |||
+ | |||
Line 88: | Line 90: | ||
− | === | + | ===Switch=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Switch''' |
+ | |- | ||
+ | | colspan="2" | Sets the indicator to the value dictated by the State parameter | ||
+ | |- | ||
|- | |- | ||
− | | | + | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL |
+ | | width="90%" | State | ||
|- | |- | ||
+ | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Line 102: | Line 109: | ||
− | === | + | ===SwitchOff=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SwitchOff''' |
− | |||
− | |||
|- | |- | ||
+ | | colspan="2" | Sets the indicator to the Off state. | ||
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Line 121: | Line 123: | ||
− | === | + | ===SwitchOn=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SwitchOn''' |
|- | |- | ||
− | | colspan="2" | Sets the indicator to the | + | | colspan="2" | Sets the indicator to the On state. |
|- | |- | ||
|- | |- |
Revision as of 12:01, 3 February 2023
Author | Matrix TSL |
Version | 1.0 |
Category | Digital Indicator |
Contents
On / Off Indicator component
A simple component to create an on / off type indicator on the panel.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/Indicator.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/Indicator.fcsx
Detailed description
No detailed description exists yet for this component
Examples
No examples here yet
Macro reference
GetSwitch
GetSwitch | |
Reads back the status of the indicator | |
- BOOL | Return |
Switch
Switch | |
Sets the indicator to the value dictated by the State parameter | |
- BOOL | State |
- VOID | Return |
SwitchOff
SwitchOff | |
Sets the indicator to the Off state. | |
- VOID | Return |
SwitchOn
SwitchOn | |
Sets the indicator to the On state. | |
- VOID | Return |