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

From Flowcode Help
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
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_temp/EBM004_GUI.fcfx FC_Comp_Source_temp/EBM004_GUI.fcfx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_EBM004_GUI.fcfx FC_Comp_Source_EBM004_GUI.fcfx]
  
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/EBM004_GUI.fcfx FC_Comp_Source_temp/EBM004_GUI.fcfx]
+
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_EBM004_GUI.fcfx FC_Comp_Source_EBM004_GUI.fcfx]
  
 
==Detailed description==
 
==Detailed description==
Line 77: Line 77:
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
 +
 +
 +
 +
  
  
Line 199: Line 203:
 
| 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
Version 1.0
Category Misc


EBM004_GUI component

Private non-release sub-component for the EBM004 digital temperature sensor.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_EBM004_GUI.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_EBM004_GUI.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

ReadByte

Fc9-comp-macro.png ReadByte
Get the data from the MSB of a sensor register. 
Fc9-u8-icon.png - BYTE Address
The address of the byte to return. 
Fc9-u8-icon.png - BYTE Return


ReadFloat

Fc9-comp-macro.png ReadFloat
Get the temperature register value converted into an actual floating point temperature readng in Celcius. 
Fc9-f32-icon.png - FLOAT Return


ReadInt

Fc9-comp-macro.png ReadInt
Get the complete 16bit integer value of the sensor's temperature register. 
Fc9-u8-icon.png - BYTE Address
The address of the byte to return. 
Fc9-s16-icon.png - INT Return


SetConsoleHandle

Fc9-comp-macro.png SetConsoleHandle
Pass the parent sensor's console handle to the GUI to allow opening of the console from the 'Console' button. 
Fc9-h32-icon.png - HANDLE Handle
Handle of the console 
Fc9-void-icon.png - VOID Return


SetMinMax

Fc9-comp-macro.png SetMinMax
Set the minimum and maximum temperature values that can be shown and set on the thermometer readout. 
Fc9-f32-icon.png - FLOAT Min
Minimum Value 
Fc9-f32-icon.png - FLOAT Max
Maximum Value 
Fc9-void-icon.png - VOID Return


SetTemperature

Fc9-comp-macro.png SetTemperature
Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. 
Fc9-f32-icon.png - FLOAT Temperature
Zero to one value - representing min-max of the sensor. 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Simulation
Fc9-type-10-icon.png Label
A text label to help you identify the component on the panel. 
Fc9-type-15-icon.png Min. Temp.
Minimum termperature that can be set or displayed on the thermometer slider. 
Fc9-type-15-icon.png Max. Temp.
Maximum termperature that can be set or displayed on the thermometer slider. 
Fc9-type-21-icon.png Scale divisions
Number of numbered divisions shown on the thermometer scale. 
Fc9-type-16-icon.png I2C Data
Choose whether the I2C data is shown as decimal or hexadecimal values.