RS1 = new SerialPort(RS1cb.SelectedItem.ToString(), System.Int32.Parse(RSspeedcb.Text.ToString()), Parity.None, 8, StopBits.One); RS1.Handshake = Handshake.None; RS1.WriteBufferSize = 200; RS1.ReadBufferSize = 200;// RS1.ReceivedBytesThreshold = 4; this.RS1.DataReceived += new SerialDataReceivedEventHandler(this.RS1rx); RS1.Open(); private void RS1rx(object sender, System.IO.Ports.SerialDataReceivedEventArgs e) {// Thread.Sleep(200); string data = RS1.ReadExisting(); RS2.WriteLine(data); txtLog.Invoke(new SetTextDeleg(SetText), new object[] { data }); }