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

From Flowcode Help
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
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_temp/Indicator.fcsx FC_Comp_Source_temp/Indicator.fcsx]
+
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 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]
+
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]
  
 
==Detailed description==
 
==Detailed description==
Line 67: Line 67:
  
 
No examples here yet
 
No examples here yet
 +
 +
 +
 +
  
  
Line 135: Line 139:
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
 
 
  
  

Latest revision as of 13:11, 7 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_Indicator.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_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