Using AdvancedHMI v3.97d with Visual Studio 2013
In my application, I created an instance of a driver component ModbusRTUCom on the Form[design]. I don't have any objects on my design form that poll or use the ModbusRTUCom.
In my form.vb, I use ModbusRTUCom.read and ModbusRTUCom.Write commands, which works fine.
Then I have another ModbusDLL that I need to execute some commands from that needs to use the same serial port.
So I execute,
ModbusRTUCom.Dispose(), which allows me to exectute the ModbusDLL procedures. Once completed I execute the ModbusDLL.Dispose()
But then when I try to ModbusRTUCom.read , I get the exception" Cannot access a disposed object."
What do I need to do to work around this?