Difference between revisions of "Component: EBM009 GUI (Misc)"

From Flowcode Help
Jump to navigationJump to search
Line 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/FC_Comp_Source_EBM009_GUI.fcfx FC_Comp_Source_EBM009_GUI.fcfx]
+
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/FC_Comp_Source_EBM009_GUI.fcfx FC_Comp_Source_EBM009_GUI.fcfx]
+
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==
  
===GetZ===
+
===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;" | '''GetZ'''
+
| 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:
  
  
===GetX===
+
===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;" | '''GetX'''
+
| 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:
  
  
===SetScales===
+
===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;" | '''SetScales'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetConsoleHandle'''
 
|-
 
|-
| colspan="2" | Set up the scales according to the sensitivity set by the parent component. 
+
| colspan="2" |  
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
+
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| width="90%" | FSS
+
| width="90%" | Handle
 
|-
 
|-
| colspan="2" | Value of the Gyro component's scale property (FSS) 
+
| 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:
  
  
===SetValues===
+
===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;" | '''SetValues'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLabelText'''
|-
 
| 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-string-icon.png]] - STRING
|-
+
| width="90%" | Text
| width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
 
| width="90%" | Z
 
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Line 166: Line 158:
  
  
===SetLabelText===
+
===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;" | '''SetLabelText'''
+
| 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-string-icon.png]] - STRING
+
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Text
+
| 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:
  
  
===SetConsoleHandle===
+
===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;" | '''SetConsoleHandle'''
+
| 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-h32-icon.png]] - HANDLE
+
| width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| width="90%" | Handle
+
| width="90%" | Z
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  

Revision as of 12:00, 3 February 2023

Author Matrix Ltd.
Version 1.0
Category Misc


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.

FC6 Icon.png EBM008 Example





Macro reference

GetX

Fc9-comp-macro.png GetX
Return the value from the X axis slider. 
Fc9-s16-icon.png - INT Return


GetY

Fc9-comp-macro.png GetY
Return the value from the X axis slider. 
Fc9-s16-icon.png - INT Return


GetZ

Fc9-comp-macro.png GetZ
Return the value from the X axis slider. 
Fc9-s16-icon.png - INT Return


SetConsoleHandle

Fc9-comp-macro.png SetConsoleHandle
 
Fc9-h32-icon.png - HANDLE Handle
 
Fc9-void-icon.png - VOID Return


SetLabelText

Fc9-comp-macro.png SetLabelText
 
Fc9-string-icon.png - STRING Text
 
Fc9-void-icon.png - VOID Return


SetScales

Fc9-comp-macro.png SetScales
Set up the scales according to the sensitivity set by the parent component. 
Fc9-u8-icon.png - BYTE FSS
Value of the Gyro component's scale property (FSS) 
Fc9-void-icon.png - VOID Return


SetValues

Fc9-comp-macro.png SetValues
Set simulated values for the three gyroscope axes. 
Fc9-s16-icon.png - INT X
 
Fc9-s16-icon.png - INT Y
 
Fc9-s16-icon.png - INT Z
 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-10-icon.png Label