private void error(Object sender, SerialErrorReceivedEventArgs e)
 {
     comErrorsReceived++;
     log("Serial com error:" + e.ToString(), false, 2);
     if (comErrorsReceived == 10)
         close();
 }
 private void _errorHandler(object sender, SerialErrorReceivedEventArgs e)
 {
     this.WriteApp(string.Format(clsGlobal.MyCulture, "Serial comm error {0}", new object[] { e.ToString() }));
 }
Example #3
0
 private void HanldeErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     Console.WriteLine("ZWaveLib ERROR: " + e.EventType.ToString() + " => " + e.ToString());
 }
Example #4
0
 private void HanldeErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     DebugLog("SPI !", e.EventType.ToString());
     DebugLog("SPI !", e.ToString());
 }
 void csaPort_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     Tracer.Error("csaPort_ErrorReceived: " + e.ToString());
 }
Example #6
0
 /// <summary>
 /// Called when a serial communication error occurs.
 /// </summary>
 private void UartErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     // TODO
     if (this.ObdErrorEvent != null)
     {
         this.ObdErrorEvent(this, new ErrorEventArgs(new Exception(e.ToString())));
     }
 }
Example #7
0
 private void HanldeErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     Utility.DebugLog(DebugMessageType.Error, e.EventType.ToString() + " => " + e.ToString());
 }
Example #8
0
 private void sPort_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     this.BeginInvoke(new MethodInvoker(delegate()
     { rtbDataIn.AppendText("  ***  ERROR RECEIVED " + e.ToString() + "  ***\r\n"); }));
 }
Example #9
0
 public void OpError(object sender, SerialErrorReceivedEventArgs e)
 {
     Console.WriteLine("Exception Caught : " + e.ToString());
 }
Example #10
0
 void _module_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     Debug.Print(e.ToString());
 }
Example #11
0
 private void serialELM_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     rxtxTB.Text = e.ToString();
 }
Example #12
0
        //error data receive
        private void Com_rru_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
        {
            WriteTraceText(sender.ToString() + " : " + e.ToString());

            this._COM_RRU.DiscardInBuffer();
            this._COM_RRU.DiscardOutBuffer();
        }
 public virtual void port_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     errorCounter++;
     Tracer.Error("ControllerRQAX2850: port_ErrorReceived: " + e.ToString());
 }
Example #14
0
 private void serialPort1_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     label1.Text = e.ToString();
 }
 private void error(Object sender, SerialErrorReceivedEventArgs e)
 {
     log("Serial com error:" + e.ToString(), false, 2);
 }
Example #16
0
 void comm_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     Trace.WriteLine(sender.ToString()+" - "+e.ToString());
 }
Example #17
0
 void comport_ErrorReceived(object sender, SerialErrorReceivedEventArgs e)
 {
     txtReceive.Invoke(new EventHandler(delegate { txtReceive.Text += e.ToString(); }));
 }
Example #18
0
 private void serialPort_ErrorReceived(object sender, System.IO.Ports.SerialErrorReceivedEventArgs e)
 {
     MessageBox.Show(e.ToString());
 }
 private void error(Object sender, SerialErrorReceivedEventArgs e)
 {
     comErrorsReceived++;
     log(Trans.T("L_SERIAL_COM_ERROR") + e.ToString(), false, 2); // "Serial com error:"
     if (comErrorsReceived == 10)
         close();
 }
 private void SP_Joy_ErrorReceived(object sender, System.IO.Ports.SerialErrorReceivedEventArgs e)
 {
     Close_Serial_Port(SP_Joy);
     MessageBox.Show("Erreur sur le port série !\n\n" + e.ToString(), "Erreur", MessageBoxButtons.OK, MessageBoxIcon.Error);
 }