Beispiel #1
0
 private void ButStart_Click(object sender, EventArgs e)
 {
     _project.ClearSignals();
     _signal1 = AddSignal(Signal1);
     _signal2 = AddSignal(Signal2);
     _signal3 = AddSignal(Signal3);
     _project.StartProcess();
     _isStarted           = true;
     ValuesTimer.Interval = Convert.ToInt32(PeriodLength.Text.ToDouble() * 1000);
     ValuesTimer.Start();
 }
Beispiel #2
0
 private void ButStop_Click(object sender, EventArgs e)
 {
     ValuesTimer.Stop();
     _isStarted = false;
     _project.StopProcess();
 }