Beispiel #1
0
 public AqSettings(AquaSift aqs)
 {
     aq                 = aqs;
     firmware           = "XX.XX";
     productID          = "NULL";
     electrodes         = 0;
     dataRate           = 0;
     tiaGain            = 0;
     enableDeposition   = false;
     depositionTime     = 0;
     depositionVoltage  = 0;
     quietTime          = 0;
     recordDepSequence  = false;
     linearStartVoltage = 0;
     linearEndVoltage   = 0;
     linearSweepRate    = 0;
     linearCyclic       = false;
     linearNumCycles    = 0;
     difStartVoltage    = 0;
     difEndVoltage      = 0;
     difIncVoltage      = 0;
     difPulseVoltage    = 0;
     difPrepulseTime    = 0;
     difPulseTime       = 0;
     difSampWinWidth    = 0;
     arbWaveforms       = 0;
     lowpassFilter      = 0;
 }
Beispiel #2
0
 public AqTimer(AquaSift aqsft)
 {
     aq            = aqsft;
     aqTimer       = new Timer();
     aqTimer.Tick += new EventHandler(OnTimedEvent);
     tStatus       = timerStatus.TSTATUS_IDLE;
     tType         = timerTypes.TIMER_NONE;
 }
Beispiel #3
0
        /**************************************GUI Component Functions**************************************/

        public SweepTest(AquaSift aqs)
        {
            aq = aqs;
            InitializeComponent();
            sweepTimer = new AqTimer(aq);

            incommingData = new List <byte>();
            wordData      = new List <UInt16>();
            sweepData     = new List <SweepClass>();

            ds = new DataSet();

            thisIVCounts = new List <int>();

            //Non-GUI timer for updating linear sweep data.
            updateTimer          = new System.Timers.Timer(200);
            updateTimer.Elapsed += new ElapsedEventHandler(update_timer_Elapsed);
            updateTimer.Enabled  = false;
        }
Beispiel #4
0
        /**************************************GUI Component Functions**************************************/

        public DifTest(AquaSift aqs)
        {
            aq = aqs;
            InitializeComponent();
            difTimer = new AqTimer(aq);

            incommingData = new List <byte>();
            wordData      = new List <UInt16>();

            preData   = new List <PulseClass>();
            pulseData = new List <PulseClass>();

            ds = new DataSet();

            //Non-GUI timer for updating differential pulse data.
            updateTimer          = new System.Timers.Timer(200);
            updateTimer.Elapsed += new ElapsedEventHandler(update_timer_Elapsed);
            updateTimer.Enabled  = false;
        }
Beispiel #5
0
        /********************************************Constructor********************************************/

        public AqPlotter(AquaSift aqs)
        {
            aq = aqs;
            InitializeComponent();

            //Set the minumum size for everything.
            this.MinimumSize          = new Size(500, 500);
            tbcPlotTabs.MinimumSize   = new Size(500, 500);
            tabDeposition.MinimumSize = new Size(495, 436);
            tabQuietTime.MinimumSize  = new Size(495, 436);
            tabRawData.MinimumSize    = new Size(495, 436);
            tabIVCurve.MinimumSize    = new Size(495, 436);
            chtDeposition.MinimumSize = new Size(495, 436);
            chtQuietTime.MinimumSize  = new Size(495, 436);
            chtRawData.MinimumSize    = new Size(495, 436);
            chtIVCurve.MinimumSize    = new Size(495, 436);

            this.chtDeposition.MouseWheel += cht_MouseWheel;
            this.chtQuietTime.MouseWheel  += cht_MouseWheel;
            this.chtRawData.MouseWheel    += cht_MouseWheel;
            this.chtIVCurve.MouseWheel    += cht_MouseWheel;
        }
Beispiel #6
0
        public AqTimer aqTim;   //Pointer to AquaSift timer class.

        public Connect(AquaSift aqsft)
        {
            InitializeComponent();
            aq = aqsft;
        }
Beispiel #7
0
        /**************************************GUI Component Functions**************************************/

        public AqConsole(AquaSift aqs)
        {
            aq = aqs;//Get pointer to main form.
            InitializeComponent();
        }
 public WavefomrHelper(AquaSift aqs)
 {
     aq = aqs;
     InitializeComponent();
 }