1
Support Questions / Re: Failed to write value.. After upgrade from 399k to 399x
« on: April 13, 2021, 09:08:45 AM »
It also occurs in 3.99y beta 38. I am not sure how the drivers work, but this issue appears to be happening with all of the serial drivers. The error is thrown before communication is attempted.
It only happens if the scale factor results in a decimal.
To replicate this all you need to do is put a DigitalPanelMeter on the main form of a fresh project, give it a Keypad scale factor of 2, keypad min 0 max 100, and send it to any of the SerialDF1 drivers with a PLCAddressKeypad of N17:1 for example.
Run the project, if you enter "4" into the keypad you'll get a "no response form PLC" error. If you enter 5 you'll get a "input string was not in a correct format" error.
It only happens if the scale factor results in a decimal.
To replicate this all you need to do is put a DigitalPanelMeter on the main form of a fresh project, give it a Keypad scale factor of 2, keypad min 0 max 100, and send it to any of the SerialDF1 drivers with a PLCAddressKeypad of N17:1 for example.
Run the project, if you enter "4" into the keypad you'll get a "no response form PLC" error. If you enter 5 you'll get a "input string was not in a correct format" error.