Component: EBM004 GUI (Misc): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 95: | Line 95: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadByte''' | ||
|- | |- | ||
| colspan="2" | Get the data from the MSB of a sensor register. | | colspan="2" | Get the data from the MSB of a sensor register. | ||
| Line 114: | Line 114: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadFloat''' | ||
|- | |- | ||
| colspan="2" | Get the temperature register value converted into an actual floating point temperature readng in Celcius. | | colspan="2" | Get the temperature register value converted into an actual floating point temperature readng in Celcius. | ||
| Line 128: | Line 128: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadInt''' | ||
|- | |- | ||
| colspan="2" | Get the complete 16bit integer value of the sensor's temperature register. | | colspan="2" | Get the complete 16bit integer value of the sensor's temperature register. | ||
| Line 147: | Line 147: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetConsoleHandle''' | ||
|- | |- | ||
| colspan="2" | Pass the parent sensor's console handle to the GUI to allow opening of the console from the 'Console' button. | | colspan="2" | Pass the parent sensor's console handle to the GUI to allow opening of the console from the 'Console' button. | ||
| Line 166: | Line 166: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetMinMax''' | ||
|- | |- | ||
| colspan="2" | Set the minimum and maximum temperature values that can be shown and set on the thermometer readout. | | colspan="2" | Set the minimum and maximum temperature values that can be shown and set on the thermometer readout. | ||
| Line 190: | Line 190: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetTemperature''' | ||
|- | |- | ||
| colspan="2" | Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. | | colspan="2" | Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. | ||
| Line 210: | Line 210: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| 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
| ReadByte | |
| Get the data from the MSB of a sensor register. | |
| Address | |
| The address of the byte to return. | |
| Return | |
ReadFloat
| ReadFloat | |
| Get the temperature register value converted into an actual floating point temperature readng in Celcius. | |
| Return | |
ReadInt
| ReadInt | |
| Get the complete 16bit integer value of the sensor's temperature register. | |
| Address | |
| The address of the byte to return. | |
| 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 of the console | |
| Return | |
SetMinMax
| SetMinMax | |
| Set the minimum and maximum temperature values that can be shown and set on the thermometer readout. | |
| Min | |
| Minimum Value | |
| Max | |
| Maximum Value | |
| Return | |
SetTemperature