Jump to content

Component: EBM004 GUI (Misc): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 77: Line 77:


''<span style="color:red;">No additional examples</span>''
''<span style="color:red;">No additional examples</span>''




Line 83: Line 85:
==Macro reference==
==Macro reference==


===ReadInt===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 101: Line 104:




===ReadFloat===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 114: Line 118:




===SetMinMax===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 137: Line 142:




===ReadByte===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 155: Line 161:




===SetConsoleHandle===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 173: Line 180:




===SetTemperature===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-

Revision as of 11:49, 3 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

ReadInt

ReadInt
Get the complete 16bit integer value of the sensor's temperature register. 
- BYTE Address
The address of the byte to return. 
- INT Return


ReadFloat

ReadFloat
Get the temperature register value converted into an actual floating point temperature readng in Celcius. 
- FLOAT Return


SetMinMax

SetMinMax
Set the minimum and maximum temperature values that can be shown and set on the thermometer readout. 
- FLOAT Min
Minimum Value 
- FLOAT Max
Maximum Value 
- VOID Return


ReadByte

ReadByte
Get the data from the MSB of a sensor register. 
- BYTE Address
The address of the byte to return. 
- BYTE Return


SetConsoleHandle

SetConsoleHandle
Pass the parent sensor's console handle to the GUI to allow opening of the console from the 'Console' button. 
- HANDLE Handle
Handle of the console 
- VOID Return


SetTemperature

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



Property reference

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