I have a prototype hmi (laptop for now) connected to a chiller via modbusRTU.
Sometimes the chiller will be powered down while the Hmi si still powered up.
When this happens I get an error on the hmi screen 'convert from string 'setpoint' to 'double' is invalid.
I get it, the reply from the modbus (corrupted or none) is not compatible with VB.
However I dont want the hmi to give the option to quit, the operators will foul things up.
Can I handle the error or stop the do you want to quit message?