Ejemplo n.º 1
0
        private void clearExperiment(bool refresh = true)
        {
            bvMaster?.clear();
            bvSlave?.clear();

            if (refresh)
            {
                refreshExperiment();
            }
        }
Ejemplo n.º 2
0
        private void emulationZeroSample4Slave()
        {
            List <Bitmap> b = common.generateSample(cfg);

            foreach (var l in b)
            {
                var BridgeBetweenDrvAndApp = new CameraBridgeEventArgs();
                BridgeBetweenDrvAndApp.ImageSlave = l;
                cameraSlaveCapture(drv, BridgeBetweenDrvAndApp);
            }

            Task.Delay(500).Wait();

            bvSlave.clear();
            bvSlave.refresh();
            countSampleSlaveBad--;

            HidController.Controller.Blow(0, false);
//            HidController.Controller.SensorsClear();
        }