Beispiel #1
0
        private void Send_Calibration_Click(object sender, EventArgs e)
        {
            // Get the Info that whether the settings in the MainRegister is locked or not
            bool backgroundWasRunning = AcquisitionWorker.IsBusy;

            int[] calibrationTable = new int[1024];

            if (backgroundWasRunning)
            {
                StopAcquisitionThread();
            }

            activeSingleTact.PushCalibrationToHardware(calibrationTable);

            if (backgroundWasRunning)
            {
                StartAcquisitionThread();
            }
        }