Ejemplo n.º 1
0
        private double GetCursorPosition(Graph graph, XYCursor cursor)
        {
            double x = (double)graph.Invoke(new GetCursorPositionDelegate(GetCursorPositionHelper),
                                            new Object[] { cursor });

            return(x);
        }
Ejemplo n.º 2
0
 private void MoveCursor(Graph graph, XYCursor cursor, double x)
 {
     graph.Invoke(new MoveCursorDelegate(MoveCursorHelper), new Object[] { cursor, x });
 }
Ejemplo n.º 3
0
 private double GetCursorPositionHelper(XYCursor cursor)
 {
     return(cursor.XPosition);
 }
Ejemplo n.º 4
0
 private void MoveCursorHelper(XYCursor cursor, double x)
 {
     cursor.XPosition = x;
 }
Ejemplo n.º 5
0
 private void MoveCursorHelper(XYCursor cursor, double x)
 {
     cursor.XPosition = x;
 }
Ejemplo n.º 6
0
 private void MoveCursor(Graph graph, XYCursor cursor, double x)
 {
     graph.Invoke(new MoveCursorDelegate(MoveCursorHelper), new Object[] { cursor, x });
 }
Ejemplo n.º 7
0
 private double GetCursorPositionHelper(XYCursor cursor)
 {
     return cursor.XPosition;
 }
