Inheritance: System.Windows.Forms.Form
コード例 #1
0
ファイル: Controller.cs プロジェクト: akaushik1/EDMSuite
        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);
            }

            aomChannel.AddToTask(outputTask, -10, 10);
            outputTask.Control(TaskAction.Verify);
            aomWriter = new AnalogSingleChannelWriter(outputTask.Stream);

            window            = new ControlWindow();
            window.controller = this;
            Application.Run(window);
        }
コード例 #2
0
ファイル: Controller.cs プロジェクト: ColdMatter/EDMSuite
        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);
        }
コード例 #3
0
ファイル: Controller.cs プロジェクト: akaushik1/EDMSuite
        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);

            aomChannel.AddToTask(outputTask, -10, 10);
            outputTask.Control(TaskAction.Verify);
            aomWriter = new AnalogSingleChannelWriter(outputTask.Stream);

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