Esempio n. 1
0
        private static void UpdatePlot()
        {
            int xAxisCount = s1.Points.Count;
            int yAxisCount = s2.Points.Count;
            int zAxisCount = s3.Points.Count;

            _evalBoard.GetXYZFIFO();

            s1.Points.Add(new DataPoint(xAxisCount, _evalBoard.DataX_S32));
            s2.Points.Add(new DataPoint(yAxisCount, _evalBoard.DataY_S32));
            s3.Points.Add(new DataPoint(zAxisCount, _evalBoard.DataZ_S32));

            AccelPlotModel = plot;
            AccelPlotModel.InvalidatePlot(true);
        }
Esempio n. 2
0
 private void ClearBtnClick(object sender, RoutedEventArgs e)
 {
     ClearPlot();
     AccelPlotModel.InvalidatePlot(true);
     FFTPlotModel.InvalidatePlot(true);
 }