public IOController()
        {
            ao[0]        = new AnalogOutputWriter(2, 5, 10);
            ao[1]        = new AnalogOutputWriter(1, 5, 10);
            ao[2]        = new AnalogOutputWriter(0, 5, 10);
            analogInputs = new AnalogInputReader(1000, 1000);

            analogInputs.addInputChannel(4, 0, 10); // vacuum pressure channel
            analogInputs.addInputChannel(3, 0, 10); //normal pressure
            analogInputs.addInputChannel(0, 0, 10); //temperature input channel1
            analogInputs.addInputChannel(1, 0, 10); //temperature input channel2
            analogInputs.addInputChannel(2, 0, 10); //temperature input channel3

            rootsPump                     = new DigitalIO(6);
            vacuumPump                    = new DigitalIO(5); //vacuumPump
            coolingFan                    = new DigitalIO(7);
            vacuumValve                   = new DigitalIO(0); //vacuum valve
            smallNitrogenValve            = new DigitalIO(2);
            largeNitrogenValve            = new DigitalIO(3);
            ventilationValve              = new DigitalIO(1); //ventilation valve
            manover                       = new DigitalIO(4);
            analogInputs.NewSamplesEvent += new AnalogInputReader.NewSamplesEventDelegate(ai_NewSamplesEvent);
            analogInputs.startSampling();

            tempChannels[0] = 2;
            tempChannels[1] = 1;
            tempChannels[2] = 0;
        }
        public IOController()
        {
            ao[0] = new AnalogOutputWriter(2, 5, 10);
            ao[1] = new AnalogOutputWriter(1, 5, 10);
            ao[2] = new AnalogOutputWriter(0, 5, 10);
            analogInputs = new AnalogInputReader(1000, 1000);

            analogInputs.addInputChannel(4, 0, 10);// vacuum pressure channel
            analogInputs.addInputChannel(3, 0, 10);//normal pressure
            analogInputs.addInputChannel(0, 0, 10);//temperature input channel1
            analogInputs.addInputChannel(1, 0, 10);//temperature input channel2
            analogInputs.addInputChannel(2, 0, 10);//temperature input channel3

            rootsPump = new DigitalIO(6);
            vacuumPump = new DigitalIO(5);//vacuumPump
            coolingFan = new DigitalIO(7);
            vacuumValve = new DigitalIO(0); //vacuum valve
            smallNitrogenValve = new DigitalIO(2);
            largeNitrogenValve = new DigitalIO(3);
            ventilationValve = new DigitalIO(1); //ventilation valve
            manover = new DigitalIO(4);
            analogInputs.NewSamplesEvent += new AnalogInputReader.NewSamplesEventDelegate(ai_NewSamplesEvent);
            analogInputs.startSampling();

            tempChannels[0] = 2;
            tempChannels[1] = 1;
            tempChannels[2] = 0;
        }