private void StartGetSignal() //start getting signal without click { timerDrawSignal.Start(); //start timer Graph1D.f_ClearAllPix(); Graph1D.f_reXY(); Graph1D.f_LoadOnePix(ref x1, ref y1, Color.Red, 2); }
/*******************************************************************************************************************/ private void StartGetSignal() //start getting signal without click { timerDrawSignal.Start(); //start timer Graph1D.f_ClearAllPix(); Graph1D.f_reXY(); Graph1D.f_LoadOnePix(ref x1, ref y1, Color.Red, 2); if (heartcuttingNumber > 0) { Graph1D.f_AddPix(ref x4, ref y4, Color.Blue, 2); } }
private void StartGetSignal() //start getting signal without click { timerDraw.Start(); //start timer Graph1D.f_ClearAllPix(); TempGraph.f_ClearAllPix(); Graph1D.f_reXY(); TempGraph.f_reXY(); Graph1D.f_LoadOnePix(ref x1, ref y1, Color.Red, 2); TempGraph.f_LoadOnePix(ref x2, ref y2, Color.Red, 2); TempGraph.f_AddPix(ref x3, ref y3, Color.Blue, 2); }
/*******************************************************************************************************************/ private void btnGetAnalogIn_Click(object sender, EventArgs e) //start the timer when click the button { timerDraw.Start(); //start timer Graph1D.f_ClearAllPix(); TempGraph.f_ClearAllPix(); Graph1D.f_reXY(); TempGraph.f_reXY(); Graph1D.f_LoadOnePix(ref x1, ref y1, Color.Red, 2); TempGraph.f_LoadOnePix(ref x2, ref y2, Color.Red, 2); TempGraph.f_AddPix(ref x3, ref y3, Color.Blue, 2); }