Beispiel #1
0
 public LuminanceCalibration(KonicaCa310 pipe, Fixture fixture, Colorimeter colorimeter, IntegratingSphere integrate)
 {
     this.ca310Pipe = pipe;
     this.fixture   = fixture;
     this.camera    = colorimeter;
     this.integrate = integrate;
     this.ReadProfile();
 }
Beispiel #2
0
 public FlexCalibration(DUTclass.DUT dut, Colorimeter colorimeter, imagingpipeline pipe)
 {
     this.ReadProfile();
     this.dut    = dut;
     this.pipe   = pipe;
     this.camera = colorimeter;
     FULLNAME    = this.filepath + @"\RGB.txt";
     this.PATH   = this.filepath + @"\FlexCalibration\";
     Directory.CreateDirectory(PATH);
     this.rgbList = new List <int[]>();
     this.ReadRGBConfig();
 }
Beispiel #3
0
 public ColorCalibration(DUTclass.DUT dut, KonicaCa310 pipe, Fixture fixture, Colorimeter colorimeter)
 {
     this.dut       = dut;
     this.ca310Pipe = pipe;
     this.fixture   = fixture;
     this.camera    = colorimeter;
     this.rgbList   = new List <int[]>();
     FULLNAME       = this.filepath + @"\RGB.txt";
     PATH           = this.filepath + @"\ColorCalibration\";
     Directory.CreateDirectory(PATH);
     this.ReadProfile();
 }
Beispiel #4
0
        public void Exit()
        {
            flagExit = true;
            Stop();
            dut.Dispose();

            if (!this.config.IsSimulation)
            {
                // fixture
                fixture.Exit();
                fixture = null;

                // camera
                colorimeter.Disconnect();
                colorimeter = null;

                ca310Pipe.Disconnect();
                ca310Pipe = null;
            }
        }