Exemple #1
0
        public dlPlotter()
        {
            InitializeComponent();

            plot = new ucPlotter(5, new float[]
            {
                //1,
                //1,
                1,
                1,
                2500,
                150,
                5
            });
            plot.Dock = DockStyle.Fill;
            Controls.Add(plot);

            Main.Data.DataReceived += Data_DataReceived;
            var tmr = new Timer {
                Enabled = true, Interval = 1000
            };

            tmr.Tick += tmr_Tick;
            tmr.Start();
        }
Exemple #2
0
        public dlPlotter()
        {
            InitializeComponent();

            plot = new ucPlotter(5, new float[]
                                        {
                                            //1,
                                            //1,
                                            1,
                                            1,
                                            2500,
                                            150,
                                            5
                                        });
            plot.Dock = DockStyle.Fill;
            Controls.Add(plot);

            Main.Data.DataReceived += Data_DataReceived;
            var tmr = new Timer {Enabled = true, Interval = 1000};
            tmr.Tick += tmr_Tick;
            tmr.Start();
        }