Difference between revisions of "Component: EBM009 GUI (Misc)"
From Flowcode Help
Jump to navigationJump to searchLine 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/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/EBM009_GUI.fcfx FC_Comp_Source_temp/EBM009_GUI.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/EBM009_GUI.fcfx FC_Comp_Source_temp/EBM009_GUI.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 68: | Line 68: | ||
{{Fcfile|EBM008 - Test Program.fcfx|EBM008 Example}} | {{Fcfile|EBM008 - Test Program.fcfx|EBM008 Example}} | ||
+ | |||
+ | |||
Line 76: | Line 78: | ||
==Macro reference== | ==Macro reference== | ||
− | === | + | ===GetX=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetX''' |
|- | |- | ||
| colspan="2" | Return the value from the X axis slider. | | colspan="2" | Return the value from the X axis slider. | ||
Line 104: | Line 106: | ||
− | === | + | ===GetZ=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetZ''' |
|- | |- | ||
| colspan="2" | Return the value from the X axis slider. | | colspan="2" | Return the value from the X axis slider. | ||
Line 118: | Line 120: | ||
− | === | + | ===SetConsoleHandle=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetConsoleHandle''' |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | |
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE |
− | | width="90%" | | + | | width="90%" | Handle |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | |
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Line 137: | Line 139: | ||
− | === | + | ===SetLabelText=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLabelText''' |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | |||
− | |||
|- | |- | ||
− | + | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING | |
− | + | | width="90%" | Text | |
− | | width="10%" align="center" | [[File:Fc9- | ||
− | | width="90%" | | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
Line 166: | Line 158: | ||
− | === | + | ===SetScales=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetScales''' |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Set up the scales according to the sensitivity set by the parent component. |
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |
− | | width="90%" | | + | | width="90%" | FSS |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Value of the Gyro component's scale property (FSS) |
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Line 185: | Line 177: | ||
− | === | + | ===SetValues=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValues''' |
+ | |- | ||
+ | | colspan="2" | Set simulated values for the three gyroscope axes. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT | ||
+ | | width="90%" | X | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT | ||
+ | | width="90%" | Y | ||
+ | |- | ||
+ | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
− | | width="90%" | | + | | width="90%" | Z |
|- | |- | ||
| colspan="2" | | | colspan="2" | |
Revision as of 12:00, 3 February 2023
Author | Matrix Ltd. |
Version | 1.0 |
Category | Misc |
Contents
EBM009_GUI component
Non-release GUI component for incorporation into EBM009 Gyroscope component.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/EBM009_GUI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/EBM009_GUI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
This demo reads the temperature from both the thermistor and thermocouple.
The thermocouple requires calibration from the thermistor to read accurate temperatures.
This is achieved by holding any switch on PORTD to set adjust the thermocouple to ambient.
Macro reference
GetX
![]() |
GetX |
Return the value from the X axis slider. | |
![]() |
Return |
GetY
![]() |
GetY |
Return the value from the X axis slider. | |
![]() |
Return |
GetZ
![]() |
GetZ |
Return the value from the X axis slider. | |
![]() |
Return |
SetConsoleHandle
![]() |
SetConsoleHandle |
![]() |
Handle |
![]() |
Return |
SetLabelText
![]() |
SetLabelText |
![]() |
Text |
![]() |
Return |
SetScales
![]() |
SetScales |
Set up the scales according to the sensitivity set by the parent component. | |
![]() |
FSS |
Value of the Gyro component's scale property (FSS) | |
![]() |
Return |
SetValues
![]() |
SetValues |
Set simulated values for the three gyroscope axes. | |
![]() |
X |
![]() |
Y |
![]() |
Z |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Label |