Use NModbus4 to read serial port public static void aget() {byte[] array = new byte[8]; using (SerialPort port = new SerialPort(“COM3”)) {port.BaudRate = 9600; port.DataBits = 8; port.Parity
Use NModbus4 to read serial port public static void aget() {byte[] array = new byte[8]; using (SerialPort port = new SerialPort(“COM3”)) {port.BaudRate = 9600; port.DataBits = 8; port.Parity