Floating point value input: Difference between revisions

From Smart LCD
Created page with "=== 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."
 
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.
[[File:SDM-23-0003-01.png|right]]
# 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"
使用键盘输入 ”806.14“
VP_N32(Add=0x020000) 会存入 0x444988f6
SDM-23-0003(FloatInput_N32).zip
[[File:SDM-23-0003-02.png|800x800px]]
[[File:SDM-23-0003-03.png|800x800px]]
[[File:SDM-23-0003-04.png|800x800px]]
使用键盘输入 ”806.14“
VP_N32(Add=0x020000) 会存入 0x444988f6

Revision as of 12:19, 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.

  1. create a TPK on a screen
  2. select Call keyboard function "PIP Number Keyboard"
  3. VP Address must be a VP_N32 variable
  4. Data Type select "Float"

使用键盘输入 ”806.14“

VP_N32(Add=0x020000) 会存入 0x444988f6

SDM-23-0003(FloatInput_N32).zip

使用键盘输入 ”806.14“

VP_N32(Add=0x020000) 会存入 0x444988f6