Difference between revisions of "Component: EBM009 GUI (Misc)"
From Flowcode Help
Jump to navigationJump to search(2 intermediate revisions by the same user not shown) | |||
Line 68: | Line 68: | ||
{{Fcfile|EBM008 - Test Program.fcfx|EBM008 Example}} | {{Fcfile|EBM008 - Test Program.fcfx|EBM008 Example}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 76: | Line 82: | ||
==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 110: | ||
− | === | + | ===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 124: | ||
− | === | + | ===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 143: | ||
− | === | + | ===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- | + | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING |
− | | width="90%" | | + | | width="90%" | Text |
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
Line 166: | Line 162: | ||
− | === | + | ===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 181: | ||
− | === | + | ===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 | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9- | + | | colspan="2" | |
− | | width="90%" | | + | |- |
+ | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT | ||
+ | | width="90%" | Z | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
Line 202: | Line 208: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 13:09, 7 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_EBM009_GUI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_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 |