Difference between revisions of "Component: On / Off Indicator (Digital Indicator )"

From Flowcode Help
Jump to navigationJump to search
Line 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/FC_Comp_Source_Indicator.fcsx FC_Comp_Source_Indicator.fcsx]
+
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/FC_Comp_Source_Indicator.fcsx FC_Comp_Source_Indicator.fcsx]
+
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:
  
  
===SwitchOn===
+
===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;" | '''SwitchOn'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Switch'''
 +
|-
 +
| colspan="2" | Sets the indicator to the value dictated by the State parameter 
 +
|-
 
|-
 
|-
| colspan="2" | Sets the indicator to the On state. 
+
| 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:
  
  
===Switch===
+
===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;" | '''Switch'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SwitchOff'''
|-
 
| colspan="2" | Sets the indicator to the value dictated by the State parameter 
 
 
|-
 
|-
 +
| colspan="2" | Sets the indicator to the Off state. 
 
|-
 
|-
| 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 121: Line 123:
  
  
===SwitchOff===
+
===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;" | '''SwitchOff'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SwitchOn'''
 
|-
 
|-
| colspan="2" | Sets the indicator to the Off state. 
+
| 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


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

Fc9-comp-macro.png GetSwitch
Reads back the status of the indicator 
Fc9-bool-icon.png - BOOL Return


Switch

Fc9-comp-macro.png Switch
Sets the indicator to the value dictated by the State parameter 
Fc9-bool-icon.png - BOOL State
 
Fc9-void-icon.png - VOID Return


SwitchOff

Fc9-comp-macro.png SwitchOff
Sets the indicator to the Off state. 
Fc9-void-icon.png - VOID Return


SwitchOn

Fc9-comp-macro.png SwitchOn
Sets the indicator to the On state. 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Indicator Type
Controls the shape of the indicator object on the panel 
Fc9-type-16-icon.png Style
 
Fc9-type-1-icon.png On Colour
Colour of the indicator when switched on 
Fc9-type-7-icon.png Auto Off Colour
Controls if an off colour is automatically assigned for you. Yes - Generate automatic off colour No - User can set their own off colour 
Fc9-type-1-icon.png Off Colour
Colour of the indicator when switched off 
Fc9-type-7-icon.png Show Label
 
Fc9-conn-icon.png Label
Fc9-type-11-icon.png Text
Text to display 
Fc9-type-2-icon.png Text Colour
Specifies the font colour for the item 
Fc9-type-2-icon.png Background Colour
Specifies the background colour value 
Fc9-type-3-icon.png Font
Specifies the font style for the item 
Fc9-type-15-icon.png Scale
 
Fc9-type-7-icon.png Bold
 
Fc9-type-16-icon.png Placement
 
Fc9-type-15-icon.png Spacing
Distance between the label and the indicator