Difference between revisions of "Component: RadioButton (Digital Control )"

From Flowcode Help
Jump to navigationJump to search
(Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
 
 
(8 intermediate revisions by one other user not shown)
Line 17: Line 17:
 
==Component Source Code==
 
==Component Source Code==
  
Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_RadioButton.fcsx FC_Comp_Source_RadioButton.fcsx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_RadioButton.fcsx FC_Comp_Source_RadioButton.fcsx]
 +
 
 +
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_RadioButton.fcsx FC_Comp_Source_RadioButton.fcsx]
  
 
==Detailed description==
 
==Detailed description==
Line 35: Line 37:
  
  
''No detailed description exists yet for this component''
 
  
==Examples==
 
  
  
Line 45: Line 45:
  
  
 +
''No detailed description exists yet for this component''
  
 +
==Examples==
  
 
A basic example using two circular knobs to simulate data e.g., temperature.
 
A basic example using two circular knobs to simulate data e.g., temperature.
Line 55: Line 57:
 
==Macro reference==
 
==Macro reference==
  
 +
===GetIndex===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 68: Line 71:
  
  
 +
===Prv_DisplaySelectedItem===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 81: Line 85:
  
  
 +
===SetIndex===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 97: Line 102:
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
 
 
  
  

Latest revision as of 11:56, 15 December 2023

Author Matrix TSL
Version 1.0
Category Digital Control


RadioButton component

A simple radio button component allowing an array of up to 20 on/off type settings.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_RadioButton.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_RadioButton.fcsx

Detailed description

No detailed description exists yet for this component

Examples

A basic example using two circular knobs to simulate data e.g., temperature. Both xy chart and Console, log the data. A radio button is used to start, stop and reset logging.

FC6 Icon.png Logging Example

Macro reference

GetIndex

Fc9-comp-macro.png GetIndex
Gets the current selected index. Returns 1 - NumberOptions 
Fc9-u8-icon.png - BYTE Return


Prv_DisplaySelectedItem

Fc9-comp-macro.png Prv_DisplaySelectedItem
 
Fc9-void-icon.png - VOID Return


SetIndex

Fc9-comp-macro.png SetIndex
Sets the selected item. 
Fc9-u8-icon.png - BYTE Index
Range: 1 - Number Options 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Number Options
 
Fc9-type-16-icon.png Initial Value
 
Fc9-type-11-icon.png Text1
Text to display 
Fc9-type-11-icon.png Text2
Text to display 
Fc9-type-11-icon.png Text3
Text to display 
Fc9-type-12-icon.png Style
 
Fc9-type-1-icon.png Colour
 
Fc9-type-7-icon.png Show Label
 
Fc9-type-1-icon.png Text Colour
 
Fc9-type-15-icon.png Text Scale
 
Fc9-type-15-icon.png Spacing
Space between radio button items 
Fc9-type-15-icon.png Text Spacing
Space between text and radio button item.