Hello, I have the following code:
ModbusClient modbusClient = new ModbusClient();
void readdata(){
int[] adcvalue = modbusClient.ReadInputRegisters(15,1);
}
However, after calling the function for a second or a third time, I get System.IO.IOException. this function is attached to button_click event.
I have attached my stack trace
Hello, I have the following code: ModbusClient modbusClient = new ModbusClient(); void readdata(){ int[] adcvalue = modbusClient.ReadInputRegisters(15,1); }
However, after calling the function for a second or a third time, I get System.IO.IOException. this function is attached to button_click event. I have attached my stack trace
stacktrace.txt