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

From Flowcode Help
Jump to navigationJump to search
Line 67: Line 67:
  
 
No examples here yet
 
No examples here yet
 +
 +
  
  
Line 72: Line 74:
 
==Macro reference==
 
==Macro reference==
  
 +
===GetSwitch===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 85: Line 88:
  
  
 +
===SwitchOn===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 98: Line 102:
  
  
 +
===Switch===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 116: Line 121:
  
  
 +
===SwitchOff===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-

Revision as of 11:50, 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_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


SwitchOn

Fc9-comp-macro.png SwitchOn
Sets the indicator to the On state. 
Fc9-void-icon.png - VOID 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



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