Difference between revisions of "Component: RadioButton (Digital Control )"
From Flowcode Help
Jump to navigationJump to search(7 intermediate revisions by one other user not shown) | |||
Line 16: | Line 16: | ||
==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_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] | 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] | ||
Line 34: | Line 36: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 49: | 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 59: | Line 57: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===GetIndex=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 72: | Line 71: | ||
+ | ===Prv_DisplaySelectedItem=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 85: | Line 85: | ||
+ | ===SetIndex=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 101: | 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 |
Contents
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.
Macro reference
GetIndex
![]() |
GetIndex |
Gets the current selected index. Returns 1 - NumberOptions | |
![]() |
Return |
Prv_DisplaySelectedItem
![]() |
Prv_DisplaySelectedItem |
![]() |
Return |
SetIndex
![]() |
SetIndex |
Sets the selected item. | |
![]() |
Index |
Range: 1 - Number Options | |
![]() |
Return |