/// <summary> /// Reads some analogue inputs. /// The basic unit of the program. /// </summary> private CavityScanData acquireAI(ScanParameters sp) { CavityScanData scanData = new CavityScanData(sp.Steps, aiChannels, lookupAI, photodiodes[0], photodiodes[1]); //How many channels we expect. one pd for each slave, the He-Ne and the cavity voltage. scanData.AIData = tcl.ReadAI(sp.Steps); return(scanData); }
/// <summary> /// Reads some analogue inputs. /// The basic unit of the program. /// </summary> private CavityScanData acquireAI(ScanParameters sp) { CavityScanData scanData = new CavityScanData(sp.Steps, aiChannels, config.Lasers, config.Cavity, config.MasterLaser); //How many channels we expect. one pd for each slave, the He-Ne and the cavity voltage. scanData.AIData = tcl.ReadAI(sp.Steps); return(scanData); }