title: serial port split data
body: <p>In my code i send <code>Resume</code> and <code>Left</code> but for some reason the text is split like this:</p>
  
  <pre><code>[COM6] Pause
  
  [COM6] Re
  [COM6] sume
  [COM6] 
  
  [COM6] Le
  [COM6] ft
  </code></pre>
  
  <p>here is my code </p>
  
  <pre><code>    var mySerialPort = new SerialPort
                  {
                      BaudRate = int.Parse(nsComboBox1.Items[nsComboBox1.SelectedIndex].ToString()),
                      PortName = nsComboBox2.Items[nsComboBox2.SelectedIndex].ToString(),
                      ReadTimeout = 500,
                      ReadBufferSize = 1024,
                      Parity = Parity.Space,
                      StopBits = StopBits.One
                  };
                  mySerialPort.Open();
                  mySerialPort.DataReceived +=
                      (o, args) =&gt;
                      {
                          string s = mySerialPort.ReadExisting();
                          textBox1.Invoke(
                              new MethodInvoker(() =&gt; textBox1.Text += string.Format("[{0}] {1}", mySerialPort.PortName,
                                  s) + Environment.NewLine));
  //removed the rest for being irrelevant
                      };
  </code></pre>
  
  <p>I think its because of my option but how can I avoid splitting the text?</p>