public PSUInstrument(AbstractPSUDriver drv) : base()
        {
            psuDriver = drv;

            settings = new PSUSettings();

            dataSet.buffsize(maxBufsize);
            //dataSet.BufferFull += dataSet_BufferFull;
        }
Exemple #2
0
        public void initializeInstrument(AbstractPSUDriver drv, string title)
        {
            psuInstrument = new PSUInstrument(drv);
            lblTItle.Text = title;

            psuInstrument.InstrumentFinished    += new EventHandler(psuFinished);
            psuInstrument.InstrumentInitialized += new EventHandler(psuInitialized);
            psuInstrument.InstrumentErrorUpdate += new EventHandler <InstrumentMessageEventArgs>(psuErrorUpdate);
            psuInstrument.SaveData += psu_SaveData;
        }