Beispiel #1
0
        public override void Form_Load(object sender, EventArgs e)
        {
            this.graphControl.SetScopeData(dataBlock);

             commonToolStrip = new CommonToolStrip(this, null, graphControl, null);
             float[] divs = { 1.0f, 0.5f, 0.2f, 0.1f, 0.05f, 0.02f, 0.01f, 0.005f, 0.002f, 0.001f, 0.0002f, 0.0005f, 0.00002f };
             foreach (float t in divs)
             {
            commonToolStrip.time.Items.Add(t);
             }
             commonToolStrip.time.SelectedIndex = 10;
             SetToolbar(commonToolStrip);
        }
Beispiel #2
0
        override public void Form_Load(object sender, EventArgs e)
        {
            this.graphControl.SetScopeData(dataBlock);

            commonToolStrip = new CommonToolStrip(this, null, graphControl, null);
            float[] divs = { 1.0f, 0.5f, 0.2f, 0.1f, 0.05f, 0.02f, 0.01f, 0.005f, 0.002f, 0.001f, 0.0002f, 0.0005f, 0.00002f };
            foreach (float t in divs)
            {
                commonToolStrip.time.Items.Add(t);
            }
            commonToolStrip.time.SelectedIndex = 10;
            SetToolbar(commonToolStrip);
        }
Beispiel #3
0
        override public void Form_Load(object sender, EventArgs e)
        {
            GetFirstConsumerInChain().SetDataBlock(dataBlock);
            SetToolbar(GetFilteringToolStrip());
            SetToolbar(GetFftToolStrip());

            commonToolStrip = new CommonToolStrip(this, null, graphControl, null);
            float[] divs = { 1.0f, 0.5f, 0.2f, 0.1f, 0.05f, 0.02f, 0.01f, 0.005f, 0.002f, 0.001f, 0.0002f, 0.0005f, 0.00002f };
            foreach (float t in divs)
            {
                commonToolStrip.time.Items.Add(t);
            }
            commonToolStrip.time.SelectedIndex = 10;
            SetToolbar(commonToolStrip);
        }
Beispiel #4
0
        public override void Form_Load(object sender, EventArgs e)
        {
            GetFirstConsumerInChain().SetDataBlock(dataBlock);
             SetToolbar(GetFilteringToolStrip());
             SetToolbar(GetFftToolStrip());

             commonToolStrip = new CommonToolStrip(this, null, graphControl, null);
             float[] divs = { 1.0f, 0.5f, 0.2f, 0.1f, 0.05f, 0.02f, 0.01f, 0.005f, 0.002f, 0.001f, 0.0002f, 0.0005f, 0.00002f, 0.00001f };
             foreach (float t in divs)
             {
            commonToolStrip.time.Items.Add(t);
             }
             commonToolStrip.time.SelectedIndex = 10;
             SetToolbar(commonToolStrip);
        }
Beispiel #5
0
        override public void Form_Load(object sender, EventArgs e)
        {
            m_Acq = new Acquirer();
            m_Acq.Open(oscillo, graphControl.GetConsumer());
            SetToolbar(new DigitalArduinoDueToolStrip(oscillo, graphControl));

            commonToolStrip = new CommonToolStrip(this, m_Acq, graphControl, oscillo);

            float[] divs = { 1.0f, 0.5f, 0.2f, 0.1f, 0.05f, 0.02f, 0.01f, 0.005f, 0.002f, 0.001f, 0.0002f, 0.0005f, 0.0001f, 0.00005f, 0.00002f, 0.00001f };
            foreach (float t in divs)
            {
                commonToolStrip.time.Items.Add(t);
            }
            commonToolStrip.time.SelectedIndex = 10;

            SetToolbar(commonToolStrip);

            gd.SetVerticalRange(0, 255, (float)(255.0 / 6.5), "Volts");

            graphControl.SetRenderer(gd);
        }
Beispiel #6
0
        public override void Form_Load(object sender, EventArgs e)
        {
            m_Acq = new Acquirer();
            m_Acq.Open(oscillo, graphControl.GetConsumer());
            SetToolbar(new DigitalArduinoToolStrip(oscillo, graphControl));

            commonToolStrip = new CommonToolStrip(this, m_Acq, graphControl, oscillo);

            float[] divs = { 1.0f, 0.5f, 0.2f, 0.1f, 0.05f, 0.02f, 0.01f, 0.005f, 0.002f, 0.001f, 0.0002f, 0.0005f };
            foreach (float t in divs)
            {
                commonToolStrip.time.Items.Add(t);
            }
            commonToolStrip.time.SelectedIndex = 10;

            SetToolbar(commonToolStrip);

            gd.SetVerticalRange(0, 255, (float)(255.0 / 6.5), "Volts");

            graphControl.SetRenderer(gd);
        }
