Beispiel #1
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     #region ThreadHandler
     mythread.Stop();
     #endregion
     #region ArduinoHandler
     aduinodataconsumer.Stop();
     myarduinohandler.StopAquisition();
     arduinoBufferLabel.Stop();
     #endregion
     #region ArduinoPlotter
     myArduinoPlotter.Finish();
     #endregion
 }
Beispiel #2
0
 public void Finish()
 {
     dataconsumer.Stop();
     arduinoHandler.StopAquisition();
     chartHandler.PlotterUpdater.Stop();
     bufferLabelUpdater.Stop();
 }