Ejemplo n.º 8
0
 private double GetCursorPosition(Graph graph, XYCursor cursor)
 {
     double x = (double)graph.Invoke(new GetCursorPositionDelegate(GetCursorPositionHelper),
         new Object[] { cursor });
     return x;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StandardViewerWindow));
     this.analog1Graph = new NationalInstruments.UI.WindowsForms.ScatterGraph();
     this.analog1Plot = new NationalInstruments.UI.ScatterPlot();
     this.xAxis1 = new NationalInstruments.UI.XAxis();
     this.yAxis1 = new NationalInstruments.UI.YAxis();
     this.analog2Graph = new NationalInstruments.UI.WindowsForms.ScatterGraph();
     this.analog2Plot = new NationalInstruments.UI.ScatterPlot();
     this.xAxis2 = new NationalInstruments.UI.XAxis();
     this.yAxis2 = new NationalInstruments.UI.YAxis();
     this.pmtGraph = new NationalInstruments.UI.WindowsForms.ScatterGraph();
     this.pmtLowCursor = new NationalInstruments.UI.XYCursor();
     this.pmtOnAvgPlot = new NationalInstruments.UI.ScatterPlot();
     this.xAxis3 = new NationalInstruments.UI.XAxis();
     this.pmtYAxis = new NationalInstruments.UI.YAxis();
     this.pmtHighCursor = new NationalInstruments.UI.XYCursor();
     this.pmtOnPlot = new NationalInstruments.UI.ScatterPlot();
     this.pmtOffPlot = new NationalInstruments.UI.ScatterPlot();
     this.pmtOffAvgPlot = new NationalInstruments.UI.ScatterPlot();
     this.pmtFitPlot = new NationalInstruments.UI.ScatterPlot();
     this.pmtXAxis = new NationalInstruments.UI.XAxis();
     this.xAxis5 = new NationalInstruments.UI.XAxis();
     this.differenceYAxis = new NationalInstruments.UI.YAxis();
     this.differenceGraph = new NationalInstruments.UI.WindowsForms.ScatterGraph();
     this.differencePlot = new NationalInstruments.UI.ScatterPlot();
     this.differenceAvgPlot = new NationalInstruments.UI.ScatterPlot();
     this.tofGraph = new NationalInstruments.UI.WindowsForms.WaveformGraph();
     this.tofLowCursor = new NationalInstruments.UI.XYCursor();
     this.tofOnAveragePlot = new NationalInstruments.UI.WaveformPlot();
     this.xAxis4 = new NationalInstruments.UI.XAxis();
     this.tofAvgYAxis = new NationalInstruments.UI.YAxis();
     this.tofHighCursor = new NationalInstruments.UI.XYCursor();
     this.tofOnPlot = new NationalInstruments.UI.WaveformPlot();
     this.tofYAxis = new NationalInstruments.UI.YAxis();
     this.tofOffPlot = new NationalInstruments.UI.WaveformPlot();
     this.tofOffAveragePlot = new NationalInstruments.UI.WaveformPlot();
     this.tofFitPlot = new NationalInstruments.UI.WaveformPlot();
     this.tofFitModeCombo = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.tofFitFunctionCombo = new System.Windows.Forms.ComboBox();
     this.spectrumFitFunctionCombo = new System.Windows.Forms.ComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.spectrumFitModeCombo = new System.Windows.Forms.ComboBox();
     this.tofFitResultsLabel = new System.Windows.Forms.Label();
     this.spectrumFitResultsLabel = new System.Windows.Forms.Label();
     this.updateTOFFitButton = new System.Windows.Forms.Button();
     this.updateSpectrumFitButton = new System.Windows.Forms.Button();
     this.tofFitDataSelectCombo = new System.Windows.Forms.ComboBox();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.statusBar2 = new System.Windows.Forms.StatusBar();
     this.defaultGateButton = new System.Windows.Forms.Button();
     this.statusBar1 = new System.Windows.Forms.StatusBar();
     this.label3 = new System.Windows.Forms.Label();
     this.updateNoiseResultsbutton = new System.Windows.Forms.Button();
     this.noiseResultsLabel = new System.Windows.Forms.Label();
     this.tofGraph2 = new NationalInstruments.UI.WindowsForms.WaveformGraph();
     this.normSigGateLow = new NationalInstruments.UI.XYCursor();
     this.tofOnAveragePlot2 = new NationalInstruments.UI.WaveformPlot();
     this.xAxis6 = new NationalInstruments.UI.XAxis();
     this.yAxis3 = new NationalInstruments.UI.YAxis();
     this.normSigGateHigh = new NationalInstruments.UI.XYCursor();
     this.tofOnPlot2 = new NationalInstruments.UI.WaveformPlot();
     this.yAxis4 = new NationalInstruments.UI.YAxis();
     this.tofOffPlot2 = new NationalInstruments.UI.WaveformPlot();
     this.tofOffAveragePlot2 = new NationalInstruments.UI.WaveformPlot();
     this.tofFitPlot2 = new NationalInstruments.UI.WaveformPlot();
     this.tofGraphNormed = new NationalInstruments.UI.WindowsForms.WaveformGraph();
     this.xyCursor3 = new NationalInstruments.UI.XYCursor();
     this.tofOnAverageNormedPlot = new NationalInstruments.UI.WaveformPlot();
     this.xAxis7 = new NationalInstruments.UI.XAxis();
     this.yAxis5 = new NationalInstruments.UI.YAxis();
     this.xyCursor4 = new NationalInstruments.UI.XYCursor();
     this.tofOnNormedPlot = new NationalInstruments.UI.WaveformPlot();
     this.yAxis6 = new NationalInstruments.UI.YAxis();
     this.tofOffNormedPlot = new NationalInstruments.UI.WaveformPlot();
     this.tofOffAverageNormedPlot = new NationalInstruments.UI.WaveformPlot();
     this.tofFitNormedPlot = new NationalInstruments.UI.WaveformPlot();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.toolStripPropertyEditor1 = new NationalInstruments.UI.WindowsForms.ToolStripPropertyEditor();
     this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
     this.toolStripPropertyEditor2 = new NationalInstruments.UI.WindowsForms.ToolStripPropertyEditor();
     this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
     this.toolStripPropertyEditor3 = new NationalInstruments.UI.WindowsForms.ToolStripPropertyEditor();
     this.normBgGateLow = new NationalInstruments.UI.XYCursor();
     this.normBgGateHigh = new NationalInstruments.UI.XYCursor();
     ((System.ComponentModel.ISupportInitialize)(this.analog1Graph)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.analog2Graph)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtGraph)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtLowCursor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtHighCursor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.differenceGraph)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofGraph)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofLowCursor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofHighCursor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tofGraph2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.normSigGateLow)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.normSigGateHigh)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofGraphNormed)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xyCursor3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xyCursor4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.normBgGateLow)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.normBgGateHigh)).BeginInit();
     this.SuspendLayout();
     //
     // analog1Graph
     //
     this.analog1Graph.Location = new System.Drawing.Point(376, 8);
     this.analog1Graph.Name = "analog1Graph";
     this.analog1Graph.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
     this.analog1Plot});
     this.analog1Graph.Size = new System.Drawing.Size(584, 126);
     this.analog1Graph.TabIndex = 0;
     this.analog1Graph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis1});
     this.analog1Graph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.yAxis1});
     //
     // analog1Plot
     //
     this.analog1Plot.AntiAliased = true;
     this.analog1Plot.LineColor = System.Drawing.Color.Red;
     this.analog1Plot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.analog1Plot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.analog1Plot.PointColor = System.Drawing.Color.Red;
     this.analog1Plot.PointStyle = NationalInstruments.UI.PointStyle.SolidDiamond;
     this.analog1Plot.XAxis = this.xAxis1;
     this.analog1Plot.YAxis = this.yAxis1;
     //
     // xAxis1
     //
     this.xAxis1.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // analog2Graph
     //
     this.analog2Graph.Location = new System.Drawing.Point(376, 138);
     this.analog2Graph.Name = "analog2Graph";
     this.analog2Graph.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
     this.analog2Plot});
     this.analog2Graph.Size = new System.Drawing.Size(584, 125);
     this.analog2Graph.TabIndex = 1;
     this.analog2Graph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis2});
     this.analog2Graph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.yAxis2});
     //
     // analog2Plot
     //
     this.analog2Plot.AntiAliased = true;
     this.analog2Plot.LineColor = System.Drawing.Color.Blue;
     this.analog2Plot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.analog2Plot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.analog2Plot.PointColor = System.Drawing.Color.Blue;
     this.analog2Plot.PointStyle = NationalInstruments.UI.PointStyle.SolidDiamond;
     this.analog2Plot.XAxis = this.xAxis2;
     this.analog2Plot.YAxis = this.yAxis2;
     //
     // xAxis2
     //
     this.xAxis2.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // pmtGraph
     //
     this.pmtGraph.Cursors.AddRange(new NationalInstruments.UI.XYCursor[] {
     this.pmtLowCursor,
     this.pmtHighCursor});
     this.pmtGraph.InteractionMode = ((NationalInstruments.UI.GraphInteractionModes)((((((((NationalInstruments.UI.GraphInteractionModes.ZoomX | NationalInstruments.UI.GraphInteractionModes.ZoomY)
     | NationalInstruments.UI.GraphInteractionModes.ZoomAroundPoint)
     | NationalInstruments.UI.GraphInteractionModes.PanX)
     | NationalInstruments.UI.GraphInteractionModes.PanY)
     | NationalInstruments.UI.GraphInteractionModes.DragCursor)
     | NationalInstruments.UI.GraphInteractionModes.DragAnnotationCaption)
     | NationalInstruments.UI.GraphInteractionModes.EditRange)));
     this.pmtGraph.Location = new System.Drawing.Point(375, 269);
     this.pmtGraph.Name = "pmtGraph";
     this.pmtGraph.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
     this.pmtOnPlot,
     this.pmtOffPlot,
     this.pmtOnAvgPlot,
     this.pmtOffAvgPlot,
     this.pmtFitPlot});
     this.pmtGraph.Size = new System.Drawing.Size(586, 255);
     this.pmtGraph.TabIndex = 9;
     this.pmtGraph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis3});
     this.pmtGraph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.pmtYAxis});
     //
     // pmtLowCursor
     //
     this.pmtLowCursor.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.pmtLowCursor.LabelVisible = true;
     this.pmtLowCursor.Plot = this.pmtOnAvgPlot;
     this.pmtLowCursor.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     this.pmtLowCursor.AfterMove += new NationalInstruments.UI.AfterMoveXYCursorEventHandler(this.PMTCursorMoved);
     //
     // pmtOnAvgPlot
     //
     this.pmtOnAvgPlot.LineColor = System.Drawing.Color.Red;
     this.pmtOnAvgPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.pmtOnAvgPlot.XAxis = this.xAxis3;
     this.pmtOnAvgPlot.YAxis = this.pmtYAxis;
     //
     // xAxis3
     //
     this.xAxis3.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // pmtHighCursor
     //
     this.pmtHighCursor.Color = System.Drawing.Color.Lime;
     this.pmtHighCursor.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.pmtHighCursor.LabelVisible = true;
     this.pmtHighCursor.Plot = this.pmtOnAvgPlot;
     this.pmtHighCursor.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     this.pmtHighCursor.AfterMove += new NationalInstruments.UI.AfterMoveXYCursorEventHandler(this.PMTCursorMoved);
     //
     // pmtOnPlot
     //
     this.pmtOnPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.pmtOnPlot.PointStyle = NationalInstruments.UI.PointStyle.Cross;
     this.pmtOnPlot.XAxis = this.xAxis3;
     this.pmtOnPlot.YAxis = this.pmtYAxis;
     //
     // pmtOffPlot
     //
     this.pmtOffPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.pmtOffPlot.PointColor = System.Drawing.Color.Magenta;
     this.pmtOffPlot.PointStyle = NationalInstruments.UI.PointStyle.Cross;
     this.pmtOffPlot.XAxis = this.xAxis3;
     this.pmtOffPlot.YAxis = this.pmtYAxis;
     //
     // pmtOffAvgPlot
     //
     this.pmtOffAvgPlot.LineColor = System.Drawing.Color.PowderBlue;
     this.pmtOffAvgPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.pmtOffAvgPlot.XAxis = this.xAxis3;
     this.pmtOffAvgPlot.YAxis = this.pmtYAxis;
     //
     // pmtFitPlot
     //
     this.pmtFitPlot.LineColor = System.Drawing.Color.Silver;
     this.pmtFitPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.pmtFitPlot.LineStyle = NationalInstruments.UI.LineStyle.DashDot;
     this.pmtFitPlot.LineWidth = 2F;
     this.pmtFitPlot.XAxis = this.xAxis3;
     this.pmtFitPlot.YAxis = this.pmtYAxis;
     //
     // pmtXAxis
     //
     this.pmtXAxis.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // xAxis5
     //
     this.xAxis5.CaptionBackColor = System.Drawing.SystemColors.ControlLight;
     this.xAxis5.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // differenceYAxis
     //
     this.differenceYAxis.CaptionBackColor = System.Drawing.SystemColors.ControlLight;
     //
     // differenceGraph
     //
     this.differenceGraph.Location = new System.Drawing.Point(375, 530);
     this.differenceGraph.Name = "differenceGraph";
     this.differenceGraph.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
     this.differencePlot,
     this.differenceAvgPlot});
     this.differenceGraph.Size = new System.Drawing.Size(585, 255);
     this.differenceGraph.TabIndex = 15;
     this.differenceGraph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis5});
     this.differenceGraph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.differenceYAxis});
     //
     // differencePlot
     //
     this.differencePlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.differencePlot.PointColor = System.Drawing.Color.Lime;
     this.differencePlot.PointStyle = NationalInstruments.UI.PointStyle.Cross;
     this.differencePlot.XAxis = this.xAxis5;
     this.differencePlot.YAxis = this.differenceYAxis;
     //
     // differenceAvgPlot
     //
     this.differenceAvgPlot.LineColor = System.Drawing.Color.Red;
     this.differenceAvgPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.differenceAvgPlot.XAxis = this.xAxis5;
     this.differenceAvgPlot.YAxis = this.differenceYAxis;
     //
     // tofGraph
     //
     this.tofGraph.Cursors.AddRange(new NationalInstruments.UI.XYCursor[] {
     this.tofLowCursor,
     this.tofHighCursor});
     this.tofGraph.InteractionMode = ((NationalInstruments.UI.GraphInteractionModes)((((((((NationalInstruments.UI.GraphInteractionModes.ZoomX | NationalInstruments.UI.GraphInteractionModes.ZoomY)
     | NationalInstruments.UI.GraphInteractionModes.ZoomAroundPoint)
     | NationalInstruments.UI.GraphInteractionModes.PanX)
     | NationalInstruments.UI.GraphInteractionModes.PanY)
     | NationalInstruments.UI.GraphInteractionModes.DragCursor)
     | NationalInstruments.UI.GraphInteractionModes.DragAnnotationCaption)
     | NationalInstruments.UI.GraphInteractionModes.EditRange)));
     this.tofGraph.Location = new System.Drawing.Point(8, 8);
     this.tofGraph.Name = "tofGraph";
     this.tofGraph.Plots.AddRange(new NationalInstruments.UI.WaveformPlot[] {
     this.tofOnPlot,
     this.tofOffPlot,
     this.tofOnAveragePlot,
     this.tofOffAveragePlot,
     this.tofFitPlot});
     this.tofGraph.Size = new System.Drawing.Size(362, 255);
     this.tofGraph.TabIndex = 16;
     this.tofGraph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis4});
     this.tofGraph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.tofYAxis,
     this.tofAvgYAxis});
     this.tofGraph.PlotDataChanged += new NationalInstruments.UI.XYPlotDataChangedEventHandler(this.tofGraph_PlotDataChanged);
     //
     // tofLowCursor
     //
     this.tofLowCursor.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.tofLowCursor.LabelVisible = true;
     this.tofLowCursor.LabelXFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.tofLowCursor.LabelYFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.tofLowCursor.Plot = this.tofOnAveragePlot;
     this.tofLowCursor.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     this.tofLowCursor.AfterMove += new NationalInstruments.UI.AfterMoveXYCursorEventHandler(this.TOFCursorMoved);
     //
     // tofOnAveragePlot
     //
     this.tofOnAveragePlot.LineColor = System.Drawing.Color.Red;
     this.tofOnAveragePlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOnAveragePlot.XAxis = this.xAxis4;
     this.tofOnAveragePlot.YAxis = this.tofAvgYAxis;
     //
     // xAxis4
     //
     this.xAxis4.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // tofAvgYAxis
     //
     this.tofAvgYAxis.Position = NationalInstruments.UI.YAxisPosition.Right;
     //
     // tofHighCursor
     //
     this.tofHighCursor.Color = System.Drawing.Color.Lime;
     this.tofHighCursor.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.tofHighCursor.LabelVisible = true;
     this.tofHighCursor.LabelXFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.tofHighCursor.LabelYFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.tofHighCursor.Plot = this.tofOnAveragePlot;
     this.tofHighCursor.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     this.tofHighCursor.AfterMove += new NationalInstruments.UI.AfterMoveXYCursorEventHandler(this.TOFCursorMoved);
     //
     // tofOnPlot
     //
     this.tofOnPlot.LineColor = System.Drawing.Color.Blue;
     this.tofOnPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOnPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.tofOnPlot.PointStyle = NationalInstruments.UI.PointStyle.Plus;
     this.tofOnPlot.XAxis = this.xAxis4;
     this.tofOnPlot.YAxis = this.tofYAxis;
     //
     // tofOffPlot
     //
     this.tofOffPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.tofOffPlot.PointColor = System.Drawing.Color.LawnGreen;
     this.tofOffPlot.PointStyle = NationalInstruments.UI.PointStyle.Plus;
     this.tofOffPlot.XAxis = this.xAxis4;
     this.tofOffPlot.YAxis = this.tofYAxis;
     //
     // tofOffAveragePlot
     //
     this.tofOffAveragePlot.LineColor = System.Drawing.Color.PowderBlue;
     this.tofOffAveragePlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOffAveragePlot.XAxis = this.xAxis4;
     this.tofOffAveragePlot.YAxis = this.tofAvgYAxis;
     //
     // tofFitPlot
     //
     this.tofFitPlot.LineColor = System.Drawing.Color.Silver;
     this.tofFitPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofFitPlot.LineStyle = NationalInstruments.UI.LineStyle.DashDot;
     this.tofFitPlot.LineWidth = 2F;
     this.tofFitPlot.XAxis = this.xAxis4;
     this.tofFitPlot.YAxis = this.tofAvgYAxis;
     //
     // tofFitModeCombo
     //
     this.tofFitModeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.tofFitModeCombo.Items.AddRange(new object[] {
     "off",
     "average"});
     this.tofFitModeCombo.Location = new System.Drawing.Point(64, 810);
     this.tofFitModeCombo.Name = "tofFitModeCombo";
     this.tofFitModeCombo.Size = new System.Drawing.Size(72, 21);
     this.tofFitModeCombo.TabIndex = 17;
     this.tofFitModeCombo.SelectedIndexChanged += new System.EventHandler(this.tofFitModeCombo_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(6, 789);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(48, 23);
     this.label1.TabIndex = 18;
     this.label1.Text = "Fit TOF:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tofFitFunctionCombo
     //
     this.tofFitFunctionCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.tofFitFunctionCombo.Location = new System.Drawing.Point(142, 810);
     this.tofFitFunctionCombo.Name = "tofFitFunctionCombo";
     this.tofFitFunctionCombo.Size = new System.Drawing.Size(88, 21);
     this.tofFitFunctionCombo.TabIndex = 19;
     this.tofFitFunctionCombo.SelectedIndexChanged += new System.EventHandler(this.tofFitFunctionCombo_SelectedIndexChanged);
     //
     // spectrumFitFunctionCombo
     //
     this.spectrumFitFunctionCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.spectrumFitFunctionCombo.Location = new System.Drawing.Point(632, 810);
     this.spectrumFitFunctionCombo.Name = "spectrumFitFunctionCombo";
     this.spectrumFitFunctionCombo.Size = new System.Drawing.Size(88, 21);
     this.spectrumFitFunctionCombo.TabIndex = 22;
     this.spectrumFitFunctionCombo.SelectedIndexChanged += new System.EventHandler(this.spectrumFitFunctionCombo_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(551, 792);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(72, 15);
     this.label2.TabIndex = 21;
     this.label2.Text = "Fit spectrum:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // spectrumFitModeCombo
     //
     this.spectrumFitModeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.spectrumFitModeCombo.Items.AddRange(new object[] {
     "off",
     "average",
     "shot"});
     this.spectrumFitModeCombo.Location = new System.Drawing.Point(554, 810);
     this.spectrumFitModeCombo.Name = "spectrumFitModeCombo";
     this.spectrumFitModeCombo.Size = new System.Drawing.Size(72, 21);
     this.spectrumFitModeCombo.TabIndex = 20;
     this.spectrumFitModeCombo.SelectedIndexChanged += new System.EventHandler(this.spectrumFitModeCombo_SelectedIndexChanged);
     //
     // tofFitResultsLabel
     //
     this.tofFitResultsLabel.ForeColor = System.Drawing.Color.Blue;
     this.tofFitResultsLabel.Location = new System.Drawing.Point(260, 807);
     this.tofFitResultsLabel.Name = "tofFitResultsLabel";
     this.tofFitResultsLabel.Size = new System.Drawing.Size(100, 24);
     this.tofFitResultsLabel.TabIndex = 23;
     this.tofFitResultsLabel.Text = "...";
     this.tofFitResultsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // spectrumFitResultsLabel
     //
     this.spectrumFitResultsLabel.ForeColor = System.Drawing.Color.Blue;
     this.spectrumFitResultsLabel.Location = new System.Drawing.Point(748, 807);
     this.spectrumFitResultsLabel.Name = "spectrumFitResultsLabel";
     this.spectrumFitResultsLabel.Size = new System.Drawing.Size(210, 24);
     this.spectrumFitResultsLabel.TabIndex = 24;
     this.spectrumFitResultsLabel.Text = "...";
     this.spectrumFitResultsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // updateTOFFitButton
     //
     this.updateTOFFitButton.Location = new System.Drawing.Point(236, 808);
     this.updateTOFFitButton.Name = "updateTOFFitButton";
     this.updateTOFFitButton.Size = new System.Drawing.Size(18, 23);
     this.updateTOFFitButton.TabIndex = 25;
     this.updateTOFFitButton.Text = ">";
     this.updateTOFFitButton.UseVisualStyleBackColor = true;
     this.updateTOFFitButton.Click += new System.EventHandler(this.updateTOFFitButton_Click);
     //
     // updateSpectrumFitButton
     //
     this.updateSpectrumFitButton.Location = new System.Drawing.Point(724, 810);
     this.updateSpectrumFitButton.Name = "updateSpectrumFitButton";
     this.updateSpectrumFitButton.Size = new System.Drawing.Size(18, 23);
     this.updateSpectrumFitButton.TabIndex = 26;
     this.updateSpectrumFitButton.Text = ">";
     this.updateSpectrumFitButton.UseVisualStyleBackColor = true;
     this.updateSpectrumFitButton.Click += new System.EventHandler(this.updateSpectrumFitButton_Click);
     //
     // tofFitDataSelectCombo
     //
     this.tofFitDataSelectCombo.FormattingEnabled = true;
     this.tofFitDataSelectCombo.Items.AddRange(new object[] {
     "On",
     "Off"});
     this.tofFitDataSelectCombo.Location = new System.Drawing.Point(8, 810);
     this.tofFitDataSelectCombo.Name = "tofFitDataSelectCombo";
     this.tofFitDataSelectCombo.Size = new System.Drawing.Size(50, 21);
     this.tofFitDataSelectCombo.TabIndex = 27;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.splitContainer1.Location = new System.Drawing.Point(0, 839);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.statusBar1);
     this.splitContainer1.Size = new System.Drawing.Size(970, 23);
     this.splitContainer1.SplitterDistance = 371;
     this.splitContainer1.TabIndex = 30;
     //
     // splitContainer2
     //
     this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name = "splitContainer2";
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.statusBar2);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.defaultGateButton);
     this.splitContainer2.Size = new System.Drawing.Size(371, 23);
     this.splitContainer2.SplitterDistance = 236;
     this.splitContainer2.TabIndex = 0;
     //
     // statusBar2
     //
     this.statusBar2.Location = new System.Drawing.Point(0, 0);
     this.statusBar2.Name = "statusBar2";
     this.statusBar2.Size = new System.Drawing.Size(236, 23);
     this.statusBar2.SizingGrip = false;
     this.statusBar2.TabIndex = 32;
     this.statusBar2.Text = "Ready";
     //
     // defaultGateButton
     //
     this.defaultGateButton.Location = new System.Drawing.Point(3, 0);
     this.defaultGateButton.Name = "defaultGateButton";
     this.defaultGateButton.Size = new System.Drawing.Size(120, 23);
     this.defaultGateButton.TabIndex = 26;
     this.defaultGateButton.Text = "Default Gate";
     this.defaultGateButton.UseVisualStyleBackColor = true;
     this.defaultGateButton.Click += new System.EventHandler(this.defaultGateButton_Click);
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 0);
     this.statusBar1.Name = "statusBar1";
     this.statusBar1.Size = new System.Drawing.Size(595, 23);
     this.statusBar1.SizingGrip = false;
     this.statusBar1.TabIndex = 14;
     this.statusBar1.Text = "Ready";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(378, 792);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(117, 12);
     this.label3.TabIndex = 31;
     this.label3.Text = "Factor over shot noise:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // updateNoiseResultsbutton
     //
     this.updateNoiseResultsbutton.Location = new System.Drawing.Point(381, 807);
     this.updateNoiseResultsbutton.Name = "updateNoiseResultsbutton";
     this.updateNoiseResultsbutton.Size = new System.Drawing.Size(18, 23);
     this.updateNoiseResultsbutton.TabIndex = 32;
     this.updateNoiseResultsbutton.Text = ">";
     this.updateNoiseResultsbutton.UseVisualStyleBackColor = true;
     this.updateNoiseResultsbutton.Click += new System.EventHandler(this.updateNoiseResultsbutton_Click);
     //
     // noiseResultsLabel
     //
     this.noiseResultsLabel.ForeColor = System.Drawing.Color.Blue;
     this.noiseResultsLabel.Location = new System.Drawing.Point(405, 808);
     this.noiseResultsLabel.Name = "noiseResultsLabel";
     this.noiseResultsLabel.Size = new System.Drawing.Size(143, 24);
     this.noiseResultsLabel.TabIndex = 33;
     this.noiseResultsLabel.Text = "...";
     this.noiseResultsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tofGraph2
     //
     this.tofGraph2.Cursors.AddRange(new NationalInstruments.UI.XYCursor[] {
     this.normSigGateLow,
     this.normSigGateHigh,
     this.normBgGateLow,
     this.normBgGateHigh});
     this.tofGraph2.InteractionMode = ((NationalInstruments.UI.GraphInteractionModes)((((((((NationalInstruments.UI.GraphInteractionModes.ZoomX | NationalInstruments.UI.GraphInteractionModes.ZoomY)
     | NationalInstruments.UI.GraphInteractionModes.ZoomAroundPoint)
     | NationalInstruments.UI.GraphInteractionModes.PanX)
     | NationalInstruments.UI.GraphInteractionModes.PanY)
     | NationalInstruments.UI.GraphInteractionModes.DragCursor)
     | NationalInstruments.UI.GraphInteractionModes.DragAnnotationCaption)
     | NationalInstruments.UI.GraphInteractionModes.EditRange)));
     this.tofGraph2.Location = new System.Drawing.Point(8, 269);
     this.tofGraph2.Name = "tofGraph2";
     this.tofGraph2.Plots.AddRange(new NationalInstruments.UI.WaveformPlot[] {
     this.tofOnPlot2,
     this.tofOffPlot2,
     this.tofOnAveragePlot2,
     this.tofOffAveragePlot2,
     this.tofFitPlot2});
     this.tofGraph2.Size = new System.Drawing.Size(361, 255);
     this.tofGraph2.TabIndex = 34;
     this.tofGraph2.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis6});
     this.tofGraph2.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.yAxis4,
     this.yAxis3});
     //
     // normSigGateLow
     //
     this.normSigGateLow.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.normSigGateLow.LabelVisible = true;
     this.normSigGateLow.LabelXFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.normSigGateLow.LabelYFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.normSigGateLow.Plot = this.tofOnAveragePlot2;
     this.normSigGateLow.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     //
     // tofOnAveragePlot2
     //
     this.tofOnAveragePlot2.LineColor = System.Drawing.Color.Red;
     this.tofOnAveragePlot2.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOnAveragePlot2.XAxis = this.xAxis6;
     this.tofOnAveragePlot2.YAxis = this.yAxis3;
     //
     // xAxis6
     //
     this.xAxis6.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // yAxis3
     //
     this.yAxis3.Position = NationalInstruments.UI.YAxisPosition.Right;
     //
     // normSigGateHigh
     //
     this.normSigGateHigh.Color = System.Drawing.Color.Lime;
     this.normSigGateHigh.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.normSigGateHigh.LabelVisible = true;
     this.normSigGateHigh.LabelXFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.normSigGateHigh.LabelYFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.normSigGateHigh.Plot = this.tofOnAveragePlot2;
     this.normSigGateHigh.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     //
     // tofOnPlot2
     //
     this.tofOnPlot2.LineColor = System.Drawing.Color.Blue;
     this.tofOnPlot2.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOnPlot2.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.tofOnPlot2.PointStyle = NationalInstruments.UI.PointStyle.Plus;
     this.tofOnPlot2.XAxis = this.xAxis6;
     this.tofOnPlot2.YAxis = this.yAxis4;
     //
     // tofOffPlot2
     //
     this.tofOffPlot2.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.tofOffPlot2.PointColor = System.Drawing.Color.LawnGreen;
     this.tofOffPlot2.PointStyle = NationalInstruments.UI.PointStyle.Plus;
     this.tofOffPlot2.XAxis = this.xAxis6;
     this.tofOffPlot2.YAxis = this.yAxis4;
     //
     // tofOffAveragePlot2
     //
     this.tofOffAveragePlot2.LineColor = System.Drawing.Color.PowderBlue;
     this.tofOffAveragePlot2.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOffAveragePlot2.XAxis = this.xAxis6;
     this.tofOffAveragePlot2.YAxis = this.yAxis3;
     //
     // tofFitPlot2
     //
     this.tofFitPlot2.LineColor = System.Drawing.Color.Silver;
     this.tofFitPlot2.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofFitPlot2.LineStyle = NationalInstruments.UI.LineStyle.DashDot;
     this.tofFitPlot2.LineWidth = 2F;
     this.tofFitPlot2.XAxis = this.xAxis6;
     this.tofFitPlot2.YAxis = this.yAxis3;
     //
     // tofGraphNormed
     //
     this.tofGraphNormed.Cursors.AddRange(new NationalInstruments.UI.XYCursor[] {
     this.xyCursor3,
     this.xyCursor4});
     this.tofGraphNormed.InteractionMode = ((NationalInstruments.UI.GraphInteractionModes)((((((((NationalInstruments.UI.GraphInteractionModes.ZoomX | NationalInstruments.UI.GraphInteractionModes.ZoomY)
     | NationalInstruments.UI.GraphInteractionModes.ZoomAroundPoint)
     | NationalInstruments.UI.GraphInteractionModes.PanX)
     | NationalInstruments.UI.GraphInteractionModes.PanY)
     | NationalInstruments.UI.GraphInteractionModes.DragCursor)
     | NationalInstruments.UI.GraphInteractionModes.DragAnnotationCaption)
     | NationalInstruments.UI.GraphInteractionModes.EditRange)));
     this.tofGraphNormed.Location = new System.Drawing.Point(8, 530);
     this.tofGraphNormed.Name = "tofGraphNormed";
     this.tofGraphNormed.Plots.AddRange(new NationalInstruments.UI.WaveformPlot[] {
     this.tofOnNormedPlot,
     this.tofOffNormedPlot,
     this.tofOnAverageNormedPlot,
     this.tofOffAverageNormedPlot,
     this.tofFitNormedPlot});
     this.tofGraphNormed.Size = new System.Drawing.Size(361, 255);
     this.tofGraphNormed.TabIndex = 35;
     this.tofGraphNormed.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis7});
     this.tofGraphNormed.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.yAxis6,
     this.yAxis5});
     //
     // xyCursor3
     //
     this.xyCursor3.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.xyCursor3.LabelVisible = true;
     this.xyCursor3.LabelXFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.xyCursor3.LabelYFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.xyCursor3.Plot = this.tofOnAverageNormedPlot;
     this.xyCursor3.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     //
     // tofOnAverageNormedPlot
     //
     this.tofOnAverageNormedPlot.LineColor = System.Drawing.Color.Red;
     this.tofOnAverageNormedPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOnAverageNormedPlot.XAxis = this.xAxis7;
     this.tofOnAverageNormedPlot.YAxis = this.yAxis5;
     //
     // xAxis7
     //
     this.xAxis7.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // yAxis5
     //
     this.yAxis5.Position = NationalInstruments.UI.YAxisPosition.Right;
     //
     // xyCursor4
     //
     this.xyCursor4.Color = System.Drawing.Color.Lime;
     this.xyCursor4.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.xyCursor4.LabelVisible = true;
     this.xyCursor4.LabelXFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.xyCursor4.LabelYFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.xyCursor4.Plot = this.tofOnAverageNormedPlot;
     this.xyCursor4.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     //
     // tofOnNormedPlot
     //
     this.tofOnNormedPlot.LineColor = System.Drawing.Color.Blue;
     this.tofOnNormedPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOnNormedPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.tofOnNormedPlot.PointStyle = NationalInstruments.UI.PointStyle.Plus;
     this.tofOnNormedPlot.XAxis = this.xAxis7;
     this.tofOnNormedPlot.YAxis = this.yAxis6;
     //
     // tofOffNormedPlot
     //
     this.tofOffNormedPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.tofOffNormedPlot.PointColor = System.Drawing.Color.LawnGreen;
     this.tofOffNormedPlot.PointStyle = NationalInstruments.UI.PointStyle.Plus;
     this.tofOffNormedPlot.XAxis = this.xAxis7;
     this.tofOffNormedPlot.YAxis = this.yAxis6;
     //
     // tofOffAverageNormedPlot
     //
     this.tofOffAverageNormedPlot.LineColor = System.Drawing.Color.PowderBlue;
     this.tofOffAverageNormedPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOffAverageNormedPlot.XAxis = this.xAxis7;
     this.tofOffAverageNormedPlot.YAxis = this.yAxis5;
     //
     // tofFitNormedPlot
     //
     this.tofFitNormedPlot.LineColor = System.Drawing.Color.Silver;
     this.tofFitNormedPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofFitNormedPlot.LineStyle = NationalInstruments.UI.LineStyle.DashDot;
     this.tofFitNormedPlot.LineWidth = 2F;
     this.tofFitNormedPlot.XAxis = this.xAxis7;
     this.tofFitNormedPlot.YAxis = this.yAxis5;
     //
     // toolStripLabel1
     //
     this.toolStripLabel1.Name = "toolStripLabel1";
     this.toolStripLabel1.Size = new System.Drawing.Size(98, 22);
     this.toolStripLabel1.Text = "InteractionMode:";
     //
     // toolStripPropertyEditor1
     //
     this.toolStripPropertyEditor1.AutoSize = false;
     this.toolStripPropertyEditor1.Name = "toolStripPropertyEditor1";
     this.toolStripPropertyEditor1.RenderMode = NationalInstruments.UI.PropertyEditorRenderMode.Inherit;
     this.toolStripPropertyEditor1.Size = new System.Drawing.Size(120, 23);
     this.toolStripPropertyEditor1.Source = new NationalInstruments.UI.PropertyEditorSource(this.tofGraph, "InteractionMode");
     this.toolStripPropertyEditor1.Text = "ZoomX, ZoomY, ZoomAroundPoint, PanX, PanY, DragCursor, DragAnnotationCaption, Edi" +
     "tRange";
     //
     // toolStripLabel2
     //
     this.toolStripLabel2.Name = "toolStripLabel2";
     this.toolStripLabel2.Size = new System.Drawing.Size(23, 23);
     //
     // toolStripPropertyEditor2
     //
     this.toolStripPropertyEditor2.AutoSize = false;
     this.toolStripPropertyEditor2.Name = "toolStripPropertyEditor2";
     this.toolStripPropertyEditor2.RenderMode = NationalInstruments.UI.PropertyEditorRenderMode.Inherit;
     this.toolStripPropertyEditor2.Size = new System.Drawing.Size(120, 20);
     //
     // toolStripLabel3
     //
     this.toolStripLabel3.Name = "toolStripLabel3";
     this.toolStripLabel3.Size = new System.Drawing.Size(75, 15);
     this.toolStripLabel3.Text = "Annotations:";
     //
     // toolStripPropertyEditor3
     //
     this.toolStripPropertyEditor3.AutoSize = false;
     this.toolStripPropertyEditor3.Name = "toolStripPropertyEditor3";
     this.toolStripPropertyEditor3.RenderMode = NationalInstruments.UI.PropertyEditorRenderMode.Inherit;
     this.toolStripPropertyEditor3.Size = new System.Drawing.Size(120, 23);
     this.toolStripPropertyEditor3.Source = new NationalInstruments.UI.PropertyEditorSource(this.tofGraph, "Annotations");
     this.toolStripPropertyEditor3.Text = "(Collection)";
     //
     // normBgGateLow
     //
     this.normBgGateLow.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.normBgGateLow.LabelVisible = true;
     this.normBgGateLow.LineStyle = NationalInstruments.UI.LineStyle.Dot;
     this.normBgGateLow.Plot = this.tofOnPlot2;
     this.normBgGateLow.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     //
     // normBgGateHigh
     //
     this.normBgGateHigh.Color = System.Drawing.Color.Lime;
     this.normBgGateHigh.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.normBgGateHigh.LabelVisible = true;
     this.normBgGateHigh.LineStyle = NationalInstruments.UI.LineStyle.Dot;
     this.normBgGateHigh.Plot = this.tofOnPlot2;
     this.normBgGateHigh.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     //
     // StandardViewerWindow
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(970, 862);
     this.Controls.Add(this.tofGraphNormed);
     this.Controls.Add(this.tofGraph2);
     this.Controls.Add(this.noiseResultsLabel);
     this.Controls.Add(this.updateNoiseResultsbutton);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.tofFitDataSelectCombo);
     this.Controls.Add(this.updateSpectrumFitButton);
     this.Controls.Add(this.updateTOFFitButton);
     this.Controls.Add(this.spectrumFitResultsLabel);
     this.Controls.Add(this.tofFitResultsLabel);
     this.Controls.Add(this.spectrumFitFunctionCombo);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.spectrumFitModeCombo);
     this.Controls.Add(this.tofFitFunctionCombo);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.tofFitModeCombo);
     this.Controls.Add(this.tofGraph);
     this.Controls.Add(this.differenceGraph);
     this.Controls.Add(this.pmtGraph);
     this.Controls.Add(this.analog2Graph);
     this.Controls.Add(this.analog1Graph);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "StandardViewerWindow";
     this.Text = "Standard View";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
     this.Load += new System.EventHandler(this.StandardViewerWindow_Load);
     ((System.ComponentModel.ISupportInitialize)(this.analog1Graph)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.analog2Graph)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtGraph)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtLowCursor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtHighCursor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.differenceGraph)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofGraph)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofLowCursor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofHighCursor)).EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
     this.splitContainer2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tofGraph2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.normSigGateLow)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.normSigGateHigh)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofGraphNormed)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xyCursor3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xyCursor4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.normBgGateLow)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.normBgGateHigh)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TweakViewerWindow));
     this.pmtXAxis = new NationalInstruments.UI.XAxis();
     this.xAxis5 = new NationalInstruments.UI.XAxis();
     this.differenceYAxis = new NationalInstruments.UI.YAxis();
     this.differenceGraph = new NationalInstruments.UI.WindowsForms.ScatterGraph();
     this.differencePlot = new NationalInstruments.UI.ScatterPlot();
     this.differenceAvgPlot = new NationalInstruments.UI.ScatterPlot();
     this.tofGraph = new NationalInstruments.UI.WindowsForms.WaveformGraph();
     this.tofLowCursor = new NationalInstruments.UI.XYCursor();
     this.tofOnAveragePlot = new NationalInstruments.UI.WaveformPlot();
     this.xAxis4 = new NationalInstruments.UI.XAxis();
     this.tofAvgYAxis = new NationalInstruments.UI.YAxis();
     this.tofHighCursor = new NationalInstruments.UI.XYCursor();
     this.tofOnPlot = new NationalInstruments.UI.WaveformPlot();
     this.tofYAxis = new NationalInstruments.UI.YAxis();
     this.tofOffPlot = new NationalInstruments.UI.WaveformPlot();
     this.tofOffAveragePlot = new NationalInstruments.UI.WaveformPlot();
     this.tofFitPlot = new NationalInstruments.UI.WaveformPlot();
     this.tofFitModeCombo = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.tofFitFunctionCombo = new System.Windows.Forms.ComboBox();
     this.tofFitResultsLabel = new System.Windows.Forms.Label();
     this.updateTOFFitButton = new System.Windows.Forms.Button();
     this.tofFitDataSelectCombo = new System.Windows.Forms.ComboBox();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.statusBar2 = new System.Windows.Forms.StatusBar();
     this.defaultGateButton = new System.Windows.Forms.Button();
     this.statusBar1 = new System.Windows.Forms.StatusBar();
     this.OnAvTextBox = new System.Windows.Forms.TextBox();
     this.OnErrTextBox = new System.Windows.Forms.TextBox();
     this.OffAvTextBox = new System.Windows.Forms.TextBox();
     this.OffErrTextBox = new System.Windows.Forms.TextBox();
     this.asymTextBox = new System.Windows.Forms.TextBox();
     this.asymErrTextBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.pmtFitPlot = new NationalInstruments.UI.ScatterPlot();
     this.xAxis3 = new NationalInstruments.UI.XAxis();
     this.pmtYAxis = new NationalInstruments.UI.YAxis();
     this.pmtOffAvgPlot = new NationalInstruments.UI.ScatterPlot();
     this.pmtOnAvgPlot = new NationalInstruments.UI.ScatterPlot();
     this.pmtOffPlot = new NationalInstruments.UI.ScatterPlot();
     this.pmtOnPlot = new NationalInstruments.UI.ScatterPlot();
     this.pmtHighCursor = new NationalInstruments.UI.XYCursor();
     this.pmtLowCursor = new NationalInstruments.UI.XYCursor();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.resetButton = new System.Windows.Forms.Button();
     this.pmtGraph = new NationalInstruments.UI.WindowsForms.ScatterGraph();
     this.xyCursor1 = new NationalInstruments.UI.XYCursor();
     this.scatterPlot1 = new NationalInstruments.UI.ScatterPlot();
     this.xAxis1 = new NationalInstruments.UI.XAxis();
     this.yAxis1 = new NationalInstruments.UI.YAxis();
     this.xyCursor2 = new NationalInstruments.UI.XYCursor();
     this.scatterPlot2 = new NationalInstruments.UI.ScatterPlot();
     this.scatterPlot3 = new NationalInstruments.UI.ScatterPlot();
     this.scatterPlot4 = new NationalInstruments.UI.ScatterPlot();
     this.scatterPlot5 = new NationalInstruments.UI.ScatterPlot();
     ((System.ComponentModel.ISupportInitialize)(this.differenceGraph)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofGraph)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofLowCursor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofHighCursor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pmtHighCursor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtLowCursor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtGraph)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xyCursor1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xyCursor2)).BeginInit();
     this.SuspendLayout();
     //
     // pmtXAxis
     //
     this.pmtXAxis.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // xAxis5
     //
     this.xAxis5.CaptionBackColor = System.Drawing.SystemColors.ControlLight;
     this.xAxis5.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // differenceYAxis
     //
     this.differenceYAxis.CaptionBackColor = System.Drawing.SystemColors.ControlLight;
     //
     // differenceGraph
     //
     this.differenceGraph.Location = new System.Drawing.Point(8, 304);
     this.differenceGraph.Name = "differenceGraph";
     this.differenceGraph.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
     this.differencePlot,
     this.differenceAvgPlot});
     this.differenceGraph.Size = new System.Drawing.Size(352, 280);
     this.differenceGraph.TabIndex = 15;
     this.differenceGraph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis5});
     this.differenceGraph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.differenceYAxis});
     //
     // differencePlot
     //
     this.differencePlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.differencePlot.PointColor = System.Drawing.Color.Lime;
     this.differencePlot.PointStyle = NationalInstruments.UI.PointStyle.Cross;
     this.differencePlot.XAxis = this.xAxis5;
     this.differencePlot.YAxis = this.differenceYAxis;
     //
     // differenceAvgPlot
     //
     this.differenceAvgPlot.LineColor = System.Drawing.Color.Red;
     this.differenceAvgPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.differenceAvgPlot.XAxis = this.xAxis5;
     this.differenceAvgPlot.YAxis = this.differenceYAxis;
     //
     // tofGraph
     //
     this.tofGraph.Cursors.AddRange(new NationalInstruments.UI.XYCursor[] {
     this.tofLowCursor,
     this.tofHighCursor});
     this.tofGraph.Location = new System.Drawing.Point(8, 8);
     this.tofGraph.Name = "tofGraph";
     this.tofGraph.Plots.AddRange(new NationalInstruments.UI.WaveformPlot[] {
     this.tofOnPlot,
     this.tofOffPlot,
     this.tofOnAveragePlot,
     this.tofOffAveragePlot,
     this.tofFitPlot});
     this.tofGraph.Size = new System.Drawing.Size(352, 280);
     this.tofGraph.TabIndex = 16;
     this.tofGraph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis4});
     this.tofGraph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.tofYAxis,
     this.tofAvgYAxis});
     //
     // tofLowCursor
     //
     this.tofLowCursor.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.tofLowCursor.LabelVisible = true;
     this.tofLowCursor.LabelXFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.tofLowCursor.LabelYFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.tofLowCursor.Plot = this.tofOnAveragePlot;
     this.tofLowCursor.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     this.tofLowCursor.AfterMove += new NationalInstruments.UI.AfterMoveXYCursorEventHandler(this.TOFCursorMoved);
     //
     // tofOnAveragePlot
     //
     this.tofOnAveragePlot.LineColor = System.Drawing.Color.Red;
     this.tofOnAveragePlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOnAveragePlot.XAxis = this.xAxis4;
     this.tofOnAveragePlot.YAxis = this.tofAvgYAxis;
     //
     // tofAvgYAxis
     //
     this.tofAvgYAxis.Position = NationalInstruments.UI.YAxisPosition.Right;
     //
     // tofHighCursor
     //
     this.tofHighCursor.Color = System.Drawing.Color.Lime;
     this.tofHighCursor.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.tofHighCursor.LabelVisible = true;
     this.tofHighCursor.LabelXFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.tofHighCursor.LabelYFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "G3");
     this.tofHighCursor.Plot = this.tofOnAveragePlot;
     this.tofHighCursor.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     this.tofHighCursor.AfterMove += new NationalInstruments.UI.AfterMoveXYCursorEventHandler(this.TOFCursorMoved);
     //
     // tofOnPlot
     //
     this.tofOnPlot.LineColor = System.Drawing.Color.Blue;
     this.tofOnPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOnPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.tofOnPlot.PointStyle = NationalInstruments.UI.PointStyle.Plus;
     this.tofOnPlot.XAxis = this.xAxis4;
     this.tofOnPlot.YAxis = this.tofYAxis;
     //
     // tofOffPlot
     //
     this.tofOffPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.tofOffPlot.PointColor = System.Drawing.Color.LawnGreen;
     this.tofOffPlot.PointStyle = NationalInstruments.UI.PointStyle.Plus;
     this.tofOffPlot.XAxis = this.xAxis4;
     this.tofOffPlot.YAxis = this.tofYAxis;
     //
     // tofOffAveragePlot
     //
     this.tofOffAveragePlot.LineColor = System.Drawing.Color.PowderBlue;
     this.tofOffAveragePlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofOffAveragePlot.XAxis = this.xAxis4;
     this.tofOffAveragePlot.YAxis = this.tofAvgYAxis;
     //
     // tofFitPlot
     //
     this.tofFitPlot.LineColor = System.Drawing.Color.Silver;
     this.tofFitPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.tofFitPlot.LineStyle = NationalInstruments.UI.LineStyle.DashDot;
     this.tofFitPlot.LineWidth = 2F;
     this.tofFitPlot.XAxis = this.xAxis4;
     this.tofFitPlot.YAxis = this.tofAvgYAxis;
     //
     // tofFitModeCombo
     //
     this.tofFitModeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.tofFitModeCombo.Items.AddRange(new object[] {
     "off",
     "average"});
     this.tofFitModeCombo.Location = new System.Drawing.Point(64, 605);
     this.tofFitModeCombo.Name = "tofFitModeCombo";
     this.tofFitModeCombo.Size = new System.Drawing.Size(72, 21);
     this.tofFitModeCombo.TabIndex = 17;
     this.tofFitModeCombo.SelectedIndexChanged += new System.EventHandler(this.tofFitModeCombo_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(6, 584);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(48, 23);
     this.label1.TabIndex = 18;
     this.label1.Text = "Fit TOF:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tofFitFunctionCombo
     //
     this.tofFitFunctionCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.tofFitFunctionCombo.Location = new System.Drawing.Point(142, 605);
     this.tofFitFunctionCombo.Name = "tofFitFunctionCombo";
     this.tofFitFunctionCombo.Size = new System.Drawing.Size(88, 21);
     this.tofFitFunctionCombo.TabIndex = 19;
     this.tofFitFunctionCombo.SelectedIndexChanged += new System.EventHandler(this.tofFitFunctionCombo_SelectedIndexChanged);
     //
     // tofFitResultsLabel
     //
     this.tofFitResultsLabel.ForeColor = System.Drawing.Color.Blue;
     this.tofFitResultsLabel.Location = new System.Drawing.Point(260, 602);
     this.tofFitResultsLabel.Name = "tofFitResultsLabel";
     this.tofFitResultsLabel.Size = new System.Drawing.Size(100, 24);
     this.tofFitResultsLabel.TabIndex = 23;
     this.tofFitResultsLabel.Text = "...";
     this.tofFitResultsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // updateTOFFitButton
     //
     this.updateTOFFitButton.Location = new System.Drawing.Point(236, 603);
     this.updateTOFFitButton.Name = "updateTOFFitButton";
     this.updateTOFFitButton.Size = new System.Drawing.Size(18, 23);
     this.updateTOFFitButton.TabIndex = 25;
     this.updateTOFFitButton.Text = ">";
     this.updateTOFFitButton.UseVisualStyleBackColor = true;
     this.updateTOFFitButton.Click += new System.EventHandler(this.updateTOFFitButton_Click);
     //
     // tofFitDataSelectCombo
     //
     this.tofFitDataSelectCombo.FormattingEnabled = true;
     this.tofFitDataSelectCombo.Items.AddRange(new object[] {
     "On",
     "Off"});
     this.tofFitDataSelectCombo.Location = new System.Drawing.Point(8, 605);
     this.tofFitDataSelectCombo.Name = "tofFitDataSelectCombo";
     this.tofFitDataSelectCombo.Size = new System.Drawing.Size(50, 21);
     this.tofFitDataSelectCombo.TabIndex = 27;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.splitContainer1.Location = new System.Drawing.Point(0, 636);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.statusBar1);
     this.splitContainer1.Size = new System.Drawing.Size(970, 23);
     this.splitContainer1.SplitterDistance = 371;
     this.splitContainer1.TabIndex = 30;
     //
     // splitContainer2
     //
     this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name = "splitContainer2";
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.statusBar2);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.defaultGateButton);
     this.splitContainer2.Size = new System.Drawing.Size(371, 23);
     this.splitContainer2.SplitterDistance = 236;
     this.splitContainer2.TabIndex = 0;
     //
     // statusBar2
     //
     this.statusBar2.Location = new System.Drawing.Point(0, 0);
     this.statusBar2.Name = "statusBar2";
     this.statusBar2.Size = new System.Drawing.Size(236, 23);
     this.statusBar2.SizingGrip = false;
     this.statusBar2.TabIndex = 32;
     this.statusBar2.Text = "Ready";
     //
     // defaultGateButton
     //
     this.defaultGateButton.Location = new System.Drawing.Point(3, 0);
     this.defaultGateButton.Name = "defaultGateButton";
     this.defaultGateButton.Size = new System.Drawing.Size(120, 23);
     this.defaultGateButton.TabIndex = 26;
     this.defaultGateButton.Text = "Default Gate";
     this.defaultGateButton.UseVisualStyleBackColor = true;
     this.defaultGateButton.Click += new System.EventHandler(this.defaultGateButton_Click);
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 0);
     this.statusBar1.Name = "statusBar1";
     this.statusBar1.Size = new System.Drawing.Size(595, 23);
     this.statusBar1.SizingGrip = false;
     this.statusBar1.TabIndex = 14;
     this.statusBar1.Text = "Ready";
     //
     // OnAvTextBox
     //
     this.OnAvTextBox.BackColor = System.Drawing.SystemColors.ControlLight;
     this.OnAvTextBox.Location = new System.Drawing.Point(392, 91);
     this.OnAvTextBox.Name = "OnAvTextBox";
     this.OnAvTextBox.ReadOnly = true;
     this.OnAvTextBox.Size = new System.Drawing.Size(100, 20);
     this.OnAvTextBox.TabIndex = 31;
     //
     // OnErrTextBox
     //
     this.OnErrTextBox.BackColor = System.Drawing.SystemColors.ControlLight;
     this.OnErrTextBox.Location = new System.Drawing.Point(516, 91);
     this.OnErrTextBox.Name = "OnErrTextBox";
     this.OnErrTextBox.ReadOnly = true;
     this.OnErrTextBox.Size = new System.Drawing.Size(100, 20);
     this.OnErrTextBox.TabIndex = 32;
     //
     // OffAvTextBox
     //
     this.OffAvTextBox.BackColor = System.Drawing.SystemColors.ControlLight;
     this.OffAvTextBox.Location = new System.Drawing.Point(392, 133);
     this.OffAvTextBox.Name = "OffAvTextBox";
     this.OffAvTextBox.ReadOnly = true;
     this.OffAvTextBox.Size = new System.Drawing.Size(100, 20);
     this.OffAvTextBox.TabIndex = 33;
     //
     // OffErrTextBox
     //
     this.OffErrTextBox.BackColor = System.Drawing.SystemColors.ControlLight;
     this.OffErrTextBox.Location = new System.Drawing.Point(516, 133);
     this.OffErrTextBox.Name = "OffErrTextBox";
     this.OffErrTextBox.ReadOnly = true;
     this.OffErrTextBox.Size = new System.Drawing.Size(100, 20);
     this.OffErrTextBox.TabIndex = 34;
     //
     // asymTextBox
     //
     this.asymTextBox.BackColor = System.Drawing.SystemColors.ControlLight;
     this.asymTextBox.Location = new System.Drawing.Point(392, 182);
     this.asymTextBox.Name = "asymTextBox";
     this.asymTextBox.ReadOnly = true;
     this.asymTextBox.Size = new System.Drawing.Size(100, 20);
     this.asymTextBox.TabIndex = 35;
     //
     // asymErrTextBox
     //
     this.asymErrTextBox.BackColor = System.Drawing.SystemColors.ControlLight;
     this.asymErrTextBox.Location = new System.Drawing.Point(516, 182);
     this.asymErrTextBox.Name = "asymErrTextBox";
     this.asymErrTextBox.ReadOnly = true;
     this.asymErrTextBox.Size = new System.Drawing.Size(100, 20);
     this.asymErrTextBox.TabIndex = 36;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(399, 75);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(85, 13);
     this.label2.TabIndex = 37;
     this.label2.Text = "Average on shot";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(400, 117);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(85, 13);
     this.label3.TabIndex = 38;
     this.label3.Text = "Average off shot";
     //
     // pmtFitPlot
     //
     this.pmtFitPlot.LineColor = System.Drawing.Color.Silver;
     this.pmtFitPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.pmtFitPlot.LineStyle = NationalInstruments.UI.LineStyle.DashDot;
     this.pmtFitPlot.LineWidth = 2F;
     this.pmtFitPlot.XAxis = this.xAxis3;
     this.pmtFitPlot.YAxis = this.pmtYAxis;
     //
     // xAxis3
     //
     this.xAxis3.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // pmtOffAvgPlot
     //
     this.pmtOffAvgPlot.LineColor = System.Drawing.Color.PowderBlue;
     this.pmtOffAvgPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.pmtOffAvgPlot.XAxis = this.xAxis3;
     this.pmtOffAvgPlot.YAxis = this.pmtYAxis;
     //
     // pmtOnAvgPlot
     //
     this.pmtOnAvgPlot.LineColor = System.Drawing.Color.Red;
     this.pmtOnAvgPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.pmtOnAvgPlot.XAxis = this.xAxis3;
     this.pmtOnAvgPlot.YAxis = this.pmtYAxis;
     //
     // pmtOffPlot
     //
     this.pmtOffPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.pmtOffPlot.PointColor = System.Drawing.Color.Magenta;
     this.pmtOffPlot.PointStyle = NationalInstruments.UI.PointStyle.Cross;
     this.pmtOffPlot.XAxis = this.xAxis3;
     this.pmtOffPlot.YAxis = this.pmtYAxis;
     //
     // pmtOnPlot
     //
     this.pmtOnPlot.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.pmtOnPlot.PointStyle = NationalInstruments.UI.PointStyle.Cross;
     this.pmtOnPlot.XAxis = this.xAxis3;
     this.pmtOnPlot.YAxis = this.pmtYAxis;
     //
     // pmtHighCursor
     //
     this.pmtHighCursor.Color = System.Drawing.Color.Lime;
     this.pmtHighCursor.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.pmtHighCursor.LabelVisible = true;
     this.pmtHighCursor.Plot = this.pmtOnAvgPlot;
     this.pmtHighCursor.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     this.pmtHighCursor.AfterMove += new NationalInstruments.UI.AfterMoveXYCursorEventHandler(this.PMTCursorMoved);
     //
     // pmtLowCursor
     //
     this.pmtLowCursor.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.pmtLowCursor.LabelVisible = true;
     this.pmtLowCursor.Plot = this.pmtOnAvgPlot;
     this.pmtLowCursor.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     this.pmtLowCursor.AfterMove += new NationalInstruments.UI.AfterMoveXYCursorEventHandler(this.PMTCursorMoved);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(389, 166);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(112, 13);
     this.label4.TabIndex = 39;
     this.label4.Text = "Average on-off/on+off";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(538, 75);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(53, 13);
     this.label5.TabIndex = 40;
     this.label5.Text = "Shot error";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(538, 117);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(53, 13);
     this.label6.TabIndex = 41;
     this.label6.Text = "Shot error";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(538, 166);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(53, 13);
     this.label7.TabIndex = 42;
     this.label7.Text = "Shot error";
     //
     // resetButton
     //
     this.resetButton.Location = new System.Drawing.Point(392, 220);
     this.resetButton.Name = "resetButton";
     this.resetButton.Size = new System.Drawing.Size(224, 23);
     this.resetButton.TabIndex = 43;
     this.resetButton.Text = "Reset!";
     this.resetButton.UseVisualStyleBackColor = true;
     this.resetButton.Click += new System.EventHandler(this.resetButton_Click);
     //
     // pmtGraph
     //
     this.pmtGraph.Cursors.AddRange(new NationalInstruments.UI.XYCursor[] {
     this.xyCursor1,
     this.xyCursor2});
     this.pmtGraph.InteractionMode = ((NationalInstruments.UI.GraphInteractionModes)((((((((NationalInstruments.UI.GraphInteractionModes.ZoomX | NationalInstruments.UI.GraphInteractionModes.ZoomY)
     | NationalInstruments.UI.GraphInteractionModes.ZoomAroundPoint)
     | NationalInstruments.UI.GraphInteractionModes.PanX)
     | NationalInstruments.UI.GraphInteractionModes.PanY)
     | NationalInstruments.UI.GraphInteractionModes.DragCursor)
     | NationalInstruments.UI.GraphInteractionModes.DragAnnotationCaption)
     | NationalInstruments.UI.GraphInteractionModes.EditRange)));
     this.pmtGraph.Location = new System.Drawing.Point(373, 304);
     this.pmtGraph.Name = "pmtGraph";
     this.pmtGraph.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
     this.scatterPlot2,
     this.scatterPlot3,
     this.scatterPlot1,
     this.scatterPlot4,
     this.scatterPlot5});
     this.pmtGraph.Size = new System.Drawing.Size(584, 280);
     this.pmtGraph.TabIndex = 44;
     this.pmtGraph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
     this.xAxis1});
     this.pmtGraph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
     this.yAxis1});
     //
     // xyCursor1
     //
     this.xyCursor1.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.xyCursor1.LabelVisible = true;
     this.xyCursor1.Plot = this.scatterPlot1;
     this.xyCursor1.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     //
     // scatterPlot1
     //
     this.scatterPlot1.LineColor = System.Drawing.Color.Red;
     this.scatterPlot1.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.scatterPlot1.XAxis = this.xAxis1;
     this.scatterPlot1.YAxis = this.yAxis1;
     //
     // xAxis1
     //
     this.xAxis1.Mode = NationalInstruments.UI.AxisMode.Fixed;
     //
     // xyCursor2
     //
     this.xyCursor2.Color = System.Drawing.Color.Lime;
     this.xyCursor2.HorizontalCrosshairMode = NationalInstruments.UI.CursorCrosshairMode.None;
     this.xyCursor2.LabelVisible = true;
     this.xyCursor2.Plot = this.scatterPlot1;
     this.xyCursor2.SnapMode = NationalInstruments.UI.CursorSnapMode.Floating;
     //
     // scatterPlot2
     //
     this.scatterPlot2.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.scatterPlot2.PointStyle = NationalInstruments.UI.PointStyle.Cross;
     this.scatterPlot2.XAxis = this.xAxis1;
     this.scatterPlot2.YAxis = this.yAxis1;
     //
     // scatterPlot3
     //
     this.scatterPlot3.LineStyle = NationalInstruments.UI.LineStyle.None;
     this.scatterPlot3.PointColor = System.Drawing.Color.Magenta;
     this.scatterPlot3.PointStyle = NationalInstruments.UI.PointStyle.Cross;
     this.scatterPlot3.XAxis = this.xAxis1;
     this.scatterPlot3.YAxis = this.yAxis1;
     //
     // scatterPlot4
     //
     this.scatterPlot4.LineColor = System.Drawing.Color.PowderBlue;
     this.scatterPlot4.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.scatterPlot4.XAxis = this.xAxis1;
     this.scatterPlot4.YAxis = this.yAxis1;
     //
     // scatterPlot5
     //
     this.scatterPlot5.LineColor = System.Drawing.Color.Silver;
     this.scatterPlot5.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor;
     this.scatterPlot5.LineStyle = NationalInstruments.UI.LineStyle.DashDot;
     this.scatterPlot5.LineWidth = 2F;
     this.scatterPlot5.XAxis = this.xAxis1;
     this.scatterPlot5.YAxis = this.yAxis1;
     //
     // TweakViewerWindow
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(970, 659);
     this.Controls.Add(this.pmtGraph);
     this.Controls.Add(this.resetButton);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.asymErrTextBox);
     this.Controls.Add(this.asymTextBox);
     this.Controls.Add(this.OffErrTextBox);
     this.Controls.Add(this.OffAvTextBox);
     this.Controls.Add(this.OnErrTextBox);
     this.Controls.Add(this.OnAvTextBox);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.tofFitDataSelectCombo);
     this.Controls.Add(this.updateTOFFitButton);
     this.Controls.Add(this.tofFitResultsLabel);
     this.Controls.Add(this.tofFitFunctionCombo);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.tofFitModeCombo);
     this.Controls.Add(this.tofGraph);
     this.Controls.Add(this.differenceGraph);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "TweakViewerWindow";
     this.Text = "Tweak View";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
     ((System.ComponentModel.ISupportInitialize)(this.differenceGraph)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofGraph)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofLowCursor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tofHighCursor)).EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
     this.splitContainer2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pmtHighCursor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtLowCursor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pmtGraph)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xyCursor1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xyCursor2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }