Beispiel #1
0
 public void Start()
 {
     mainWindow            = new ControlWindow();
     mainWindow.controller = this;
     AddTabs();
     Application.Run(mainWindow);
 }
Beispiel #2
0
        public void Start()
        {
            analogsAvailable = true;
            // all the analog outputs are unblocked at the outset
            analogOutputsBlocked = new Hashtable();
            foreach (DictionaryEntry de in Environs.Hardware.AnalogOutputChannels)
            {
                analogOutputsBlocked.Add(de.Key, false);
            }

            AddAnalogOutput(motAOMFreqOutputTask, motAOMFreqChannel, "motAOMFreq", -10, 10);
            AddAnalogOutput(motAOMAmpOutputTask, motAOMAmpChannel, "motAOMAmp", -10, 10);


            pressureSourceChamber.AddToTask(pressureMonitorTask, -10, 10);
            pressureRough.AddToTask(roughVacuumTask, -10, 10);
            voltageReference.AddToTask(voltageReferenceTask, -10, 10);
            therm30KTemp.AddToTask(thermistor30KPlateTask, -10, 10);
            shieldTemp.AddToTask(shieldTask, -10, 10);
            cellTemp.AddToTask(cellTask, -10, 10);
            InitializeSidebandRead();



            window            = new ControlWindow();
            window.controller = this;
            Application.Run(window);
        }