Difference between revisions of "Component: On / Off Indicator (Digital Indicator )"
From Flowcode Help
Jump to navigationJump to search(2 intermediate revisions by the same user not shown) | |||
Line 67: | Line 67: | ||
No examples here yet | No examples here yet | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 84: | Line 90: | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-bool-icon.png]] - BOOL | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-bool-icon.png]] - BOOL | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 135: | Line 127: | ||
+ | ===SwitchOn=== | ||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SwitchOn''' | ||
+ | |- | ||
+ | | colspan="2" | Sets the indicator to the On state. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
+ | | 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 |
Contents
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
GetSwitch | |
Reads back the status of the indicator | |
- BOOL | Return |
Switch
Switch | |
Sets the indicator to the value dictated by the State parameter | |
- BOOL | State |
- VOID | Return |
SwitchOff
SwitchOff | |
Sets the indicator to the Off state. | |
- VOID | Return |
SwitchOn
SwitchOn | |
Sets the indicator to the On state. | |
- VOID | Return |