Floating point value input: Difference between revisions
From Smart LCD
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
=== Background === | === Background === | ||
Smart LCD provide VP_N32 can holding a 32bit number value and show as integer or floating point value. Here give an example about how to create a Floating point input with a PIP keyboard. | Smart LCD provide VP_N32 can holding a 32bit number value and show as integer or floating point value. Here give an example about how to create a Floating point input with a PIP keyboard. | ||
=== How to === | |||
[[File:SDM-23-0003-01.png|right]] | [[File:SDM-23-0003-01.png|right]] | ||
| Line 7: | Line 9: | ||
# VP Address must be a VP_N32 variable | # VP Address must be a VP_N32 variable | ||
# Data Type select "Float" | # Data Type select "Float" | ||
[[File:SDM-23-0003-02.png|800x800px]] | [[File:SDM-23-0003-02.png|800x800px]] | ||
| Line 20: | Line 16: | ||
[[File:SDM-23-0003-04.png|800x800px]] | [[File:SDM-23-0003-04.png|800x800px]] | ||
=== e.g. === | |||
* Using the keyboard input ”806.14“ | |||
* VP_N32(Add=0x020000) will store "0x444988f6" | |||
=== download === | |||
demo project: [[Media:SDM-23-0003(FloatInput N32).zip|SDM-23-0003(FloatInput_N32).zip]] | |||
Revision as of 15:41, 22 August 2025
Background
Smart LCD provide VP_N32 can holding a 32bit number value and show as integer or floating point value. Here give an example about how to create a Floating point input with a PIP keyboard.
How to

- create a TPK on a screen
- select Call keyboard function "PIP Number Keyboard"
- VP Address must be a VP_N32 variable
- Data Type select "Float"
e.g.
- Using the keyboard input ”806.14“
- VP_N32(Add=0x020000) will store "0x444988f6"
download
demo project: SDM-23-0003(FloatInput_N32).zip