Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable multipiler
#1
What is the purpose of the multiplier in the Modbus variable settings?

For example, if there is a float variable with a value of 1.0, and its multipliler is set to 0.001, then:
  1. the associated value display widget (with "value conversion" unchecked) will show 1.0;
  2. open the associated value editor popup (with "value conversion" unchecked), it will also show 1.0;
  3. change the value to 2.0 and save, the float value will be updated to 2000.0;
  4. now both the value display and the value editor will show 2000.0, which is very confusing: the value entered when saving (2.0) does not match the value displayed (2000.0) after saving.

That is, the variable multiplier is only used as a divisor when saving, and is ignored in all other cases. Is this a bug or by design?
Reply


Messages In This Thread
Variable multipiler - by azuo_lee - 01-26-2023, 08:45 AM
RE: Variable multipiler - by iliaslamprou - 01-26-2023, 10:54 PM
RE: Variable multipiler - by azuo_lee - 01-27-2023, 01:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)