“System.InvalidOperationException”类型的未经处理的异常在 System.Windows.Forms.dll 中发生
receiveData = SerialPort.ReadExisting();
// Receive_Box.AppendText(receiveData);
Receive_Box.Text += receiveData;
revBytesCount += (uint)receiveData.Length;
RevByte.Text = revBytesCount.ToString();
我在用C#接收串口出现这个?怎么办?求解决方法 |
|