Beispiel #7
0
        public override void Form_Load(object sender, EventArgs e)
        {
            m_Acq = new Acquirer();
            m_Acq.Open(oscillo, GetFirstConsumerInChain());
            gf.drawSlidingFFT = true;

            commonToolStrip = new CommonToolStrip(this, m_Acq, graphControl, oscillo);

            foreach (float t in divs)
            {
                commonToolStrip.time.Items.Add(t);
            }
            commonToolStrip.selectedIndexChanged += this.time_SelectedIndexChanged;
            commonToolStrip.time.SelectedIndex = 10;

            SetToolbar(GetFilteringToolStrip());
            SetToolbar(GetFftToolStrip());
            SetToolbar(new ParallaxToolStrip(oscillo, graphControl));
            SetToolbar(commonToolStrip);

            ga.SetVerticalRange(0, 255, 32, "Volts");
        }
        public override void Form_Load(object sender, EventArgs e)
        {
            m_Acq = new Acquirer();
            m_Acq.Open(oscilloDue, GetFirstConsumerInChain());
            gf.drawSlidingFFT = true;

            commonToolStrip = new CommonToolStrip(this, m_Acq, graphControl, oscilloDue);
            float[] divs = { 1.0f, 0.5f, 0.2f, 0.1f, 0.05f, 0.02f, 0.01f, 0.005f, 0.002f, 0.001f, 0.0002f, 0.0005f, 0.0001f, 0.00005f, 0.00002f, 0.00001f };
            foreach (float t in divs)
            {
                commonToolStrip.time.Items.Add(t);
            }
            commonToolStrip.time.SelectedIndex = 10;

            AnalogArduinoDueToolbar aat = new AnalogArduinoDueToolbar(oscilloDue, graphControl);
            SetToolbar(GetFilteringToolStrip());
            SetToolbar(GetFftToolStrip());
            SetToolbar(aat);
            SetToolbar(commonToolStrip);

            ga.SetVerticalRange(255, 0, 32, "Volts");
        }
Beispiel #9
0
        override public void Form_Load(object sender, EventArgs e)
        {
            m_Acq = new Acquirer();
            m_Acq.Open(oscillo, GetFirstConsumerInChain());
            gf.drawSlidingFFT = true;

            commonToolStrip = new CommonToolStrip(this, m_Acq, graphControl, oscillo);

            foreach (float t in divs)
            {
                commonToolStrip.time.Items.Add(t);
            }
            commonToolStrip.selectedIndexChanged += this.time_SelectedIndexChanged;
            commonToolStrip.time.SelectedIndex    = 10;

            SetToolbar(GetFilteringToolStrip());
            SetToolbar(GetFftToolStrip());
            SetToolbar(new ParallaxToolStrip(oscillo, graphControl));
            SetToolbar(commonToolStrip);

            ga.SetVerticalRange(0, 255, 32, "Volts");
        }
Beispiel #10
0
        override public void Form_Load(object sender, EventArgs e)
        {
            m_Acq = new Acquirer();
            m_Acq.Open(oscilloDue, GetFirstConsumerInChain());
            gf.drawSlidingFFT = true;

            commonToolStrip = new CommonToolStrip(this, m_Acq, graphControl, oscilloDue);
            float[] divs = { 1.0f, 0.5f, 0.2f, 0.1f, 0.05f, 0.02f, 0.01f, 0.005f, 0.002f, 0.001f, 0.0002f, 0.0005f, 0.0001f, 0.00005f, 0.00002f, 0.00001f };
            foreach (float t in divs)
            {
                commonToolStrip.time.Items.Add(t);
            }
            commonToolStrip.time.SelectedIndex = 10;

            AnalogArduinoDueToolbar aat = new AnalogArduinoDueToolbar(oscilloDue, graphControl);

            SetToolbar(GetFilteringToolStrip());
            SetToolbar(GetFftToolStrip());
            SetToolbar(aat);
            SetToolbar(commonToolStrip);

            ga.SetVerticalRange(255, 0, 32, "Volts");
        }
Beispiel #11
0
 public CommonToolStrip(CommonToolStrip ct)
     : this(ct.vizForm, null, ct.graphControl, ct.m_Oscillo)
 {
 }
 public CommonToolStrip(CommonToolStrip ct)
     : this(ct.vizForm, null, ct.graphControl, ct.m_Oscillo)
 {
 }