private void AddThematicLegendItems(LegendAdornmentLayer legendAdornmentLayer) { ClassBreakStyle thematicStyle = (ClassBreakStyle)currentStyleBuilder.GetStyles(currentFeatureLayer.FeatureSource)[0]; for (int i = 0; i < thematicStyle.ClassBreaks.Count; i++) { LegendItem legendItem = new LegendItem(); if (i < thematicStyle.ClassBreaks.Count) { legendItem.ImageStyle = thematicStyle.ClassBreaks[i].DefaultAreaStyle; legendItem.ImageWidth = 20; legendItem.TextRightPadding = 5; legendItem.RightPadding = 5; string text = string.Empty; if (i != thematicStyle.ClassBreaks.Count - 1) { text = string.Format("{0:#,0.####} ~ {1:#,0.####}", TextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i].Value), TextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i + 1].Value)); } else { text = string.Format("> {0:#,0.####}", TextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i].Value)); } legendItem.TextStyle = new TextStyle(text, new GeoFont("Segoe UI", 10), new GeoSolidBrush(GeoColor.SimpleColors.Black)); } legendAdornmentLayer.LegendItems.Add(legendItem); } }
private void CheckBox_Unchecked(object sender, RoutedEventArgs e) { CheckBox box = sender as CheckBox; LegendItem item = box.Tag as LegendItem; UpdateLegend(false, item.Item as Model); }
LegendItem GetLegendItem(string[] keys, LegendItem lip) { if (keys.Count() == 0) { return(null); } if (keys.Count() == 1 && lip.LegendText == keys[0]) { return(lip); } foreach (LegendItem li in lip.LegendItems) { if (li.LegendText == keys[0]) { if (keys.Count() == 1) { return(li); } else { string[] k = keysPop(keys); return(GetLegendItem(k, li)); } } } return(null); }
public LegendItem ToLegendItem() { this.coreItem.TextStyle.Font = NotifiedGeoFont.ToGeoFont(); LegendItem newLegendItem = new LegendItem((int)Width, (int)Height, ImageWidth, ImageHeight, ImageStyle, new TextStyle(Text, NotifiedGeoFont.ToGeoFont(), TextSolidBrush)); newLegendItem.BackgroundMask = BackgroundMask; newLegendItem.BottomPadding = BottomPadding; newLegendItem.ImageBottomPadding = ImageBottomPadding; newLegendItem.ImageJustificationMode = ImageJustificationMode; newLegendItem.ImageLeftPadding = ImageLeftPadding; newLegendItem.ImageStyle = ImageStyle; newLegendItem.ImageMask = ImageMask; newLegendItem.ImageRightPadding = ImageRightPadding; newLegendItem.ImageTopPadding = ImageTopPadding; newLegendItem.LeftPadding = LeftPadding; newLegendItem.RightPadding = RightPadding; newLegendItem.TextBottomPadding = TextBottomPadding; newLegendItem.TextLeftPadding = TextLeftPadding; newLegendItem.TextMask = TextMask; newLegendItem.TextRightPadding = TextRightPadding; newLegendItem.TextTopPadding = TextTopPadding; newLegendItem.TopPadding = TopPadding; if (this.ImageStyle == null) { newLegendItem.ImageStyle = new PointStyle(); } return(newLegendItem); }
private void chartPerfomance_MouseClick(object sender, MouseEventArgs e) { HitTestResult result = chart.HitTest(e.X, e.Y); if (result == null || result.Object == null) { return; } // When user hits the LegendItem LegendItem legendItem = result.Object as LegendItem; if (legendItem == null) { return; } // series item selected Series selectedSeries = (Series)legendItem.Tag; if (selectedSeries == null) { return; } if (selectedSeries.Enabled) { selectedSeries.Enabled = false; } else { selectedSeries.Enabled = true; } }
internal virtual LegendItem GetLegendItem() { if (string.IsNullOrWhiteSpace(this.Series.LegendText)) { return((LegendItem)null); } LegendItem legendItem1 = new LegendItem(); legendItem1.Label = (object)this.Series.LegendText; legendItem1.SymbolContent = (object)this.GetLegendSymbol(); legendItem1.DataContext = (object)this.Series; LegendItem legendItem2 = legendItem1; legendItem2.SetBinding(LegendItem.IsSelectedProperty, (BindingBase) new Binding("IsLegendSelected") { Source = (object)this.Series }); legendItem2.SetBinding(LegendItem.UnselectedOpacityProperty, (BindingBase) new Binding("UnselectedDataPointOpacity") { Source = (object)this.Series }); legendItem2.SetBinding(LegendItem.UnselectedEffectProperty, (BindingBase) new Binding("UnselectedDataPointEffect") { Source = (object)this.Series }); return(legendItem2); }
protected override void OnTreeNodeCheckChanged(TreeNodeEventArgs e) { string[] keys = e.Node.ValuePath.Split(PathSeparator); WebMap wm = (WebMap)FindControl(WebMapID); GDIMap m = wm.ControlMap; WebMapClient wmc = wm.Back; bool found = false; for (int i = m.Layers.Count - 1; i >= 0; i--) { LegendItem liR = (LegendItem)m.Layers[i]; LegendItem li = GetLegendItem(keys, liR); if (li != null) { li.Checked = e.Node.Checked; found = true; break; } } if (found == false) { wmc.Check(keys, e.Node.Checked); } base.OnTreeNodeCheckChanged(e); }
private void Legend_MouseDown(object sender, MouseButtonEventArgs e) { Border brder = (Border)sender; //brder.BorderThickness = new Thickness(0, 0, 0, 1); LegendItem item = brder.DataContext as LegendItem; BarSeries series = item.Presenter as BarSeries; RadCartesianChart chart = series.Chart as RadCartesianChart; foreach (BarSeries s in chart.Series) { s.Visibility = Visibility.Collapsed; } series.Visibility = Visibility.Visible; foreach (Border br in FindVisualChildren <Border>(chartLegend)) { if (br.Name == "brdr") { br.BorderThickness = new Thickness(0, 0, 0, 0); } } brder.BorderThickness = new Thickness(0, 0, 0, 1.5); }
private void AddDotDensityLegendItems(DemographicStyleBuilder styleBuilder, LegendAdornmentLayer legendAdornmentLayer, Map map) { ShapeFileFeatureLayer statesLayer = map.DynamicOverlay.Layers["usStatesLayer"] as ShapeFileFeatureLayer; CustomDotDensityStyle dotDensityStyle = (CustomDotDensityStyle)styleBuilder.GetStyle(statesLayer.FeatureSource); int[] pointCounts = new int[] { 5, 10, 20, 50 }; foreach (int pointCount in pointCounts) { LegendItem legendItem = new LegendItem(); legendItem.ImageMask = new AreaStyle(new GeoPen(GeoColor.StandardColors.LightGray, 1), new GeoSolidBrush(GeoColor.SimpleColors.Transparent)); legendItem.ImageWidth = 48; legendItem.TextTopPadding = 16; legendItem.TextRightPadding = 5; legendItem.BottomPadding = 16; legendItem.TopPadding = 16; legendItem.RightPadding = 5; CustomDotDensityStyle legendDotDensityStyle = (CustomDotDensityStyle)dotDensityStyle.CloneDeep(); legendDotDensityStyle.DrawingPointsNumber = pointCount; legendItem.ImageStyle = legendDotDensityStyle; string text = string.Format(CultureInfo.InvariantCulture, "{0:0.####}", DemographicStyleTextFormatter.GetFormatedStringForLegendItem(dotDensityStyle.ColumnName, (pointCount / dotDensityStyle.PointToValueRatio))); legendItem.TextStyle = new TextStyle(text, new GeoFont("Segoe UI", 10), new GeoSolidBrush(GeoColor.SimpleColors.Black)); legendAdornmentLayer.LegendItems.Add(legendItem); } }
private void AddThematicLegendItems(DemographicStyleBuilder styleBuilder, LegendAdornmentLayer legendAdornmentLayer, Map map) { ShapeFileFeatureLayer statesLayer = map.DynamicOverlay.Layers["usStatesLayer"] as ShapeFileFeatureLayer; ClassBreakStyle thematicStyle = (ClassBreakStyle)styleBuilder.GetStyle(statesLayer.FeatureSource); for (int i = 0; i < thematicStyle.ClassBreaks.Count; i++) { LegendItem legendItem = new LegendItem(); if (i < thematicStyle.ClassBreaks.Count) { legendItem.ImageStyle = thematicStyle.ClassBreaks[i].DefaultAreaStyle; legendItem.ImageWidth = 20; legendItem.TextRightPadding = 5; legendItem.RightPadding = 5; string text = string.Empty; if (i != thematicStyle.ClassBreaks.Count - 1) { text = string.Format("{0:#,0.####} ~ {1:#,0.####}", DemographicStyleTextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i].Value), DemographicStyleTextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i + 1].Value)); } else { text = string.Format("> {0:#,0.####}", DemographicStyleTextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i].Value)); } legendItem.TextStyle = new TextStyle(text, new GeoFont("Segoe UI", 10), new GeoSolidBrush(GeoColor.SimpleColors.Black)); } legendAdornmentLayer.LegendItems.Add(legendItem); } }
/// <summary> /// Refreshes the legend. /// </summary> public void RefreshLegend() { //if (!isLegendUpdate) //{ if (this.Legend != null) { this.LegendItems.Clear(); if (this.Series != null) { foreach (SeriesBase series in this.Series) { //if (!(series is PieSeriesBase)) //{ var legendItem = new LegendItem { Series = series }; var showIconBinding = new Binding { Path = new PropertyPath("ShowIcon"), Source = this.Legend }; BindingOperations.SetBinding(legendItem, LegendItem.ShowIconProperty, showIconBinding); this.LegendItems.Add(legendItem); //} //else //{ // LegendItems = (series as PieSeriesBase).LegendItems; //} } } this.Legend.ItemsSource = this.LegendItems; switch (this.Legend.LegendPosition) { case LegendPosition.Inside: if (this.OuterChartPanel != null && this.OuterChartPanel.Children.Contains(this.Legend)) { this.OuterChartPanel.Children.Remove(this.Legend); } if (this.InnerChartPanel != null && !this.InnerChartPanel.Children.Contains(this.Legend)) { this.InnerChartPanel.Children.Add(this.Legend); } break; case LegendPosition.Outside: if (this.InnerChartPanel != null && this.InnerChartPanel.Children.Contains(this.Legend)) { this.InnerChartPanel.Children.Remove(this.Legend); } if (this.OuterChartPanel != null && !this.OuterChartPanel.Children.Contains(this.Legend)) { this.OuterChartPanel.Children.Add(this.Legend); } break; } } //} }
private void FinancialChartType_Load(object sender, System.EventArgs e) { // Get image path MainForm mainForm = (MainForm)this.ParentForm; string imagePath = mainForm.CurrentSamplePath; imagePath += "\\"; // Add custom legend items LegendItem legendItem = new LegendItem(); legendItem.Name = "Dividend"; legendItem.ImageStyle = LegendImageStyle.Marker; legendItem.MarkerImageTransparentColor = Color.White; legendItem.MarkerImage = imagePath + "DividentLegend.bmp"; chart1.Legends[0].CustomItems.Add(legendItem); legendItem = new LegendItem(); legendItem.Name = "Split"; legendItem.ImageStyle = LegendImageStyle.Marker; legendItem.MarkerImageTransparentColor = Color.White; legendItem.MarkerImage = imagePath + "SplitLegend.bmp"; chart1.Legends[0].CustomItems.Add(legendItem); // Populate series data FillData(); SetMarkers(); // Save default appearance chart1.Serializer.Save(defaultViewStyleStream); comboBoxChartType.SelectedIndex = 0; comboBoxMarks.SelectedIndex = 0; }
private void f_绑定稳态数据通道(string PlotName, int YAxisPosition) { 曲线信息 _曲线信息 = new 曲线信息(); _曲线信息.Name = PlotName; _曲线信息.Plot = new ScatterPlot(); _曲线信息.Plot.Tag = true; _曲线信息.Plot.YAxis = new NationalInstruments.UI.YAxis(); _曲线信息.Plot.YAxis.Visible = false; _曲线信息.Plot.YAxis.Position = (NationalInstruments.UI.YAxisPosition)YAxisPosition; this.Graph_View.YAxes.Add(_曲线信息.Plot.YAxis); this.Graph_View.Plots.Add(_曲线信息.Plot); LegendItem item = new LegendItem(); item.Source = _曲线信息.Plot; item.Text = PlotName; legend1.Items.Add(item); _曲线信息.ShadowPlot = new ScatterPlot(); _曲线信息.ShadowPlot.LineColor = this.Graph_View.PlotAreaColor; _曲线信息.ShadowPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor; _曲线信息.ShadowPlot.PointSize = new System.Drawing.Size(8, 8); _曲线信息.ShadowPlot.PointStyle = NationalInstruments.UI.PointStyle.Cross; _曲线信息.ShadowPlot.YAxis = _曲线信息.Plot.YAxis; _曲线信息.ShadowPlot.Tag = false; this.Graph_View.Plots.Add(_曲线信息.ShadowPlot); }
private void chart1_MouseDown(object sender, MouseEventArgs e) { HitTestResult result = chart1.HitTest(e.X, e.Y); if (result != null && result.Object != null) { // When user hits the LegendItem if (result.Object is LegendItem) { // Legend item result LegendItem legendItem = (LegendItem)result.Object; // series item selected Series selectedSeries = (Series)legendItem.Tag; if (selectedSeries != null) { if (selectedSeries.Enabled) { selectedSeries.Enabled = false; legendItem.Cells[0].Image = string.Format(Application.StartupPath + @"/img/chk_unchecked.png"); // legendItem.Cells[0].ImageTranspColor = Color.Red; } else { selectedSeries.Enabled = true; legendItem.Cells[0].Image = string.Format(Application.StartupPath + @"/img/chk_checked.png"); // legendItem.Cells[0].ImageTranspColor = Color.Red; } chart1.ResetAutoValues(); } } } }
/// <summary> /// 绑定PLC通道 /// </summary> /// <param name="Adress"></param> private void f_绑定稳态数据通道(string Adress, string PlotName) { 稳态波形通道 class_稳态波形通道 = new 稳态波形通道(); class_稳态波形通道.波形间隔 = -1; class_稳态波形通道.数据编码 = 数据存储.数据来源编码规则.GetPLC(Adress); class_稳态波形通道.稳态波形 = this.f_GetWaveData; 曲线信息 _曲线信息 = new 曲线信息(); _曲线信息.稳态波形通道 = class_稳态波形通道; _曲线信息.Plot = new NationalInstruments.UI.ScatterPlot(); _曲线信息.Plot.YAxis = new NationalInstruments.UI.YAxis(); _曲线信息.Plot.YAxis.Visible = false; this.Graph_View.YAxes.Add(_曲线信息.Plot.YAxis); this.Graph_View.Plots.Add(_曲线信息.Plot); LegendItem item = new LegendItem(); item.Source = _曲线信息.Plot; item.Text = PlotName; legend1.Items.Add(item); 数据项 _数据项 = 数据项哈希存储.GetItem(class_稳态波形通道.数据编码); _数据项.TheWChannelManager.注册通道(class_稳态波形通道); _数据项.TheWChannelManager.开始绘制波形(); _曲线信息.数据项 = _数据项; List_曲线信息.Add(_曲线信息); }
private void ResourceChart_CustomizeLegend(object sender, CustomizeLegendEventArgs e) { e.LegendItems.Clear(); foreach (var series in ResourceChart.Series) { var legendItem = new LegendItem(); legendItem.SeriesName = series.Name; legendItem.ImageStyle = LegendImageStyle.Rectangle; legendItem.BorderColor = Color.Empty; legendItem.Name = series.Name + "_legendItem"; legendItem.Cells.Add(LegendCellType.SeriesSymbol, "", ContentAlignment.MiddleCenter); legendItem.Cells.Add(LegendCellType.Text, series.LegendText, ContentAlignment.MiddleLeft); var col = series.BorderColor != Color.Empty ? series.BorderColor : series.Color; if (series.Enabled) { legendItem.Color = col; legendItem.Cells[1].ForeColor = SystemColors.ControlText; } else { legendItem.Color = Color.FromArgb(col.A / 4, col); legendItem.Cells[1].ForeColor = SystemColors.GrayText; } e.LegendItems.Add(legendItem); } }
private void _chart_CustomizeLegend(object sender, CustomizeLegendEventArgs e) { e.LegendItems.Clear(); foreach (var series in this._chart.Series) { var legendItem = new LegendItem(); legendItem.SeriesName = series.Name; legendItem.ImageStyle = LegendImageStyle.Rectangle; legendItem.BorderColor = Color.Transparent; legendItem.Name = series.Name + "_legend_item"; int i = legendItem.Cells.Add(LegendCellType.SeriesSymbol, "", ContentAlignment.MiddleCenter); legendItem.Cells.Add(LegendCellType.Text, series.Name, ContentAlignment.MiddleCenter); if (series.Enabled) { legendItem.Color = series.Color; } else { legendItem.Color = Color.FromArgb(100, series.Color); } e.LegendItems.Add(legendItem); } }
private LegendAdornmentLayer GetEarthquakeLegendLayer(EarthquakeIsoLineFeatureLayer earthquakeFeatureLayer) { LegendAdornmentLayer isoLevelLegendLayer = null; if (mapControl.AdornmentOverlay.Layers.Contains(Resources.IsoLineLevelLegendLayerName)) { isoLevelLegendLayer = (LegendAdornmentLayer)mapControl.AdornmentOverlay.Layers[Resources.IsoLineLevelLegendLayerName]; } else if (earthquakeFeatureLayer != null) { isoLevelLegendLayer = new LegendAdornmentLayer(); isoLevelLegendLayer.Width = 85; isoLevelLegendLayer.Height = 320; isoLevelLegendLayer.Location = AdornmentLocation.LowerRight; isoLevelLegendLayer.ContentResizeMode = LegendContentResizeMode.Fixed; mapControl.AdornmentOverlay.Layers.Add(Resources.IsoLineLevelLegendLayerName, isoLevelLegendLayer); LegendItem flagLegendItem = new LegendItem(); flagLegendItem.TextStyle = new TextStyle("Magnitude", new GeoFont("Arial", 10), new GeoSolidBrush(GeoColor.StandardColors.Black)); flagLegendItem.TextLeftPadding = -20; isoLevelLegendLayer.LegendItems.Add(flagLegendItem); for (int i = 0; i < earthquakeFeatureLayer.IsoLineLevels.Count; i++) { LegendItem legendItem = new LegendItem(); legendItem.TextStyle = new TextStyle(earthquakeFeatureLayer.IsoLineLevels[i].ToString("f2"), new GeoFont("Arial", 10), new GeoSolidBrush(GeoColor.StandardColors.Black)); legendItem.ImageStyle = earthquakeFeatureLayer.LevelClassBreakStyle.ClassBreaks[i].DefaultAreaStyle; legendItem.ImageWidth = 25; isoLevelLegendLayer.LegendItems.Add(legendItem); } } return(isoLevelLegendLayer); }
public void AddLegend(LegendItem legend) { if (!LegendMarks.Contains(legend)) { LegendMarks.Add(legend); } }
private ILegendItem CreateCategoryThemeLegendItem <T>(ILegendSettings settings, CategoryTheme <T> ct) where T : IComparable <T> { var res = new LegendItem { Label = " (" + ct.ColumnName + ")", LabelFont = settings.ItemFont, LabelBrush = settings.ForeColor, Indentation = settings.SymbolSize.Width }; var defaultItem = Factory[ct.Default.Style].Create(settings, ct.Default.Style); defaultItem.Label = "(" + ct.Default.Title + ")"; defaultItem.LabelBrush = settings.ForeColor; defaultItem.LabelFont = settings.ItemFont; defaultItem.Parent = res; res.SubItems.Add(defaultItem); foreach (var element in ct.ItemsAsReadOnly()) { var style = element.Style; var item = Factory[style].Create(settings, style); item.Label = element.Title; item.LabelFont = settings.ItemFont; item.LabelBrush = settings.ForeColor; item.Parent = res; item.Item = style; res.SubItems.Add(item); } return(res); }
private void AddValueCircleLegendItems(DemographicStyleBuilder styleBuilder, LegendAdornmentLayer legendAdornmentLayer, Map map) { ShapeFileFeatureLayer statesLayer = map.DynamicOverlay.Layers["usStatesLayer"] as ShapeFileFeatureLayer; ValueCircleStyle valueCircleStyle = (ValueCircleStyle)styleBuilder.GetStyle(statesLayer.FeatureSource); int[] circleAreas = new int[] { 160, 320, 640, 1280 }; foreach (int circleArea in circleAreas) { LegendItem legendItem = new LegendItem(); double radius = Math.Sqrt(circleArea / Math.PI); legendItem.ImageStyle = new PointStyle(PointSymbolType.Circle, new GeoSolidBrush(valueCircleStyle.InnerColor), new GeoPen(new GeoSolidBrush(valueCircleStyle.OuterColor)), (int)(radius * 2)); AreaStyle maskStyle = new AreaStyle(new GeoPen(GeoColor.StandardColors.LightGray, 1), new GeoSolidBrush(GeoColor.SimpleColors.Transparent)); legendItem.ImageMask = maskStyle; legendItem.ImageWidth = 48; legendItem.TextTopPadding = 16; legendItem.TextRightPadding = 5; legendItem.BottomPadding = 16; legendItem.TopPadding = 16; legendItem.RightPadding = 5; double drawingRadius = circleArea / valueCircleStyle.DrawingRadiusRatio * valueCircleStyle.BasedScale / valueCircleStyle.DefaultZoomLevel.Scale; double ratio = (valueCircleStyle.MaxValidValue - valueCircleStyle.MinValidValue) / (valueCircleStyle.MaxCircleAreaInDefaultZoomLevel - valueCircleStyle.MinCircleAreaInDefaultZoomLevel); double resultValue = (drawingRadius - valueCircleStyle.MinCircleAreaInDefaultZoomLevel) * ratio + valueCircleStyle.MinValidValue; string text = DemographicStyleTextFormatter.GetFormatedStringForLegendItem(valueCircleStyle.ColumnName, resultValue); legendItem.TextStyle = new TextStyle(text, new GeoFont("Segoe UI", 10), new GeoSolidBrush(GeoColor.SimpleColors.Black)); legendAdornmentLayer.LegendItems.Add(legendItem); } }
private void AddCustomLegendItem(Series series) { var legendItem = new LegendItem(); legendItem.Cells.Add(new LegendCell { CellType = LegendCellType.Image, Image = _checked, //ImageSize = new Size(192, 192), ImageTransparentColor = Color.Red, }); legendItem.Cells.Add(new LegendCell { CellType = LegendCellType.SeriesSymbol, }); legendItem.Cells.Add(new LegendCell { Alignment = ContentAlignment.MiddleLeft, Text = series.Name }); legendItem.BorderColor = Color.Transparent; //legendItem.BorderWidth = 2; chart1.ApplyPaletteColors(); legendItem.Color = series.Color; legendItem.Tag = series; chart1.Legends[0].CustomItems.Add(legendItem); }
/// <summary> /// Adds a ClassBreakStyle to the housingUnitsLayer that changes colors based on the numerical value of the H_UNITS column as they fall within the range of a ClassBreak /// </summary> private static void AddClassBreakStyle(ShapeFileFeatureLayer layer, LegendAdornmentLayer legend) { // Create the ClassBreakStyle based on the H_UNITS numerical column var housingUnitsStyle = new ClassBreakStyle("H_UNITS"); var classBreakIntervals = new double[] { 0, 1000, 2000, 3000, 4000, 5000 }; var colors = GeoColor.GetColorsInHueFamily(GeoColors.Red, classBreakIntervals.Count()).Reverse().ToList(); // Create ClassBreaks for each of the classBreakIntervals for (var i = 0; i < classBreakIntervals.Count(); i++) { // Create the classBreak using one of the intervals and colors defined above var classBreak = new ClassBreak(classBreakIntervals[i], AreaStyle.CreateSimpleAreaStyle(new GeoColor(192, colors[i]), GeoColors.White)); // Add the classBreak to the housingUnitsStyle ClassBreaks collection housingUnitsStyle.ClassBreaks.Add(classBreak); // Add a LegendItem to the legend adornment to represent the classBreak var legendItem = new LegendItem() { ImageStyle = classBreak.DefaultAreaStyle, TextStyle = new TextStyle($@">{classBreak.Value} units", new GeoFont("Verdana", 10), GeoBrushes.Black) }; legend.LegendItems.Add(legendItem); } // Add and apply the ClassBreakStyle to the housingUnitsLayer layer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(housingUnitsStyle); layer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; }
//转换MODEL private VitalSignCurveDetailModel ConvertToDetailModel(MedVitalSignCurveDetail detail) { VitalSignCurveDetailModel detailMode = new VitalSignCurveDetailModel(); detailMode.CurveName = detail.CurveName; detailMode.CurveCode = detail.CurveCode; detailMode.Visible = detail.Visible; string type = detail.SymbolType.ToString(); LegendItem item = new LegendItem(); item.Code = detail.CurveCode; item.DisplayName = detail.CurveName; item.Symbol = new SymbolModel((SymbolType)Enum.Parse(typeof(SymbolType), type)); detailMode.LegendList.Add(item); // detailMode.LegendDictionary.Add(detail.CurveName, new SymbolModel((SymbolType)Enum.Parse(typeof(SymbolType), type))); detailMode.SymbolEntry = detail.SymbolEntry; detailMode.Color = detail.Color; detailMode.DecimalDigits = detail.DotNumber; string showType = detail.ShowType.ToString(); detailMode.ShowType = (CurveShowType)Enum.Parse(typeof(CurveShowType), showType); detailMode.YAxisIndex = detail.YAxisIndex; string showTime = detail.ShowTimeInterval.ToString(); detailMode.ShowTimeInterval = (ShowTimeInterval)Enum.Parse(typeof(ShowTimeInterval), showTime); DateTimeRangeModel timeRange = new DateTimeRangeModel(detail.HideStartTime, detail.HideEndTime); detailMode.HideTime = new List <DateTimeRangeModel>(); detailMode.HideTime.Add(timeRange); return(detailMode); }
/// <summary> /// 绑定功率分析仪通道 /// </summary> /// <param name="IP"></param> /// <param name="Adress"></param> private void f_绑定稳态数据通道(string IP, string Adress,string PlotName) { // 创建绘制波形的对象 稳态波形通道 class_稳态波形通道 = new 稳态波形通道(); class_稳态波形通道.波形间隔 = -1; class_稳态波形通道.数据编码 = 数据存储.数据来源编码规则.GetAnyWay(IP, Adress); class_稳态波形通道.稳态波形 = this.f_GetWaveData; // 创建保存绘制波形对象的引用类,保存相关信息 曲线信息 _曲线信息 = new 曲线信息(); _曲线信息.稳态波形通道 = class_稳态波形通道; _曲线信息.Plot = new NationalInstruments.UI.ScatterPlot(); _曲线信息.Plot.YAxis = new NationalInstruments.UI.YAxis(); _曲线信息.Plot.YAxis.Visible = false; LegendItem item = new LegendItem(); item.Source = _曲线信息.Plot; item.Text = PlotName; legend1.Items.Add(item); this.Graph_View.YAxes.Add(_曲线信息.Plot.YAxis); this.Graph_View.Plots.Add(_曲线信息.Plot); // 找到数据源 数据项 _数据项 = 数据项哈希存储.GetItem(class_稳态波形通道.数据编码); //System.Threading.Thread.Sleep(100); _数据项.TheWChannelManager.注册通道(class_稳态波形通道); _数据项.TheWChannelManager.开始绘制波形(); // 保存数据源相关信息 _曲线信息.数据项 = _数据项; // 保存进内存 List_曲线信息.Add(_曲线信息); }
private void AddSeries(int id, Color color, List <Point> points) { var series = new Series("route" + id) { ChartType = SeriesChartType.Line, BorderDashStyle = ChartDashStyle.Dash, MarkerSize = 8, BorderWidth = 2, Color = color, MarkerStyle = MarkerStyle.Circle }; series.Points.AddXY(5 * dif, 5 * dif); for (int i = 0; i < points.Count; i++) { series.Points.AddXY(points[i].X * dif, points[i].Y * dif); } series.Points.AddXY(points[0].X * dif, points[0].Y * dif); series.IsVisibleInLegend = false; series.Legend = "Routes"; var legendItem = new LegendItem() { ImageStyle = LegendImageStyle.Line, MarkerSize = 8, MarkerBorderWidth = 2, Name = "Route " + id, Color = color }; chart.Legends["Routes"].CustomItems.Add(legendItem); chart.Series.Add(series); }
private void AddPoint(int id, Color color, Point point) { var series = new Series("tram" + id) { ChartType = SeriesChartType.Line, Color = color, MarkerStyle = MarkerStyle.Circle, MarkerSize = 10, MarkerBorderWidth = 2, MarkerBorderColor = Color.Black, Label = "Tram " + id }; series.Points.AddXY(point.X, point.Y); series.IsVisibleInLegend = false; series.Legend = "Trams"; var legendItem = new LegendItem() { ImageStyle = LegendImageStyle.Marker, MarkerSize = 10, MarkerBorderWidth = 1, Name = String.Format("{0, -30}", "Tram " + id), Color = color }; chart.Legends["Trams"].CustomItems.Add(legendItem); chart.Series.Add(series); }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { // If user clicks on the map area attribute that corresponds to a legend item if (e.PostBackValue.StartsWith("LegendClick")) { string args = e.PostBackValue.Split('/')[1]; // Identify which legend item was clicked int index = int.Parse(args); // Legend item result LegendItem legendItem = this.Chart1.Legends[0].CustomItems[index]; // Resets all radio button images to be unchecked foreach (LegendItem item in this.Chart1.Legends[0].CustomItems) { item.Cells[0].ImageTransparentColor = Color.Black; item.Cells[0].Image = "radio_button_unchecked.gif"; } this.Chart1.Series[0].ChartType = (SeriesChartType)Enum.Parse(typeof(SeriesChartType), legendItem.Cells[1].Text, true); this.Chart1.Series[0].BorderWidth = this.Chart1.Series[0].ChartType == SeriesChartType.Line ? 3 : 1; legendItem.Cells[0].Image = "radio_button_checked.gif"; legendItem.Cells[0].ImageTransparentColor = Color.Green; } }
private void lqtChart1_MouseDown(object sender, MouseEventArgs e) { HitTestResult result = lqtChart1.HitTest(e.X, e.Y); if (result != null && result.Object != null) { // When user hits the LegendItem if (result.Object is LegendItem) { // Legend item result LegendItem legendItem = (LegendItem)result.Object; // series item selected Series selectedSeries = (Series)legendItem.Tag; if (selectedSeries != null) { if (selectedSeries.Enabled) { selectedSeries.Enabled = false; legendItem.Cells[0].Image = Unchecked_Image_Path; legendItem.Cells[0].ImageTransparentColor = Color.Red; } else { selectedSeries.Enabled = true; legendItem.Cells[0].Image = Checked_Image_Path; legendItem.Cells[0].ImageTransparentColor = Color.Red; } } } } }
private void chart1_MouseDown(object sender, MouseEventArgs e) { HitTestResult result = chart1.HitTest(e.X, e.Y); if (result != null && result.Object != null) { if (result.Object is LegendItem) { LegendItem legend = (LegendItem)result.Object; Series SelectedSeries = (Series)legend.Tag; if (SelectedSeries != null) { if (SelectedSeries.Enabled) { SelectedSeries.Enabled = false; legend.Cells[0].Image = string.Format(Application.StartupPath + @"/img/chk_unchecked.png"); } else { SelectedSeries.Enabled = true; legend.Cells[0].Image = string.Format(Application.StartupPath + @"/img/chk_checked.png"); } chart1.ResetAutoValues(); } } } }
private void chart1_MouseDown(object sender, MouseEventArgs e) { HitTestResult result = chart1.HitTest(e.X, e.Y); if (result != null && result.Object != null) { // When user hits the LegendItem if (result.Object is LegendItem) { // Legend item result LegendItem legendItem = (LegendItem)result.Object; // series item selected Series selectedSeries = (Series)legendItem.Tag; if (selectedSeries != null) { if (selectedSeries.Enabled) { selectedSeries.Enabled = false; selectedSeries.IsVisibleInLegend = false; } else { selectedSeries.Enabled = true; selectedSeries.IsVisibleInLegend = false; } } } } }
public static LegendItem BuildDefaultLegendItem(IPlotterElement chart) { DependencyObject dependencyChart = (DependencyObject)chart; LegendItem result = new LegendItem(); SetCommonBindings(result, chart); return result; }
protected void Page_Load(object sender, System.EventArgs e) { ChartTypeList.Enabled = true; ShowCloseOnly.Enabled = true; OpenCloseMarks.Enabled = true; if ( !this.IsPostBack ) { // Add custom legend items LegendItem legendItem = new LegendItem(); legendItem.Name = "Dividend"; legendItem.ImageStyle = LegendImageStyle.Marker; legendItem.MarkerImageTransparentColor = Color.White; legendItem.MarkerImage = "DividentLegend.bmp"; Chart1.Legends[0].CustomItems.Add(legendItem); legendItem = new LegendItem(); legendItem.Name = "Split"; legendItem.ImageStyle = LegendImageStyle.Marker; legendItem.MarkerImageTransparentColor = Color.White; legendItem.MarkerImage = "SplitLegend.bmp"; Chart1.Legends[0].CustomItems.Add(legendItem); // Populate series data FillData(); } // Set series chart type Chart1.Series["Price"].ChartType = (SeriesChartType) Enum.Parse( typeof(SeriesChartType), ChartTypeList.SelectedItem.Text, true ); // Set stock chart attributes if(ChartTypeList.SelectedItem.Text == "Stock") { OpenCloseMarks.Enabled = true; ShowCloseOnly.Enabled = true; Chart1.Series["Price"]["OpenCloseStyle"] = OpenCloseMarks.SelectedItem.Text; if(ShowCloseOnly.Checked) { Chart1.Series["Price"]["ShowOpenClose"] = "Close"; } else { Chart1.Series["Price"]["ShowOpenClose"] = "true"; } Chart1.Series["Price"]["PointWidth"] = "1.0"; } else { Chart1.Series["Price"]["PointWidth"] = "0.8"; OpenCloseMarks.Enabled = false; ShowCloseOnly.Enabled = false; } Chart1.Series["Volume"]["PointWidth"] = "0.5"; }
protected void Page_Load(object sender, System.EventArgs e) { // Disable legend item for the first series Chart1.Series[0].IsVisibleInLegend = false; // Add simple custom legend item Chart1.Legends["Default"].CustomItems.Add(Color.FromArgb(32, 120,147,190), "Critical Values"); // Add custom legend item with line style LegendItem legendItem = new LegendItem(); legendItem.Name = "Line Style Item"; legendItem.ImageStyle = LegendImageStyle.Line; legendItem.ShadowOffset = 1; legendItem.Color = Color.LightBlue; legendItem.MarkerStyle = MarkerStyle.Circle; Chart1.Legends["Default"].CustomItems.Add(legendItem); // Add custom legend item with marker style legendItem = new LegendItem(); legendItem.Name = "Marker Style Item"; legendItem.ImageStyle = LegendImageStyle.Marker; legendItem.ShadowOffset = 1; legendItem.Color = Color.Yellow; legendItem.MarkerStyle = MarkerStyle.Cross; legendItem.MarkerSize = 10; legendItem.MarkerBorderColor = Color.Black; Chart1.Legends["Default"].CustomItems.Add(legendItem); legendItem = new LegendItem(); legendItem.Name = "Image Style Item"; legendItem.Image = "Flag.gif"; legendItem.BackImageTransparentColor = Color.White; Chart1.Legends["Default"].CustomItems.Add(legendItem); // Add a strip line StripLine stripLine = new StripLine(); stripLine.BackColor = Chart1.Legends["Default"].CustomItems[0].Color; stripLine.IntervalOffset = 500; stripLine.StripWidth = 300; Chart1.ChartAreas["ChartArea1"].AxisY.StripLines.Add(stripLine); }
/// <summary> /// Method to create the legend item /// </summary> /// <param name="settings">The legend settings</param> /// <param name="item">The item to create a legend item for</param> /// <returns>The legend item, if one could be created, otherwise <c>null</c></returns> public virtual ILegendItem Create(ILegendSettings settings, object item) { if (settings == null) throw new ArgumentNullException("settings"); if (item == null) throw new ArgumentNullException("item"); CheckType(item); var res = new LegendItem { Label = CreateLabel(item), Item = item, Symbol = CreateSymbol(settings.SymbolSize, item), LabelFont = settings.ItemFont, LabelBrush = settings.ForeColor, Padding = settings.Padding, Exclude = CheckExclude(item) }; res.Expanded = CheckExpanded(res); return res; }
public static void SetCommonBindings(LegendItem legendItem, object chart) { legendItem.DataContext = chart; legendItem.SetBinding(Legend.VisualContentProperty, new Binding { Path = new PropertyPath("(0)", Legend.VisualContentProperty) }); legendItem.SetBinding(Legend.DescriptionProperty, new Binding { Path = new PropertyPath("(0)", Legend.DescriptionProperty) }); }
public ILegendItem Create(ILegendSettings settings, object item) { if (item == null) throw new ArgumentNullException("item"); if (!(item is ISymbolizer)) throw new ArgumentException("item is not a ISymbolizer class"); var sym = (ISymbolizer) item; var res = new LegendItem(); if (IsPointSymbolizer(sym)) { var nli = CreateSymbolizerLegendItem(settings, CreatePuntalSymbol(settings.SymbolSize, sym)); nli.Parent = res; nli.Item = sym; res.SubItems.Add(nli); } if (IsLineSymbolizer(sym)) { var nli = CreateSymbolizerLegendItem(settings, CreateLinealSymbol(settings.SymbolSize, sym)); nli.Parent = res; nli.Item = sym; res.SubItems.Add(nli); } if (IsPolygonSymbolizer(sym)) { var nli = CreateSymbolizerLegendItem(settings, CreatePolygonalSymbol(settings.SymbolSize, sym)); nli.Parent = res; nli.Item = sym; res.SubItems.Add(nli); } if (res.SubItems.Count == 0) return new LegendItem(); if (res.SubItems.Count == 1) return res.SubItems.First(); res.Expanded = true; res.Padding = settings.Padding; res.Indentation = settings.SymbolSize.Width; return res; }
/// <summary> /// Initializes a new instance of the FunctionSeries class. /// </summary> public FunctionSeries() { LegendItem = new LegendItem(); LegendItems.Add(LegendItem); Clip = ClipGeometry = new RectangleGeometry(); SizeChanged += OnSizeChanged; // Explicitly load the default template since the samples project // is an application and does not have a generic.xaml file. Template = XamlReader.Load(DefaultTemplate) as ControlTemplate; LineBrush = new SolidColorBrush(Colors.Purple); }
public void 构造波形() { YAxis 电压Y轴 = new YAxis(); YAxis 电流Y轴 = new YAxis(); YAxis 流量Y轴 = new YAxis(); YAxis 进口压力Y轴 = new YAxis(); YAxis 出口压力Y轴 = new YAxis(); YAxis 转速Y轴 = new YAxis(); xyGraph1.Graph.YAxes.Clear(); xyGraph1.Graph.YAxes.Add(转速Y轴); xyGraph1.Graph.YAxes.Add(出口压力Y轴); xyGraph1.Graph.YAxes.Add(进口压力Y轴); xyGraph1.Graph.YAxes.Add(流量Y轴); xyGraph1.Graph.YAxes.Add(电流Y轴); xyGraph1.Graph.YAxes.Add(电压Y轴); ScatterPlot 电压线 = new ScatterPlot(); 电压线.YAxis = 电压Y轴; NationalInstruments.UI.LegendItem 电压标签 = new LegendItem(); 电压标签.Text = "电压"; 电压标签.Source = 电压线; ScatterPlot 电流线 = new ScatterPlot(); 电流线.YAxis = 电流Y轴; NationalInstruments.UI.LegendItem 电流标签 = new LegendItem(); 电流标签.Text = "电流"; 电流标签.Source = 电流线; ScatterPlot 流量线 = new ScatterPlot(); 流量线.YAxis = 流量Y轴; NationalInstruments.UI.LegendItem 流量标签 = new LegendItem(); 流量标签.Text = "流量"; 流量标签.Source = 流量线; ScatterPlot 转速线 = new ScatterPlot(); 转速线.YAxis = 转速Y轴; NationalInstruments.UI.LegendItem 转速标签 = new LegendItem(); 转速标签.Text = "转速"; 转速标签.Source = 转速线; ScatterPlot 进口压力线 = new ScatterPlot(); 进口压力线.YAxis = 进口压力Y轴; NationalInstruments.UI.LegendItem 进口压力标签 = new LegendItem(); 进口压力标签.Text = "进口压力"; 进口压力标签.Source = 进口压力线; ScatterPlot 出口压力线 = new ScatterPlot(); 出口压力线.YAxis = 出口压力Y轴; NationalInstruments.UI.LegendItem 出口压力标签 = new LegendItem(); 出口压力标签.Text = "出口压力"; 出口压力标签.Source = 出口压力线; xyGraph1.Graph.Plots.Clear(); xyGraph1.Graph.Plots.Add(电压线); xyGraph1.Graph.Plots.Add(电流线); xyGraph1.Graph.Plots.Add(流量线); xyGraph1.Graph.Plots.Add(进口压力线); xyGraph1.Graph.Plots.Add(出口压力线); xyGraph1.Graph.Plots.Add(转速线); this.xyGraph1.波形下标.Items.Add(电压标签); this.xyGraph1.波形下标.Items.Add(电流标签); this.xyGraph1.波形下标.Items.Add(流量标签); this.xyGraph1.波形下标.Items.Add(进口压力标签); this.xyGraph1.波形下标.Items.Add(出口压力标签); this.xyGraph1.波形下标.Items.Add(转速标签); 电压Y轴.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "F0"); 电压Y轴.MajorDivisions.LabelForeColor = 电压线.LineColor; 电流Y轴.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "F0"); 电流Y轴.MajorDivisions.LabelForeColor = 电流线.LineColor; 流量Y轴.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "F0"); 流量Y轴.MajorDivisions.LabelForeColor = 流量线.LineColor; 进口压力Y轴.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "F0"); 进口压力Y轴.MajorDivisions.LabelForeColor = 进口压力线.LineColor; 出口压力Y轴.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "F0"); 出口压力Y轴.MajorDivisions.LabelForeColor = 出口压力线.LineColor; 转速Y轴.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "F0"); 转速Y轴.MajorDivisions.LabelForeColor = 转速线.LineColor; }
private void AddPieGraphLegendItems(LegendAdornmentLayer legendAdornmentLayer) { PieZedGraphStyle zedGraphStyle = (PieZedGraphStyle)CurrentStyleBuilder.GetStyles(mapModel.DefaultFeatureLayer.FeatureSource)[0]; foreach (KeyValuePair<string, GeoColor> item in zedGraphStyle.PieSlices) { LegendItem legendItem = new LegendItem(); legendItem.ImageWidth = 20; legendItem.TextRightPadding = 5; legendItem.RightPadding = 5; legendItem.ImageStyle = new AreaStyle(new GeoSolidBrush(item.Value)); legendItem.TextStyle = new TextStyle(item.Key, new GeoFont("Segoe UI", 10), new GeoSolidBrush(GeoColor.SimpleColors.Black)); legendAdornmentLayer.LegendItems.Add(legendItem); } }
private void UserU50Graph_Load( object sender, EventArgs e ) { ChartArea chartArea1 = new ChartArea(); ChartArea chartArea2 = new ChartArea(); Legend legend1 = new Legend(); Series series1 = new Series(); Series series2 = new Series(); Series series3 = new Series(); // chart1 this.chart1.BackColor = Color.FromArgb( ( (byte)( 211 ) ), ( (byte)( 223 ) ), ( (byte)( 240 ) ) ); this.chart1.BackGradientEndColor = Color.White; this.chart1.BackGradientType = GradientType.TopBottom; this.chart1.BorderLineColor = Color.FromArgb( ( (byte)( 26 ) ), ( (byte)( 59 ) ), ( (byte)( 105 ) ) ); this.chart1.BorderLineStyle = ChartDashStyle.Solid; this.chart1.BorderLineWidth = 1; this.chart1.BorderSkin.SkinStyle = BorderSkinStyle.Emboss; // chartArea1 chartArea1.AxisX.LabelStyle.TruncatedLabels = false; chartArea1.AxisX.LabelStyle.ShowEndLabels = false; chartArea1.AxisX.LabelStyle.Format = "m"; chartArea1.AxisX.LineColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea1.AxisX.MajorGrid.LineColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea1.AxisX.MinorGrid.Enabled = true; chartArea1.AxisX.MinorGrid.Interval = 1; chartArea1.AxisX.MinorGrid.LineColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea1.AxisX.StartFromZero = false; chartArea1.AxisX.Interval = 5; chartArea1.AxisY.Enabled = AxisEnabled.False; chartArea1.AxisY.StartFromZero = false; chartArea1.AxisY.Interval = 3; chartArea1.AxisY2.Enabled = AxisEnabled.True; chartArea1.AxisY2.LineColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea1.AxisY2.MajorGrid.LineColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea1.AxisY2.StartFromZero = false; chartArea1.AxisY2.MinorGrid.Enabled = true; chartArea1.AxisY2.MinorGrid.Interval = 1; chartArea1.AxisY2.MinorGrid.LineColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea1.AxisY2.Interval = 3; chartArea1.BackColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 165 ) ), ( (byte)( 191 ) ), ( (byte)( 228 ) ) ); chartArea1.BackGradientEndColor = Color.White; chartArea1.BackGradientType = GradientType.TopBottom; chartArea1.BorderColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea1.BorderStyle = ChartDashStyle.Solid; chartArea1.Name = "PriceArea"; chartArea1.Position.Auto = false; chartArea1.Position.Height = 70F; chartArea1.Position.Width = 88F; chartArea1.Position.X = 7F; chartArea1.Position.Y = 10F; chartArea1.ShadowColor = Color.Transparent; // chartArea2 chartArea2.AlignWithChartArea = "PriceArea"; chartArea2.AxisX.Enabled = AxisEnabled.False; chartArea2.AxisY.Enabled = AxisEnabled.False; chartArea2.AxisY.StartFromZero = false; chartArea2.AxisY2.Enabled = AxisEnabled.True; chartArea2.AxisY2.LineColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea2.AxisY2.MajorGrid.LineColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea2.AxisY2.StartFromZero = false; chartArea2.BackColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 165 ) ), ( (byte)( 191 ) ), ( (byte)( 228 ) ) ); chartArea2.BackGradientEndColor = Color.White; chartArea2.BackGradientType = GradientType.TopBottom; chartArea2.BorderColor = Color.FromArgb( ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ), ( (byte)( 64 ) ) ); chartArea2.BorderStyle = ChartDashStyle.Solid; chartArea2.Name = "VolumeArea"; chartArea2.Position.Auto = false; chartArea2.Position.Height = 18F; chartArea2.Position.Width = 88F; chartArea2.Position.X = 7F; chartArea2.Position.Y = 80F; chartArea2.ShadowColor = Color.Transparent; this.chart1.ChartAreas.Add( chartArea1 ); this.chart1.ChartAreas.Add( chartArea2 ); // legend1 legend1.LegendStyle = LegendStyle.Table; legend1.TableStyle = LegendTableStyle.Auto; legend1.Alignment = StringAlignment.Near; legend1.Docking = LegendDocking.Top; legend1.DockInsideChartArea = false; legend1.DockToChartArea = "PriceArea"; legend1.Name = "Default"; legend1.Title = "U50形态股票报表"; legend1.TitleSeparator = LegendSeparatorType.GradientLine; legend1.BorderColor = Color.Transparent; legend1.BackColor = Color.White; legend1.BackGradientEndColor = Color.FromArgb( ( (byte)( 211 ) ), ( (byte)( 223 ) ), ( (byte)( 240 ) ) ); legend1.BackGradientType = GradientType.TopBottom; legend1.ShadowOffset = 1; this.chart1.Legends.Add( legend1 ); LegendItem legendItem = new LegendItem(); chart1.Legend.CustomItems.Add( legendItem ); legendItem.Cells.Add( new LegendCell( LegendCellType.Text, "股票代号(xxxx)", ContentAlignment.TopLeft ) ); legendItem.Cells.Add( new LegendCell( LegendCellType.Text, "起始日期(xxxx)", ContentAlignment.TopLeft ) ); legendItem.Cells.Add( new LegendCell( LegendCellType.Text, "成交量变化(xxxx)", ContentAlignment.MiddleLeft ) ); legendItem = new LegendItem(); chart1.Legend.CustomItems.Add( legendItem ); legendItem.Cells.Add( new LegendCell( LegendCellType.Text, "收盘价(xxxx)", ContentAlignment.MiddleLeft ) ); legendItem.Cells.Add( new LegendCell( LegendCellType.Text, "K线总数(xxxx)", ContentAlignment.MiddleLeft ) ); legendItem.Cells.Add( new LegendCell( LegendCellType.Text, "平均成交量(xxxx)", ContentAlignment.MiddleLeft ) ); legendItem = new LegendItem(); chart1.Legend.CustomItems.Add( legendItem ); legendItem.Cells.Add( new LegendCell( LegendCellType.Text, "品质系数(xxxx)", ContentAlignment.MiddleLeft ) ); series1.ChartArea = "PriceArea"; series1.Name = "PriceSeries"; series1.Type = SeriesChartType.CandleStick; series1.ShowInLegend = false; series1.XValueType = ChartValueTypes.DateTime; series1.YValuesPerPoint = 4; series1.ShadowOffset = 1; series1.BorderColor = Color.FromArgb( ( (byte)( 180 ) ), ( (byte)( 26 ) ), ( (byte)( 59 ) ), ( (byte)( 105 ) ) ); series1["PointWidth"] = "0.5"; series2.ChartArea = "VolumeArea"; series2.Name = "VolumeSeries"; series2.Type = SeriesChartType.Column; series2.ShowInLegend = false; series2.ShadowOffset = 1; series2.XValueType = ChartValueTypes.DateTime; series2.BorderColor = Color.FromArgb( ( (byte)( 180 ) ), ( (byte)( 26 ) ), ( (byte)( 59 ) ), ( (byte)( 105 ) ) ); series2["PointWidth"] = "0.5"; series3.ChartArea = "PriceArea"; series3.Name = "VolumeAtPriceSeries"; series3.Type = SeriesChartType.Gantt; series3.ShowInLegend = false; series3.ShadowOffset = 1; series3.XValueType = ChartValueTypes.DateTime; //series3.BorderColor = Color.FromArgb( ( (byte)( 180 ) ), ( (byte)( 26 ) ), ( (byte)( 59 ) ), ( (byte)( 105 ) ) ); series3["PointWidth"] = "0.5"; this.chart1.Series.Add( series1 ); this.chart1.Series.Add( series2 ); // Populate series data FillData(); }
void SynchronizeLegendItemStateWithSeries(LegendItem legendItem) { Series series = (Series)legendItem.Tag; if (series.Enabled) { legendItem.Name = series.Name + " [On]"; // Call this to have the proper color in Series Color. this.chartMain.ApplyPaletteColors(); legendItem.Color = series.Color; UpdateDynamicChartAreasState(); } else { legendItem.Name = series.Name + " [Off]"; legendItem.Color = Color.FromArgb(50, Color.Black); } }
/// <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(ControlWindow)); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label78 = new System.Windows.Forms.Label(); this.eOvershootHoldTextBox = new System.Windows.Forms.TextBox(); this.label79 = new System.Windows.Forms.Label(); this.eOvershootFactorTextBox = new System.Windows.Forms.TextBox(); this.switchingLED = new NationalInstruments.UI.WindowsForms.Led(); this.rampLED = new NationalInstruments.UI.WindowsForms.Led(); this.label62 = new System.Windows.Forms.Label(); this.eSwitchTimeTextBox = new System.Windows.Forms.TextBox(); this.label61 = new System.Windows.Forms.Label(); this.eBleedTimeTextBox = new System.Windows.Forms.TextBox(); this.label60 = new System.Windows.Forms.Label(); this.label57 = new System.Windows.Forms.Label(); this.eRampUpDelayTextBox = new System.Windows.Forms.TextBox(); this.label58 = new System.Windows.Forms.Label(); this.eRampDownDelayTextBox = new System.Windows.Forms.TextBox(); this.label59 = new System.Windows.Forms.Label(); this.eRampDownTimeTextBox = new System.Windows.Forms.TextBox(); this.eRampUpTimeTextBox = new System.Windows.Forms.TextBox(); this.fieldsOffButton = new System.Windows.Forms.Button(); this.switchEButton = new System.Windows.Forms.Button(); this.eBleedCheck = new System.Windows.Forms.CheckBox(); this.ePolarityCheck = new System.Windows.Forms.CheckBox(); this.eOnCheck = new System.Windows.Forms.CheckBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label1 = new System.Windows.Forms.Label(); this.greenDCFMBox = new System.Windows.Forms.TextBox(); this.greenOnCheck = new System.Windows.Forms.CheckBox(); this.label7 = new System.Windows.Forms.Label(); this.greenOnAmpBox = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.greenOnFreqBox = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.updateFieldButton = new System.Windows.Forms.Button(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.cPlusOffTextBox = new System.Windows.Forms.TextBox(); this.cMinusOffTextBox = new System.Windows.Forms.TextBox(); this.cMinusTextBox = new System.Windows.Forms.TextBox(); this.cPlusTextBox = new System.Windows.Forms.TextBox(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.calFlipCheck = new System.Windows.Forms.CheckBox(); this.bFlipCheck = new System.Windows.Forms.CheckBox(); this.tabControl = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.groupBox21 = new System.Windows.Forms.GroupBox(); this.eManualStateCheckBox = new System.Windows.Forms.CheckBox(); this.groupBox13 = new System.Windows.Forms.GroupBox(); this.eFieldAsymmetryCheckBox = new System.Windows.Forms.CheckBox(); this.label37 = new System.Windows.Forms.Label(); this.label38 = new System.Windows.Forms.Label(); this.zeroPlusOneMinusBoostTextBox = new System.Windows.Forms.TextBox(); this.zeroPlusBoostTextBox = new System.Windows.Forms.TextBox(); this.groupBox6 = new System.Windows.Forms.GroupBox(); this.gMinusVMonitorTextBox = new System.Windows.Forms.TextBox(); this.cPlusVMonitorTextBox = new System.Windows.Forms.TextBox(); this.gPlusVMonitorTextBox = new System.Windows.Forms.TextBox(); this.updateVMonitorButton = new System.Windows.Forms.Button(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.cMinusVMonitorTextBox = new System.Windows.Forms.TextBox(); this.groupBox7 = new System.Windows.Forms.GroupBox(); this.label85 = new System.Windows.Forms.Label(); this.label84 = new System.Windows.Forms.Label(); this.southV2FSlopeTextBox = new System.Windows.Forms.TextBox(); this.northV2FSlopeTextBox = new System.Windows.Forms.TextBox(); this.leakageMonitorSlopeTextBox = new System.Windows.Forms.TextBox(); this.label64 = new System.Windows.Forms.Label(); this.stopIMonitorPollButton = new System.Windows.Forms.Button(); this.saveToFile = new System.Windows.Forms.Button(); this.stopIRecordButton = new System.Windows.Forms.Button(); this.startIRecordButton = new System.Windows.Forms.Button(); this.legend1 = new NationalInstruments.UI.WindowsForms.Legend(); this.NorthLegendItem = new NationalInstruments.UI.LegendItem(); this.northLeakagePlot = new NationalInstruments.UI.WaveformPlot(); this.xAxis1 = new NationalInstruments.UI.XAxis(); this.yAxis1 = new NationalInstruments.UI.YAxis(); this.SouthLegendItem = new NationalInstruments.UI.LegendItem(); this.southLeakagePlot = new NationalInstruments.UI.WaveformPlot(); this.label63 = new System.Windows.Forms.Label(); this.iMonitorPollPeriod = new System.Windows.Forms.TextBox(); this.startIMonitorPollButton = new System.Windows.Forms.Button(); this.leakageGraph = new NationalInstruments.UI.WindowsForms.WaveformGraph(); this.IMonitorMeasurementLengthTextBox = new System.Windows.Forms.TextBox(); this.label35 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.northOffsetIMonitorTextBox = new System.Windows.Forms.TextBox(); this.label16 = new System.Windows.Forms.Label(); this.southOffsetIMonitorTextBox = new System.Windows.Forms.TextBox(); this.zeroIMonitorButton = new System.Windows.Forms.Button(); this.southIMonitorTextBox = new System.Windows.Forms.TextBox(); this.northIMonitorTextBox = new System.Windows.Forms.TextBox(); this.updateIMonitorButton = new System.Windows.Forms.Button(); this.label18 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.groupBox24 = new System.Windows.Forms.GroupBox(); this.piMonitor2TextBox = new System.Windows.Forms.TextBox(); this.updatePiMonitorButton = new System.Windows.Forms.Button(); this.label82 = new System.Windows.Forms.Label(); this.piMonitor1TextBox = new System.Windows.Forms.TextBox(); this.groupBox22 = new System.Windows.Forms.GroupBox(); this.rfManualStateCheckBox = new System.Windows.Forms.CheckBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.rf2StepPowerMon = new System.Windows.Forms.TextBox(); this.rf2StepFreqMon = new System.Windows.Forms.TextBox(); this.rf1StepPowerMon = new System.Windows.Forms.TextBox(); this.rf1StepFreqMon = new System.Windows.Forms.TextBox(); this.rf2CentrePowerMon = new System.Windows.Forms.TextBox(); this.rf2CentreFreqMon = new System.Windows.Forms.TextBox(); this.rf1CentrePowerMon = new System.Windows.Forms.TextBox(); this.rf1CentreFreqMon = new System.Windows.Forms.TextBox(); this.label56 = new System.Windows.Forms.Label(); this.label48 = new System.Windows.Forms.Label(); this.label55 = new System.Windows.Forms.Label(); this.label40 = new System.Windows.Forms.Label(); this.label54 = new System.Windows.Forms.Label(); this.label47 = new System.Windows.Forms.Label(); this.label53 = new System.Windows.Forms.Label(); this.label42 = new System.Windows.Forms.Label(); this.rf2MinusPowerMon = new System.Windows.Forms.TextBox(); this.rf2MinusFreqMon = new System.Windows.Forms.TextBox(); this.rf1MinusPowerMon = new System.Windows.Forms.TextBox(); this.rf1MinusFreqMon = new System.Windows.Forms.TextBox(); this.rf2PlusPowerMon = new System.Windows.Forms.TextBox(); this.rf2PlusFreqMon = new System.Windows.Forms.TextBox(); this.rf1PlusPowerMon = new System.Windows.Forms.TextBox(); this.rf1PlusFreqMon = new System.Windows.Forms.TextBox(); this.rfPowerUpdateButton = new System.Windows.Forms.Button(); this.label52 = new System.Windows.Forms.Label(); this.rfFrequencyUpdateButton = new System.Windows.Forms.Button(); this.label51 = new System.Windows.Forms.Label(); this.label46 = new System.Windows.Forms.Label(); this.label50 = new System.Windows.Forms.Label(); this.label43 = new System.Windows.Forms.Label(); this.label49 = new System.Windows.Forms.Label(); this.label45 = new System.Windows.Forms.Label(); this.label44 = new System.Windows.Forms.Label(); this.groupBox16 = new System.Windows.Forms.GroupBox(); this.scramblerCheckBox = new System.Windows.Forms.CheckBox(); this.attenuatorSelectCheck = new System.Windows.Forms.CheckBox(); this.phaseFlip2CheckBox = new System.Windows.Forms.CheckBox(); this.phaseFlip1CheckBox = new System.Windows.Forms.CheckBox(); this.fmSelectCheck = new System.Windows.Forms.CheckBox(); this.rfSwitchEnableCheck = new System.Windows.Forms.CheckBox(); this.groupBox14 = new System.Windows.Forms.GroupBox(); this.setScramblerVoltageButton = new System.Windows.Forms.Button(); this.panel4 = new System.Windows.Forms.Panel(); this.rf2FMZeroRB = new System.Windows.Forms.RadioButton(); this.rf2FMPlusRB = new System.Windows.Forms.RadioButton(); this.rf2FMMinusRB = new System.Windows.Forms.RadioButton(); this.label74 = new System.Windows.Forms.Label(); this.scramblerVoltageTextBox = new System.Windows.Forms.TextBox(); this.panel3 = new System.Windows.Forms.Panel(); this.rf1FMZeroRB = new System.Windows.Forms.RadioButton(); this.rf1FMPlusRB = new System.Windows.Forms.RadioButton(); this.rf1FMMinusRB = new System.Windows.Forms.RadioButton(); this.panel2 = new System.Windows.Forms.Panel(); this.rf2AttZeroRB = new System.Windows.Forms.RadioButton(); this.rf2AttPlusRB = new System.Windows.Forms.RadioButton(); this.rf2AttMinusRB = new System.Windows.Forms.RadioButton(); this.panel1 = new System.Windows.Forms.Panel(); this.rf1AttZeroRB = new System.Windows.Forms.RadioButton(); this.rf1AttPlusRB = new System.Windows.Forms.RadioButton(); this.rf1AttMinusRB = new System.Windows.Forms.RadioButton(); this.rf2FMIncTextBox = new System.Windows.Forms.TextBox(); this.label24 = new System.Windows.Forms.Label(); this.rf1FMIncTextBox = new System.Windows.Forms.TextBox(); this.label28 = new System.Windows.Forms.Label(); this.rf2AttIncTextBox = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.rf1AttIncTextBox = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.setFMVoltagesButton = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.rf2FMVoltage = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.rf1FMVoltage = new System.Windows.Forms.TextBox(); this.setAttenuatorsButton = new System.Windows.Forms.Button(); this.label36 = new System.Windows.Forms.Label(); this.rf2AttenuatorVoltageTextBox = new System.Windows.Forms.TextBox(); this.label39 = new System.Windows.Forms.Label(); this.rf1AttenuatorVoltageTextBox = new System.Windows.Forms.TextBox(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.groupBox23 = new System.Windows.Forms.GroupBox(); this.bManualStateCheckBox = new System.Windows.Forms.CheckBox(); this.groupBox20 = new System.Windows.Forms.GroupBox(); this.miniFlux2TextBox = new System.Windows.Forms.TextBox(); this.miniFlux3TextBox = new System.Windows.Forms.TextBox(); this.label77 = new System.Windows.Forms.Label(); this.label76 = new System.Windows.Forms.Label(); this.miniFlux1TextBox = new System.Windows.Forms.TextBox(); this.updateMiniFluxgatesButton = new System.Windows.Forms.Button(); this.label75 = new System.Windows.Forms.Label(); this.groupBox9 = new System.Windows.Forms.GroupBox(); this.automaticBiasCalcButton = new System.Windows.Forms.Button(); this.steppingBBoxBiasTextBox = new System.Windows.Forms.TextBox(); this.SteppingBBoxBiasUpdateButton = new System.Windows.Forms.Button(); this.label65 = new System.Windows.Forms.Label(); this.groupBox12 = new System.Windows.Forms.GroupBox(); this.scanningBVoltageBox = new System.Windows.Forms.TextBox(); this.scanningBFSButton = new System.Windows.Forms.Button(); this.scanningBZeroButton = new System.Windows.Forms.Button(); this.scanningBUpdateButton = new System.Windows.Forms.Button(); this.label41 = new System.Windows.Forms.Label(); this.groupBox8 = new System.Windows.Forms.GroupBox(); this.bCurrentCalStepTextBox = new System.Windows.Forms.TextBox(); this.bCurrentFlipStepTextBox = new System.Windows.Forms.TextBox(); this.bCurrentBiasTextBox = new System.Windows.Forms.TextBox(); this.label25 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.bCurrent01TextBox = new System.Windows.Forms.TextBox(); this.bCurrent11TextBox = new System.Windows.Forms.TextBox(); this.bCurrent10TextBox = new System.Windows.Forms.TextBox(); this.bCurrent00TextBox = new System.Windows.Forms.TextBox(); this.updateBCurrentMonitorButton = new System.Windows.Forms.Button(); this.label20 = new System.Windows.Forms.Label(); this.label21 = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); this.label23 = new System.Windows.Forms.Label(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.UpdateVCOConversionFractionButton = new System.Windows.Forms.Button(); this.vcoConversionFractionTextBox = new System.Windows.Forms.TextBox(); this.label83 = new System.Windows.Forms.Label(); this.groupBox25 = new System.Windows.Forms.GroupBox(); this.pumpAOMTrackBar = new System.Windows.Forms.TrackBar(); this.panel7 = new System.Windows.Forms.Panel(); this.pumpAOMStepZeroButton = new System.Windows.Forms.RadioButton(); this.pumpAOMStepPlusButton = new System.Windows.Forms.RadioButton(); this.pumpAOMStepMinusButton = new System.Windows.Forms.RadioButton(); this.pumpAOMStepTextBox = new System.Windows.Forms.TextBox(); this.label99 = new System.Windows.Forms.Label(); this.pumpAOMVoltageTextBox = new System.Windows.Forms.TextBox(); this.updatePumpAOMButton = new System.Windows.Forms.Button(); this.label100 = new System.Windows.Forms.Label(); this.pumpAOMFreqStepTextBox = new System.Windows.Forms.TextBox(); this.label88 = new System.Windows.Forms.Label(); this.pumpAOMFreqPlusTextBox = new System.Windows.Forms.TextBox(); this.pumpAOMFreqCentreTextBox = new System.Windows.Forms.TextBox(); this.label95 = new System.Windows.Forms.Label(); this.pumpAOMFreqMinusTextBox = new System.Windows.Forms.TextBox(); this.label96 = new System.Windows.Forms.Label(); this.pumpAOMFreqUpdateButton = new System.Windows.Forms.Button(); this.label98 = new System.Windows.Forms.Label(); this.groupBox19 = new System.Windows.Forms.GroupBox(); this.I2AOMFreqStepTextBox = new System.Windows.Forms.TextBox(); this.label73 = new System.Windows.Forms.Label(); this.I2AOMFreqMinusTextBox = new System.Windows.Forms.TextBox(); this.I2AOMFreqCentreTextBox = new System.Windows.Forms.TextBox(); this.label71 = new System.Windows.Forms.Label(); this.I2AOMFreqPlusTextBox = new System.Windows.Forms.TextBox(); this.label72 = new System.Windows.Forms.Label(); this.I2AOMFreqUpdateButton = new System.Windows.Forms.Button(); this.label69 = new System.Windows.Forms.Label(); this.groupBox18 = new System.Windows.Forms.GroupBox(); this.FLPZTVtrackBar = new System.Windows.Forms.TrackBar(); this.panel5 = new System.Windows.Forms.Panel(); this.FLPZTStepZeroButton = new System.Windows.Forms.RadioButton(); this.FLPZTStepPlusButton = new System.Windows.Forms.RadioButton(); this.FLPZTStepMinusButton = new System.Windows.Forms.RadioButton(); this.FLPZTStepTextBox = new System.Windows.Forms.TextBox(); this.label70 = new System.Windows.Forms.Label(); this.FLPZTVTextBox = new System.Windows.Forms.TextBox(); this.UpdateFLPZTVButton = new System.Windows.Forms.Button(); this.label68 = new System.Windows.Forms.Label(); this.groupBox11 = new System.Windows.Forms.GroupBox(); this.updateLaserPhotodiodesButton = new System.Windows.Forms.Button(); this.pumpMonitorTextBox = new System.Windows.Forms.TextBox(); this.pump2MonitorTextBox = new System.Windows.Forms.TextBox(); this.probeMonitorTextBox = new System.Windows.Forms.TextBox(); this.label29 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.groupBox10 = new System.Windows.Forms.GroupBox(); this.argonShutterCheckBox = new System.Windows.Forms.CheckBox(); this.label32 = new System.Windows.Forms.Label(); this.probeShutterCheck = new System.Windows.Forms.CheckBox(); this.pumpShutterCheck = new System.Windows.Forms.CheckBox(); this.tabPage8 = new System.Windows.Forms.TabPage(); this.groupBox36 = new System.Windows.Forms.GroupBox(); this.flAOMFreqStepTextBox = new System.Windows.Forms.TextBox(); this.label119 = new System.Windows.Forms.Label(); this.flAOMFreqPlusTextBox = new System.Windows.Forms.TextBox(); this.flAOMFreqCentreTextBox = new System.Windows.Forms.TextBox(); this.label120 = new System.Windows.Forms.Label(); this.flAOMFreqMinusTextBox = new System.Windows.Forms.TextBox(); this.label121 = new System.Windows.Forms.Label(); this.flAOMFreqUpdateButton = new System.Windows.Forms.Button(); this.label122 = new System.Windows.Forms.Label(); this.panel8 = new System.Windows.Forms.Panel(); this.flAOMStepZeroButton = new System.Windows.Forms.RadioButton(); this.flAOMStepPlusButton = new System.Windows.Forms.RadioButton(); this.flAOMStepMinusButton = new System.Windows.Forms.RadioButton(); this.flAOMStepTextBox = new System.Windows.Forms.TextBox(); this.label117 = new System.Windows.Forms.Label(); this.flAOMVoltageTextBox = new System.Windows.Forms.TextBox(); this.UpdateFLAOMButton = new System.Windows.Forms.Button(); this.label118 = new System.Windows.Forms.Label(); this.groupBox28 = new System.Windows.Forms.GroupBox(); this.groupBox30 = new System.Windows.Forms.GroupBox(); this.fibreAmpEnableLED = new NationalInstruments.UI.WindowsForms.Led(); this.fibreAmpEnableSwitch = new NationalInstruments.UI.WindowsForms.Switch(); this.groupBox31 = new System.Windows.Forms.GroupBox(); this.updateFibreAmpPwrButton = new System.Windows.Forms.Button(); this.fibreAmpPwrTextBox = new System.Windows.Forms.TextBox(); this.groupBox29 = new System.Windows.Forms.GroupBox(); this.fibreAmpPowerFaultLED = new NationalInstruments.UI.WindowsForms.Led(); this.fibreAmpTempFaultLED = new NationalInstruments.UI.WindowsForms.Led(); this.fibreAmpBackReflectFaultLED = new NationalInstruments.UI.WindowsForms.Led(); this.fibreAmpSeedFaultLED = new NationalInstruments.UI.WindowsForms.Led(); this.fibreAmpMasterFaultLED = new NationalInstruments.UI.WindowsForms.Led(); this.faultCheckButton = new System.Windows.Forms.Button(); this.label93 = new System.Windows.Forms.Label(); this.label92 = new System.Windows.Forms.Label(); this.label91 = new System.Windows.Forms.Label(); this.label90 = new System.Windows.Forms.Label(); this.label89 = new System.Windows.Forms.Label(); this.groupBox27 = new System.Windows.Forms.GroupBox(); this.flPZT2TempCurButton = new System.Windows.Forms.Button(); this.flPZT2CurTextBox = new System.Windows.Forms.TextBox(); this.flPZT2TempUpdateButton = new System.Windows.Forms.Button(); this.label116 = new System.Windows.Forms.Label(); this.flPZT2TempTextBox = new System.Windows.Forms.TextBox(); this.label115 = new System.Windows.Forms.Label(); this.flPZT2TrackBar = new System.Windows.Forms.TrackBar(); this.label94 = new System.Windows.Forms.Label(); this.flPZT2StepTextBox = new System.Windows.Forms.TextBox(); this.panel6 = new System.Windows.Forms.Panel(); this.flPZT2StepZeroButton = new System.Windows.Forms.RadioButton(); this.flPZT2StepPlusButton = new System.Windows.Forms.RadioButton(); this.flPZT2StepMinusButton = new System.Windows.Forms.RadioButton(); this.updateflPZTButton = new System.Windows.Forms.Button(); this.flPZT2TextBox = new System.Windows.Forms.TextBox(); this.label87 = new System.Windows.Forms.Label(); this.groupBox26 = new System.Windows.Forms.GroupBox(); this.updateDiodeCurrentMonButton = new System.Windows.Forms.Button(); this.diodeCurrentTextBox = new System.Windows.Forms.TextBox(); this.stopDiodeCurrentPollButton = new System.Windows.Forms.Button(); this.startDiodeCurrentPollButton = new System.Windows.Forms.Button(); this.diodeCurrentPollTextBox = new System.Windows.Forms.TextBox(); this.label86 = new System.Windows.Forms.Label(); this.diodeCurrentGraph = new NationalInstruments.UI.WindowsForms.WaveformGraph(); this.diodeCurrentPlot = new NationalInstruments.UI.WaveformPlot(); this.xAxis2 = new NationalInstruments.UI.XAxis(); this.yAxis2 = new NationalInstruments.UI.YAxis(); this.tabPage5 = new System.Windows.Forms.TabPage(); this.groupBox17 = new System.Windows.Forms.GroupBox(); this.TargetStepButton = new System.Windows.Forms.Button(); this.label66 = new System.Windows.Forms.Label(); this.TargetNumStepsTextBox = new System.Windows.Forms.TextBox(); this.groupBox15 = new System.Windows.Forms.GroupBox(); this.label33 = new System.Windows.Forms.Label(); this.checkYagInterlockButton = new System.Windows.Forms.Button(); this.yagFlashlampVTextBox = new System.Windows.Forms.TextBox(); this.interlockStatusTextBox = new System.Windows.Forms.TextBox(); this.updateFlashlampVButton = new System.Windows.Forms.Button(); this.label34 = new System.Windows.Forms.Label(); this.startYAGFlashlampsButton = new System.Windows.Forms.Button(); this.yagQDisableButton = new System.Windows.Forms.Button(); this.stopYagFlashlampsButton = new System.Windows.Forms.Button(); this.yagQEnableButton = new System.Windows.Forms.Button(); this.tabPage6 = new System.Windows.Forms.TabPage(); this.groupBox34 = new System.Windows.Forms.GroupBox(); this.label108 = new System.Windows.Forms.Label(); this.label109 = new System.Windows.Forms.Label(); this.pumpPolMesAngle = new System.Windows.Forms.TextBox(); this.updatePumpPolMesAngle = new System.Windows.Forms.Button(); this.zeroPumpPol = new System.Windows.Forms.Button(); this.label110 = new System.Windows.Forms.Label(); this.groupBox35 = new System.Windows.Forms.GroupBox(); this.label124 = new System.Windows.Forms.Label(); this.pumpBacklashTextBox = new System.Windows.Forms.TextBox(); this.pumpPolVoltStopButton = new System.Windows.Forms.Button(); this.pumpPolVoltTrackBar = new System.Windows.Forms.TrackBar(); this.label111 = new System.Windows.Forms.Label(); this.label112 = new System.Windows.Forms.Label(); this.pumpPolSetAngle = new System.Windows.Forms.TextBox(); this.label113 = new System.Windows.Forms.Label(); this.label114 = new System.Windows.Forms.Label(); this.setPumpPolAngle = new System.Windows.Forms.Button(); this.pumpPolModeSelectSwitch = new NationalInstruments.UI.WindowsForms.Switch(); this.groupBox32 = new System.Windows.Forms.GroupBox(); this.label106 = new System.Windows.Forms.Label(); this.label105 = new System.Windows.Forms.Label(); this.probePolMesAngle = new System.Windows.Forms.TextBox(); this.updateProbePolMesAngle = new System.Windows.Forms.Button(); this.zeroProbePol = new System.Windows.Forms.Button(); this.label101 = new System.Windows.Forms.Label(); this.groupBox33 = new System.Windows.Forms.GroupBox(); this.label123 = new System.Windows.Forms.Label(); this.probeBacklashTextBox = new System.Windows.Forms.TextBox(); this.probePolVoltStopButton = new System.Windows.Forms.Button(); this.probePolVoltTrackBar = new System.Windows.Forms.TrackBar(); this.label107 = new System.Windows.Forms.Label(); this.label102 = new System.Windows.Forms.Label(); this.probePolSetAngle = new System.Windows.Forms.TextBox(); this.label103 = new System.Windows.Forms.Label(); this.label104 = new System.Windows.Forms.Label(); this.setProbePolAngle = new System.Windows.Forms.Button(); this.probePolModeSelectSwitch = new NationalInstruments.UI.WindowsForms.Switch(); this.label81 = new System.Windows.Forms.Label(); this.pumpPolarizerUpdateButton = new System.Windows.Forms.Button(); this.pumpPolarizerAngleTextBox = new System.Windows.Forms.TextBox(); this.label80 = new System.Windows.Forms.Label(); this.probePolarizerUpdateButton = new System.Windows.Forms.Button(); this.probePolarizerAngleTextBox = new System.Windows.Forms.TextBox(); this.tabPage7 = new System.Windows.Forms.TabPage(); this.clearAlertButton = new System.Windows.Forms.Button(); this.alertTextBox = new System.Windows.Forms.TextBox(); this.tabPage9 = new System.Windows.Forms.TabPage(); this.switchScanTTLSwitch = new NationalInstruments.UI.WindowsForms.Switch(); this.label97 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.label67 = new System.Windows.Forms.Label(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadParametersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveParametersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton3 = new System.Windows.Forms.RadioButton(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.radioButton4 = new System.Windows.Forms.RadioButton(); this.radioButton5 = new System.Windows.Forms.RadioButton(); this.radioButton6 = new System.Windows.Forms.RadioButton(); this.motorController2 = new AxMG17MotorLib.AxMG17Motor(); this.axMG17Logger1 = new AxMG17LoggerLib.AxMG17Logger(); this.motorController1 = new AxMG17MotorLib.AxMG17Motor(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.switchingLED)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rampLED)).BeginInit(); this.groupBox3.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox5.SuspendLayout(); this.tabControl.SuspendLayout(); this.tabPage1.SuspendLayout(); this.groupBox21.SuspendLayout(); this.groupBox13.SuspendLayout(); this.groupBox6.SuspendLayout(); this.groupBox7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.legend1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.leakageGraph)).BeginInit(); this.tabPage2.SuspendLayout(); this.groupBox24.SuspendLayout(); this.groupBox22.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox16.SuspendLayout(); this.groupBox14.SuspendLayout(); this.panel4.SuspendLayout(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.panel1.SuspendLayout(); this.tabPage3.SuspendLayout(); this.groupBox23.SuspendLayout(); this.groupBox20.SuspendLayout(); this.groupBox9.SuspendLayout(); this.groupBox12.SuspendLayout(); this.groupBox8.SuspendLayout(); this.tabPage4.SuspendLayout(); this.groupBox25.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pumpAOMTrackBar)).BeginInit(); this.panel7.SuspendLayout(); this.groupBox19.SuspendLayout(); this.groupBox18.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.FLPZTVtrackBar)).BeginInit(); this.panel5.SuspendLayout(); this.groupBox11.SuspendLayout(); this.groupBox10.SuspendLayout(); this.tabPage8.SuspendLayout(); this.groupBox36.SuspendLayout(); this.panel8.SuspendLayout(); this.groupBox28.SuspendLayout(); this.groupBox30.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpEnableLED)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpEnableSwitch)).BeginInit(); this.groupBox31.SuspendLayout(); this.groupBox29.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpPowerFaultLED)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpTempFaultLED)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpBackReflectFaultLED)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpSeedFaultLED)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpMasterFaultLED)).BeginInit(); this.groupBox27.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flPZT2TrackBar)).BeginInit(); this.panel6.SuspendLayout(); this.groupBox26.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.diodeCurrentGraph)).BeginInit(); this.tabPage5.SuspendLayout(); this.groupBox17.SuspendLayout(); this.groupBox15.SuspendLayout(); this.tabPage6.SuspendLayout(); this.groupBox34.SuspendLayout(); this.groupBox35.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pumpPolVoltTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pumpPolModeSelectSwitch)).BeginInit(); this.groupBox32.SuspendLayout(); this.groupBox33.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.probePolVoltTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.probePolModeSelectSwitch)).BeginInit(); this.tabPage7.SuspendLayout(); this.tabPage9.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.switchScanTTLSwitch)).BeginInit(); this.menuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.motorController2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMG17Logger1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.motorController1)).BeginInit(); this.SuspendLayout(); // // groupBox2 // this.groupBox2.Controls.Add(this.label78); this.groupBox2.Controls.Add(this.eOvershootHoldTextBox); this.groupBox2.Controls.Add(this.label79); this.groupBox2.Controls.Add(this.eOvershootFactorTextBox); this.groupBox2.Controls.Add(this.switchingLED); this.groupBox2.Controls.Add(this.rampLED); this.groupBox2.Controls.Add(this.label62); this.groupBox2.Controls.Add(this.eSwitchTimeTextBox); this.groupBox2.Controls.Add(this.label61); this.groupBox2.Controls.Add(this.eBleedTimeTextBox); this.groupBox2.Controls.Add(this.label60); this.groupBox2.Controls.Add(this.label57); this.groupBox2.Controls.Add(this.eRampUpDelayTextBox); this.groupBox2.Controls.Add(this.label58); this.groupBox2.Controls.Add(this.eRampDownDelayTextBox); this.groupBox2.Controls.Add(this.label59); this.groupBox2.Controls.Add(this.eRampDownTimeTextBox); this.groupBox2.Controls.Add(this.eRampUpTimeTextBox); this.groupBox2.Controls.Add(this.fieldsOffButton); this.groupBox2.Controls.Add(this.switchEButton); this.groupBox2.Controls.Add(this.eBleedCheck); this.groupBox2.Controls.Add(this.ePolarityCheck); this.groupBox2.Controls.Add(this.eOnCheck); this.groupBox2.Location = new System.Drawing.Point(207, 16); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(280, 276); this.groupBox2.TabIndex = 11; this.groupBox2.TabStop = false; this.groupBox2.Text = "Switch"; // // label78 // this.label78.Location = new System.Drawing.Point(25, 215); this.label78.Name = "label78"; this.label78.Size = new System.Drawing.Size(115, 23); this.label78.TabIndex = 52; this.label78.Text = "Ramp up delay (s)"; // // eOvershootHoldTextBox // this.eOvershootHoldTextBox.Location = new System.Drawing.Point(145, 170); this.eOvershootHoldTextBox.Name = "eOvershootHoldTextBox"; this.eOvershootHoldTextBox.Size = new System.Drawing.Size(64, 20); this.eOvershootHoldTextBox.TabIndex = 50; this.eOvershootHoldTextBox.Text = "1"; // // label79 // this.label79.Location = new System.Drawing.Point(25, 194); this.label79.Name = "label79"; this.label79.Size = new System.Drawing.Size(115, 23); this.label79.TabIndex = 51; this.label79.Text = "Overshoot factor"; // // eOvershootFactorTextBox // this.eOvershootFactorTextBox.Location = new System.Drawing.Point(145, 191); this.eOvershootFactorTextBox.Name = "eOvershootFactorTextBox"; this.eOvershootFactorTextBox.Size = new System.Drawing.Size(64, 20); this.eOvershootFactorTextBox.TabIndex = 49; this.eOvershootFactorTextBox.Text = "2"; // // switchingLED // this.switchingLED.LedStyle = NationalInstruments.UI.LedStyle.Round3D; this.switchingLED.Location = new System.Drawing.Point(253, 19); this.switchingLED.Name = "switchingLED"; this.switchingLED.OffColor = System.Drawing.Color.Maroon; this.switchingLED.OnColor = System.Drawing.Color.Red; this.switchingLED.Size = new System.Drawing.Size(21, 22); this.switchingLED.TabIndex = 48; // // rampLED // this.rampLED.LedStyle = NationalInstruments.UI.LedStyle.Round3D; this.rampLED.Location = new System.Drawing.Point(253, 40); this.rampLED.Name = "rampLED"; this.rampLED.Size = new System.Drawing.Size(21, 22); this.rampLED.TabIndex = 48; // // label62 // this.label62.Location = new System.Drawing.Point(25, 131); this.label62.Name = "label62"; this.label62.Size = new System.Drawing.Size(115, 23); this.label62.TabIndex = 47; this.label62.Text = "Switch time (s)"; // // eSwitchTimeTextBox // this.eSwitchTimeTextBox.Location = new System.Drawing.Point(145, 128); this.eSwitchTimeTextBox.Name = "eSwitchTimeTextBox"; this.eSwitchTimeTextBox.Size = new System.Drawing.Size(64, 20); this.eSwitchTimeTextBox.TabIndex = 3; this.eSwitchTimeTextBox.Text = "1"; // // label61 // this.label61.Location = new System.Drawing.Point(25, 110); this.label61.Name = "label61"; this.label61.Size = new System.Drawing.Size(115, 23); this.label61.TabIndex = 45; this.label61.Text = "Bleed time (s)"; // // eBleedTimeTextBox // this.eBleedTimeTextBox.Location = new System.Drawing.Point(145, 107); this.eBleedTimeTextBox.Name = "eBleedTimeTextBox"; this.eBleedTimeTextBox.Size = new System.Drawing.Size(64, 20); this.eBleedTimeTextBox.TabIndex = 2; this.eBleedTimeTextBox.Text = "0.01"; // // label60 // this.label60.Location = new System.Drawing.Point(25, 173); this.label60.Name = "label60"; this.label60.Size = new System.Drawing.Size(115, 23); this.label60.TabIndex = 45; this.label60.Text = "Overshoot hold (s)"; // // label57 // this.label57.Location = new System.Drawing.Point(25, 89); this.label57.Name = "label57"; this.label57.Size = new System.Drawing.Size(115, 23); this.label57.TabIndex = 41; this.label57.Text = "Ramp down delay (s)"; // // eRampUpDelayTextBox // this.eRampUpDelayTextBox.Location = new System.Drawing.Point(145, 212); this.eRampUpDelayTextBox.Name = "eRampUpDelayTextBox"; this.eRampUpDelayTextBox.Size = new System.Drawing.Size(64, 20); this.eRampUpDelayTextBox.TabIndex = 5; this.eRampUpDelayTextBox.Text = "1"; // // label58 // this.label58.Location = new System.Drawing.Point(25, 68); this.label58.Name = "label58"; this.label58.Size = new System.Drawing.Size(115, 23); this.label58.TabIndex = 40; this.label58.Text = "Ramp down time (s)"; // // eRampDownDelayTextBox // this.eRampDownDelayTextBox.Location = new System.Drawing.Point(145, 86); this.eRampDownDelayTextBox.Name = "eRampDownDelayTextBox"; this.eRampDownDelayTextBox.Size = new System.Drawing.Size(64, 20); this.eRampDownDelayTextBox.TabIndex = 1; this.eRampDownDelayTextBox.Text = "3"; // // label59 // this.label59.Location = new System.Drawing.Point(25, 152); this.label59.Name = "label59"; this.label59.Size = new System.Drawing.Size(115, 23); this.label59.TabIndex = 43; this.label59.Text = "Ramp up time (s)"; // // eRampDownTimeTextBox // this.eRampDownTimeTextBox.Location = new System.Drawing.Point(145, 65); this.eRampDownTimeTextBox.Name = "eRampDownTimeTextBox"; this.eRampDownTimeTextBox.Size = new System.Drawing.Size(64, 20); this.eRampDownTimeTextBox.TabIndex = 0; this.eRampDownTimeTextBox.Text = "2"; // // eRampUpTimeTextBox // this.eRampUpTimeTextBox.Location = new System.Drawing.Point(145, 149); this.eRampUpTimeTextBox.Name = "eRampUpTimeTextBox"; this.eRampUpTimeTextBox.Size = new System.Drawing.Size(64, 20); this.eRampUpTimeTextBox.TabIndex = 4; this.eRampUpTimeTextBox.Text = "2"; // // fieldsOffButton // this.fieldsOffButton.Enabled = false; this.fieldsOffButton.Location = new System.Drawing.Point(24, 241); this.fieldsOffButton.Name = "fieldsOffButton"; this.fieldsOffButton.Size = new System.Drawing.Size(96, 23); this.fieldsOffButton.TabIndex = 23; this.fieldsOffButton.Text = "Zero E fields"; this.fieldsOffButton.Click += new System.EventHandler(this.fieldsOffButton_Click); // // switchEButton // this.switchEButton.Location = new System.Drawing.Point(136, 241); this.switchEButton.Name = "switchEButton"; this.switchEButton.Size = new System.Drawing.Size(96, 23); this.switchEButton.TabIndex = 22; this.switchEButton.Text = "Switch E"; this.switchEButton.Click += new System.EventHandler(this.switchEButton_Click); // // eBleedCheck // this.eBleedCheck.Location = new System.Drawing.Point(96, 19); this.eBleedCheck.Name = "eBleedCheck"; this.eBleedCheck.Size = new System.Drawing.Size(72, 24); this.eBleedCheck.TabIndex = 21; this.eBleedCheck.Text = "Bleed on"; this.eBleedCheck.CheckedChanged += new System.EventHandler(this.eBleedCheck_CheckedChanged); // // ePolarityCheck // this.ePolarityCheck.Location = new System.Drawing.Point(24, 40); this.ePolarityCheck.Name = "ePolarityCheck"; this.ePolarityCheck.Size = new System.Drawing.Size(136, 24); this.ePolarityCheck.TabIndex = 20; this.ePolarityCheck.Text = "Polarity (1 is checked)"; this.ePolarityCheck.CheckedChanged += new System.EventHandler(this.ePolarityCheck_CheckedChanged); // // eOnCheck // this.eOnCheck.Location = new System.Drawing.Point(24, 19); this.eOnCheck.Name = "eOnCheck"; this.eOnCheck.Size = new System.Drawing.Size(72, 24); this.eOnCheck.TabIndex = 19; this.eOnCheck.Text = "Field on"; this.eOnCheck.CheckedChanged += new System.EventHandler(this.eOnCheck_CheckedChanged); // // groupBox3 // this.groupBox3.Controls.Add(this.label1); this.groupBox3.Controls.Add(this.greenDCFMBox); this.groupBox3.Controls.Add(this.greenOnCheck); this.groupBox3.Controls.Add(this.label7); this.groupBox3.Controls.Add(this.greenOnAmpBox); this.groupBox3.Controls.Add(this.label8); this.groupBox3.Controls.Add(this.greenOnFreqBox); this.groupBox3.Location = new System.Drawing.Point(8, 16); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(296, 160); this.groupBox3.TabIndex = 21; this.groupBox3.TabStop = false; this.groupBox3.Text = "Direct synth control"; // // label1 // this.label1.Location = new System.Drawing.Point(6, 88); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(133, 23); this.label1.TabIndex = 23; this.label1.Text = "Green synth DC FM (kHz)"; // // greenDCFMBox // this.greenDCFMBox.Location = new System.Drawing.Point(168, 85); this.greenDCFMBox.Name = "greenDCFMBox"; this.greenDCFMBox.Size = new System.Drawing.Size(64, 20); this.greenDCFMBox.TabIndex = 2; this.greenDCFMBox.Text = "0"; // // greenOnCheck // this.greenOnCheck.Location = new System.Drawing.Point(24, 114); this.greenOnCheck.Name = "greenOnCheck"; this.greenOnCheck.Size = new System.Drawing.Size(104, 24); this.greenOnCheck.TabIndex = 18; this.greenOnCheck.Text = "Green on"; this.greenOnCheck.CheckedChanged += new System.EventHandler(this.greenOnCheck_CheckedChanged); // // label7 // this.label7.Location = new System.Drawing.Point(6, 56); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(122, 23); this.label7.TabIndex = 13; this.label7.Text = "Green synth amplitude"; // // greenOnAmpBox // this.greenOnAmpBox.Location = new System.Drawing.Point(168, 53); this.greenOnAmpBox.Name = "greenOnAmpBox"; this.greenOnAmpBox.Size = new System.Drawing.Size(64, 20); this.greenOnAmpBox.TabIndex = 1; this.greenOnAmpBox.Text = "-6"; // // label8 // this.label8.Location = new System.Drawing.Point(6, 24); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(122, 23); this.label8.TabIndex = 11; this.label8.Text = "Green synth frequency"; // // greenOnFreqBox // this.greenOnFreqBox.Location = new System.Drawing.Point(168, 21); this.greenOnFreqBox.Name = "greenOnFreqBox"; this.greenOnFreqBox.Size = new System.Drawing.Size(64, 20); this.greenOnFreqBox.TabIndex = 0; this.greenOnFreqBox.Text = "170.800"; // // groupBox1 // this.groupBox1.Controls.Add(this.updateFieldButton); this.groupBox1.Controls.Add(this.label10); this.groupBox1.Controls.Add(this.label11); this.groupBox1.Controls.Add(this.label9); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.cPlusOffTextBox); this.groupBox1.Controls.Add(this.cMinusOffTextBox); this.groupBox1.Controls.Add(this.cMinusTextBox); this.groupBox1.Controls.Add(this.cPlusTextBox); this.groupBox1.Location = new System.Drawing.Point(17, 16); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(184, 208); this.groupBox1.TabIndex = 23; this.groupBox1.TabStop = false; this.groupBox1.Text = "Supplies"; // // updateFieldButton // this.updateFieldButton.Location = new System.Drawing.Point(48, 168); this.updateFieldButton.Name = "updateFieldButton"; this.updateFieldButton.Size = new System.Drawing.Size(75, 23); this.updateFieldButton.TabIndex = 40; this.updateFieldButton.Text = "Update"; this.updateFieldButton.Click += new System.EventHandler(this.updateFieldButton_Click); // // label10 // this.label10.Location = new System.Drawing.Point(16, 128); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(80, 23); this.label10.TabIndex = 39; this.label10.Text = "C minus off (V)"; // // label11 // this.label11.Location = new System.Drawing.Point(16, 96); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(80, 23); this.label11.TabIndex = 38; this.label11.Text = "C plus off (V)"; // // label9 // this.label9.Location = new System.Drawing.Point(16, 56); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(80, 23); this.label9.TabIndex = 1; this.label9.Text = "C minus (V)"; // // label5 // this.label5.Location = new System.Drawing.Point(16, 24); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(80, 23); this.label5.TabIndex = 0; this.label5.Text = "C plus (V)"; // // cPlusOffTextBox // this.cPlusOffTextBox.Location = new System.Drawing.Point(104, 96); this.cPlusOffTextBox.Name = "cPlusOffTextBox"; this.cPlusOffTextBox.Size = new System.Drawing.Size(64, 20); this.cPlusOffTextBox.TabIndex = 2; this.cPlusOffTextBox.Text = "0"; // // cMinusOffTextBox // this.cMinusOffTextBox.Location = new System.Drawing.Point(104, 128); this.cMinusOffTextBox.Name = "cMinusOffTextBox"; this.cMinusOffTextBox.Size = new System.Drawing.Size(64, 20); this.cMinusOffTextBox.TabIndex = 3; this.cMinusOffTextBox.Text = "0"; // // cMinusTextBox // this.cMinusTextBox.Location = new System.Drawing.Point(104, 56); this.cMinusTextBox.Name = "cMinusTextBox"; this.cMinusTextBox.Size = new System.Drawing.Size(64, 20); this.cMinusTextBox.TabIndex = 1; this.cMinusTextBox.Text = "0"; // // cPlusTextBox // this.cPlusTextBox.Location = new System.Drawing.Point(104, 24); this.cPlusTextBox.Name = "cPlusTextBox"; this.cPlusTextBox.Size = new System.Drawing.Size(64, 20); this.cPlusTextBox.TabIndex = 0; this.cPlusTextBox.Text = "0"; // // groupBox5 // this.groupBox5.Controls.Add(this.calFlipCheck); this.groupBox5.Controls.Add(this.bFlipCheck); this.groupBox5.Location = new System.Drawing.Point(8, 16); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(376, 56); this.groupBox5.TabIndex = 24; this.groupBox5.TabStop = false; this.groupBox5.Text = "Manual B-flip"; // // calFlipCheck // this.calFlipCheck.Location = new System.Drawing.Point(152, 24); this.calFlipCheck.Name = "calFlipCheck"; this.calFlipCheck.Size = new System.Drawing.Size(40, 24); this.calFlipCheck.TabIndex = 1; this.calFlipCheck.Text = "dB"; this.calFlipCheck.CheckedChanged += new System.EventHandler(this.calFlipCheck_CheckedChanged); // // bFlipCheck // this.bFlipCheck.Location = new System.Drawing.Point(16, 24); this.bFlipCheck.Name = "bFlipCheck"; this.bFlipCheck.Size = new System.Drawing.Size(61, 24); this.bFlipCheck.TabIndex = 0; this.bFlipCheck.Text = "DB"; this.bFlipCheck.CheckedChanged += new System.EventHandler(this.bFlipCheck_CheckedChanged); // // tabControl // this.tabControl.Controls.Add(this.tabPage1); this.tabControl.Controls.Add(this.tabPage2); this.tabControl.Controls.Add(this.tabPage3); this.tabControl.Controls.Add(this.tabPage4); this.tabControl.Controls.Add(this.tabPage8); this.tabControl.Controls.Add(this.tabPage5); this.tabControl.Controls.Add(this.tabPage6); this.tabControl.Controls.Add(this.tabPage7); this.tabControl.Controls.Add(this.tabPage9); this.tabControl.Location = new System.Drawing.Point(12, 27); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(705, 601); this.tabControl.TabIndex = 25; // // tabPage1 // this.tabPage1.BackColor = System.Drawing.Color.Transparent; this.tabPage1.Controls.Add(this.groupBox21); this.tabPage1.Controls.Add(this.groupBox13); this.tabPage1.Controls.Add(this.groupBox6); this.tabPage1.Controls.Add(this.groupBox2); this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.groupBox7); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(697, 575); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "E-field"; // // groupBox21 // this.groupBox21.Controls.Add(this.eManualStateCheckBox); this.groupBox21.Location = new System.Drawing.Point(17, 231); this.groupBox21.Name = "groupBox21"; this.groupBox21.Size = new System.Drawing.Size(184, 61); this.groupBox21.TabIndex = 27; this.groupBox21.TabStop = false; this.groupBox21.Text = "Manual state"; // // eManualStateCheckBox // this.eManualStateCheckBox.Location = new System.Drawing.Point(6, 23); this.eManualStateCheckBox.Name = "eManualStateCheckBox"; this.eManualStateCheckBox.Size = new System.Drawing.Size(167, 24); this.eManualStateCheckBox.TabIndex = 53; this.eManualStateCheckBox.Text = "State (Checked is 0=>N+)"; // // groupBox13 // this.groupBox13.Controls.Add(this.eFieldAsymmetryCheckBox); this.groupBox13.Controls.Add(this.label37); this.groupBox13.Controls.Add(this.label38); this.groupBox13.Controls.Add(this.zeroPlusOneMinusBoostTextBox); this.groupBox13.Controls.Add(this.zeroPlusBoostTextBox); this.groupBox13.Location = new System.Drawing.Point(493, 179); this.groupBox13.Name = "groupBox13"; this.groupBox13.Size = new System.Drawing.Size(184, 113); this.groupBox13.TabIndex = 41; this.groupBox13.TabStop = false; this.groupBox13.Text = "Supply asymmetry"; // // eFieldAsymmetryCheckBox // this.eFieldAsymmetryCheckBox.Location = new System.Drawing.Point(19, 19); this.eFieldAsymmetryCheckBox.Name = "eFieldAsymmetryCheckBox"; this.eFieldAsymmetryCheckBox.Size = new System.Drawing.Size(72, 24); this.eFieldAsymmetryCheckBox.TabIndex = 38; this.eFieldAsymmetryCheckBox.Text = "Enable"; // // label37 // this.label37.Location = new System.Drawing.Point(6, 83); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size(84, 23); this.label37.TabIndex = 37; this.label37.Text = "0+1- boost (V)"; // // label38 // this.label38.Location = new System.Drawing.Point(6, 51); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size(89, 23); this.label38.TabIndex = 36; this.label38.Text = "0+ boost (V)"; // // zeroPlusOneMinusBoostTextBox // this.zeroPlusOneMinusBoostTextBox.Location = new System.Drawing.Point(101, 79); this.zeroPlusOneMinusBoostTextBox.Name = "zeroPlusOneMinusBoostTextBox"; this.zeroPlusOneMinusBoostTextBox.Size = new System.Drawing.Size(64, 20); this.zeroPlusOneMinusBoostTextBox.TabIndex = 1; this.zeroPlusOneMinusBoostTextBox.Text = "0"; // // zeroPlusBoostTextBox // this.zeroPlusBoostTextBox.Location = new System.Drawing.Point(102, 51); this.zeroPlusBoostTextBox.Name = "zeroPlusBoostTextBox"; this.zeroPlusBoostTextBox.Size = new System.Drawing.Size(64, 20); this.zeroPlusBoostTextBox.TabIndex = 0; this.zeroPlusBoostTextBox.Text = "0"; // // groupBox6 // this.groupBox6.Controls.Add(this.gMinusVMonitorTextBox); this.groupBox6.Controls.Add(this.cPlusVMonitorTextBox); this.groupBox6.Controls.Add(this.gPlusVMonitorTextBox); this.groupBox6.Controls.Add(this.updateVMonitorButton); this.groupBox6.Controls.Add(this.label12); this.groupBox6.Controls.Add(this.label13); this.groupBox6.Controls.Add(this.label14); this.groupBox6.Controls.Add(this.label15); this.groupBox6.Controls.Add(this.cMinusVMonitorTextBox); this.groupBox6.Location = new System.Drawing.Point(493, 16); this.groupBox6.Name = "groupBox6"; this.groupBox6.Size = new System.Drawing.Size(184, 153); this.groupBox6.TabIndex = 24; this.groupBox6.TabStop = false; this.groupBox6.Text = "Voltage monitors"; // // gMinusVMonitorTextBox // this.gMinusVMonitorTextBox.BackColor = System.Drawing.Color.Black; this.gMinusVMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.gMinusVMonitorTextBox.Location = new System.Drawing.Point(104, 95); this.gMinusVMonitorTextBox.Name = "gMinusVMonitorTextBox"; this.gMinusVMonitorTextBox.ReadOnly = true; this.gMinusVMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.gMinusVMonitorTextBox.TabIndex = 43; this.gMinusVMonitorTextBox.Text = "0"; // // cPlusVMonitorTextBox // this.cPlusVMonitorTextBox.BackColor = System.Drawing.Color.Black; this.cPlusVMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.cPlusVMonitorTextBox.Location = new System.Drawing.Point(104, 24); this.cPlusVMonitorTextBox.Name = "cPlusVMonitorTextBox"; this.cPlusVMonitorTextBox.ReadOnly = true; this.cPlusVMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.cPlusVMonitorTextBox.TabIndex = 42; this.cPlusVMonitorTextBox.Text = "0"; // // gPlusVMonitorTextBox // this.gPlusVMonitorTextBox.BackColor = System.Drawing.Color.Black; this.gPlusVMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.gPlusVMonitorTextBox.Location = new System.Drawing.Point(104, 71); this.gPlusVMonitorTextBox.Name = "gPlusVMonitorTextBox"; this.gPlusVMonitorTextBox.ReadOnly = true; this.gPlusVMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.gPlusVMonitorTextBox.TabIndex = 41; this.gPlusVMonitorTextBox.Text = "0"; // // updateVMonitorButton // this.updateVMonitorButton.Location = new System.Drawing.Point(56, 121); this.updateVMonitorButton.Name = "updateVMonitorButton"; this.updateVMonitorButton.Size = new System.Drawing.Size(75, 23); this.updateVMonitorButton.TabIndex = 40; this.updateVMonitorButton.Text = "Update"; this.updateVMonitorButton.Click += new System.EventHandler(this.updateVMonitorButton_Click); // // label12 // this.label12.Location = new System.Drawing.Point(16, 95); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(80, 23); this.label12.TabIndex = 39; this.label12.Text = "G minus (V)"; // // label13 // this.label13.Location = new System.Drawing.Point(16, 71); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(80, 23); this.label13.TabIndex = 38; this.label13.Text = "G plus (V)"; // // label14 // this.label14.Location = new System.Drawing.Point(16, 48); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(80, 23); this.label14.TabIndex = 37; this.label14.Text = "C minus (V)"; // // label15 // this.label15.Location = new System.Drawing.Point(16, 24); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(80, 23); this.label15.TabIndex = 36; this.label15.Text = "C plus (V)"; // // cMinusVMonitorTextBox // this.cMinusVMonitorTextBox.BackColor = System.Drawing.Color.Black; this.cMinusVMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.cMinusVMonitorTextBox.Location = new System.Drawing.Point(104, 48); this.cMinusVMonitorTextBox.Name = "cMinusVMonitorTextBox"; this.cMinusVMonitorTextBox.ReadOnly = true; this.cMinusVMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.cMinusVMonitorTextBox.TabIndex = 33; this.cMinusVMonitorTextBox.Text = "0"; // // groupBox7 // this.groupBox7.Controls.Add(this.label85); this.groupBox7.Controls.Add(this.label84); this.groupBox7.Controls.Add(this.southV2FSlopeTextBox); this.groupBox7.Controls.Add(this.northV2FSlopeTextBox); this.groupBox7.Controls.Add(this.leakageMonitorSlopeTextBox); this.groupBox7.Controls.Add(this.label64); this.groupBox7.Controls.Add(this.stopIMonitorPollButton); this.groupBox7.Controls.Add(this.saveToFile); this.groupBox7.Controls.Add(this.stopIRecordButton); this.groupBox7.Controls.Add(this.startIRecordButton); this.groupBox7.Controls.Add(this.legend1); this.groupBox7.Controls.Add(this.label63); this.groupBox7.Controls.Add(this.iMonitorPollPeriod); this.groupBox7.Controls.Add(this.startIMonitorPollButton); this.groupBox7.Controls.Add(this.leakageGraph); this.groupBox7.Controls.Add(this.IMonitorMeasurementLengthTextBox); this.groupBox7.Controls.Add(this.label35); this.groupBox7.Controls.Add(this.label17); this.groupBox7.Controls.Add(this.northOffsetIMonitorTextBox); this.groupBox7.Controls.Add(this.label16); this.groupBox7.Controls.Add(this.southOffsetIMonitorTextBox); this.groupBox7.Controls.Add(this.zeroIMonitorButton); this.groupBox7.Controls.Add(this.southIMonitorTextBox); this.groupBox7.Controls.Add(this.northIMonitorTextBox); this.groupBox7.Controls.Add(this.updateIMonitorButton); this.groupBox7.Controls.Add(this.label18); this.groupBox7.Controls.Add(this.label19); this.groupBox7.Location = new System.Drawing.Point(17, 298); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new System.Drawing.Size(660, 274); this.groupBox7.TabIndex = 44; this.groupBox7.TabStop = false; this.groupBox7.Text = "Current monitors"; // // label85 // this.label85.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label85.Location = new System.Drawing.Point(317, 41); this.label85.Name = "label85"; this.label85.Size = new System.Drawing.Size(82, 28); this.label85.TabIndex = 66; this.label85.Text = "South monitor (V/kHz)"; // // label84 // this.label84.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label84.Location = new System.Drawing.Point(317, 13); this.label84.Name = "label84"; this.label84.Size = new System.Drawing.Size(82, 28); this.label84.TabIndex = 65; this.label84.Text = "North monitor (V/kHz)"; // // southV2FSlopeTextBox // this.southV2FSlopeTextBox.Location = new System.Drawing.Point(405, 38); this.southV2FSlopeTextBox.Name = "southV2FSlopeTextBox"; this.southV2FSlopeTextBox.Size = new System.Drawing.Size(65, 20); this.southV2FSlopeTextBox.TabIndex = 64; this.southV2FSlopeTextBox.Text = "0.0255023"; // // northV2FSlopeTextBox // this.northV2FSlopeTextBox.Location = new System.Drawing.Point(405, 10); this.northV2FSlopeTextBox.Name = "northV2FSlopeTextBox"; this.northV2FSlopeTextBox.Size = new System.Drawing.Size(65, 20); this.northV2FSlopeTextBox.TabIndex = 63; this.northV2FSlopeTextBox.Text = "0.025425"; // // leakageMonitorSlopeTextBox // this.leakageMonitorSlopeTextBox.Location = new System.Drawing.Point(405, 84); this.leakageMonitorSlopeTextBox.Name = "leakageMonitorSlopeTextBox"; this.leakageMonitorSlopeTextBox.Size = new System.Drawing.Size(65, 20); this.leakageMonitorSlopeTextBox.TabIndex = 2; this.leakageMonitorSlopeTextBox.Text = "0.200"; // // label64 // this.label64.Location = new System.Drawing.Point(317, 68); this.label64.Name = "label64"; this.label64.Size = new System.Drawing.Size(149, 43); this.label64.TabIndex = 58; this.label64.Text = "Frequency to Current (kHz/I)\r\n 0.2 kHz/nA hi\r\n~2 kHz/uA lo"; // // stopIMonitorPollButton // this.stopIMonitorPollButton.Enabled = false; this.stopIMonitorPollButton.Location = new System.Drawing.Point(579, 76); this.stopIMonitorPollButton.Name = "stopIMonitorPollButton"; this.stopIMonitorPollButton.Size = new System.Drawing.Size(75, 23); this.stopIMonitorPollButton.TabIndex = 55; this.stopIMonitorPollButton.Text = "Stop poll"; this.stopIMonitorPollButton.UseVisualStyleBackColor = true; this.stopIMonitorPollButton.Click += new System.EventHandler(this.stopIMonitorPollButton_Click); // // saveToFile // this.saveToFile.Enabled = false; this.saveToFile.Location = new System.Drawing.Point(476, 63); this.saveToFile.Name = "saveToFile"; this.saveToFile.Size = new System.Drawing.Size(90, 23); this.saveToFile.TabIndex = 62; this.saveToFile.Text = "Save"; this.saveToFile.UseVisualStyleBackColor = true; this.saveToFile.Click += new System.EventHandler(this.saveToFile_Click); // // stopIRecordButton // this.stopIRecordButton.Enabled = false; this.stopIRecordButton.Location = new System.Drawing.Point(528, 34); this.stopIRecordButton.Name = "stopIRecordButton"; this.stopIRecordButton.Size = new System.Drawing.Size(39, 23); this.stopIRecordButton.TabIndex = 61; this.stopIRecordButton.Text = "Stop"; this.stopIRecordButton.UseVisualStyleBackColor = true; this.stopIRecordButton.Click += new System.EventHandler(this.stopIRecordButton_Click); // // startIRecordButton // this.startIRecordButton.Location = new System.Drawing.Point(476, 34); this.startIRecordButton.Name = "startIRecordButton"; this.startIRecordButton.Size = new System.Drawing.Size(42, 23); this.startIRecordButton.TabIndex = 60; this.startIRecordButton.Text = "Rec"; this.startIRecordButton.UseVisualStyleBackColor = true; this.startIRecordButton.Click += new System.EventHandler(this.startIRecordButton_Click); // // legend1 // this.legend1.Items.AddRange(new NationalInstruments.UI.LegendItem[] { this.NorthLegendItem, this.SouthLegendItem}); this.legend1.ItemSize = new System.Drawing.Size(12, 12); this.legend1.Location = new System.Drawing.Point(472, 86); this.legend1.Name = "legend1"; this.legend1.Size = new System.Drawing.Size(115, 22); this.legend1.TabIndex = 59; // // NorthLegendItem // this.NorthLegendItem.Source = this.northLeakagePlot; this.NorthLegendItem.Text = "North"; // // northLeakagePlot // this.northLeakagePlot.AntiAliased = true; this.northLeakagePlot.HistoryCapacity = 10000; this.northLeakagePlot.LineColor = System.Drawing.Color.Crimson; this.northLeakagePlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor; this.northLeakagePlot.LineWidth = 2F; this.northLeakagePlot.XAxis = this.xAxis1; this.northLeakagePlot.YAxis = this.yAxis1; // // xAxis1 // this.xAxis1.Mode = NationalInstruments.UI.AxisMode.StripChart; this.xAxis1.Range = new NationalInstruments.UI.Range(0D, 500D); // // yAxis1 // this.yAxis1.Mode = NationalInstruments.UI.AxisMode.Fixed; this.yAxis1.OriginLineVisible = true; this.yAxis1.Range = new NationalInstruments.UI.Range(-20D, 20D); // // SouthLegendItem // this.SouthLegendItem.Source = this.southLeakagePlot; this.SouthLegendItem.Text = "South"; // // southLeakagePlot // this.southLeakagePlot.HistoryCapacity = 10000; this.southLeakagePlot.LineColor = System.Drawing.Color.DodgerBlue; this.southLeakagePlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor; this.southLeakagePlot.LineWidth = 2F; this.southLeakagePlot.XAxis = this.xAxis1; this.southLeakagePlot.YAxis = this.yAxis1; // // label63 // this.label63.Location = new System.Drawing.Point(479, 15); this.label63.Name = "label63"; this.label63.Size = new System.Drawing.Size(108, 23); this.label63.TabIndex = 56; this.label63.Text = "Poll period (ms)"; // // iMonitorPollPeriod // this.iMonitorPollPeriod.Location = new System.Drawing.Point(590, 13); this.iMonitorPollPeriod.Name = "iMonitorPollPeriod"; this.iMonitorPollPeriod.Size = new System.Drawing.Size(64, 20); this.iMonitorPollPeriod.TabIndex = 0; this.iMonitorPollPeriod.Text = "100"; // // startIMonitorPollButton // this.startIMonitorPollButton.Location = new System.Drawing.Point(579, 45); this.startIMonitorPollButton.Name = "startIMonitorPollButton"; this.startIMonitorPollButton.Size = new System.Drawing.Size(75, 23); this.startIMonitorPollButton.TabIndex = 53; this.startIMonitorPollButton.Text = "Start poll"; this.startIMonitorPollButton.UseVisualStyleBackColor = true; this.startIMonitorPollButton.Click += new System.EventHandler(this.startIMonitorPollButton_Click); // // leakageGraph // this.leakageGraph.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.leakageGraph.Location = new System.Drawing.Point(9, 114); this.leakageGraph.Name = "leakageGraph"; this.leakageGraph.Plots.AddRange(new NationalInstruments.UI.WaveformPlot[] { this.northLeakagePlot, this.southLeakagePlot}); this.leakageGraph.Size = new System.Drawing.Size(645, 153); this.leakageGraph.TabIndex = 45; this.leakageGraph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] { this.xAxis1}); this.leakageGraph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] { this.yAxis1}); // // IMonitorMeasurementLengthTextBox // this.IMonitorMeasurementLengthTextBox.Location = new System.Drawing.Point(244, 76); this.IMonitorMeasurementLengthTextBox.Name = "IMonitorMeasurementLengthTextBox"; this.IMonitorMeasurementLengthTextBox.Size = new System.Drawing.Size(64, 20); this.IMonitorMeasurementLengthTextBox.TabIndex = 1; this.IMonitorMeasurementLengthTextBox.Text = "200"; // // label35 // this.label35.Location = new System.Drawing.Point(163, 73); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(80, 31); this.label35.TabIndex = 51; this.label35.Text = "Measurement Length (S)"; // // label17 // this.label17.Location = new System.Drawing.Point(146, 24); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(92, 23); this.label17.TabIndex = 50; this.label17.Text = "North offset (Hz)"; // // northOffsetIMonitorTextBox // this.northOffsetIMonitorTextBox.BackColor = System.Drawing.Color.Black; this.northOffsetIMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.northOffsetIMonitorTextBox.Location = new System.Drawing.Point(244, 21); this.northOffsetIMonitorTextBox.Name = "northOffsetIMonitorTextBox"; this.northOffsetIMonitorTextBox.ReadOnly = true; this.northOffsetIMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.northOffsetIMonitorTextBox.TabIndex = 49; this.northOffsetIMonitorTextBox.Text = "0"; // // label16 // this.label16.Location = new System.Drawing.Point(146, 50); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(97, 23); this.label16.TabIndex = 48; this.label16.Text = "South offset (Hz)"; // // southOffsetIMonitorTextBox // this.southOffsetIMonitorTextBox.BackColor = System.Drawing.Color.Black; this.southOffsetIMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.southOffsetIMonitorTextBox.Location = new System.Drawing.Point(244, 47); this.southOffsetIMonitorTextBox.Name = "southOffsetIMonitorTextBox"; this.southOffsetIMonitorTextBox.ReadOnly = true; this.southOffsetIMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.southOffsetIMonitorTextBox.TabIndex = 47; this.southOffsetIMonitorTextBox.Text = "0"; // // zeroIMonitorButton // this.zeroIMonitorButton.Location = new System.Drawing.Point(82, 76); this.zeroIMonitorButton.Name = "zeroIMonitorButton"; this.zeroIMonitorButton.Size = new System.Drawing.Size(75, 23); this.zeroIMonitorButton.TabIndex = 46; this.zeroIMonitorButton.Text = "Zero"; this.zeroIMonitorButton.UseVisualStyleBackColor = true; this.zeroIMonitorButton.Click += new System.EventHandler(this.calibrateIMonitorButton_Click); // // southIMonitorTextBox // this.southIMonitorTextBox.BackColor = System.Drawing.Color.Black; this.southIMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.southIMonitorTextBox.Location = new System.Drawing.Point(76, 47); this.southIMonitorTextBox.Name = "southIMonitorTextBox"; this.southIMonitorTextBox.ReadOnly = true; this.southIMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.southIMonitorTextBox.TabIndex = 45; this.southIMonitorTextBox.Text = "0"; // // northIMonitorTextBox // this.northIMonitorTextBox.BackColor = System.Drawing.Color.Black; this.northIMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.northIMonitorTextBox.Location = new System.Drawing.Point(76, 21); this.northIMonitorTextBox.Name = "northIMonitorTextBox"; this.northIMonitorTextBox.ReadOnly = true; this.northIMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.northIMonitorTextBox.TabIndex = 42; this.northIMonitorTextBox.Text = "0"; // // updateIMonitorButton // this.updateIMonitorButton.Location = new System.Drawing.Point(9, 76); this.updateIMonitorButton.Name = "updateIMonitorButton"; this.updateIMonitorButton.Size = new System.Drawing.Size(72, 23); this.updateIMonitorButton.TabIndex = 40; this.updateIMonitorButton.Text = "Update"; this.updateIMonitorButton.Click += new System.EventHandler(this.updateIMonitorButton_Click); // // label18 // this.label18.Location = new System.Drawing.Point(6, 50); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(80, 23); this.label18.TabIndex = 37; this.label18.Text = "South C (nA)"; // // label19 // this.label19.Location = new System.Drawing.Point(6, 24); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(80, 23); this.label19.TabIndex = 36; this.label19.Text = "North C (nA)"; // // tabPage2 // this.tabPage2.BackColor = System.Drawing.Color.Transparent; this.tabPage2.Controls.Add(this.groupBox24); this.tabPage2.Controls.Add(this.groupBox22); this.tabPage2.Controls.Add(this.groupBox4); this.tabPage2.Controls.Add(this.groupBox16); this.tabPage2.Controls.Add(this.groupBox14); this.tabPage2.Controls.Add(this.groupBox3); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(697, 575); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Synths"; // // groupBox24 // this.groupBox24.Controls.Add(this.piMonitor2TextBox); this.groupBox24.Controls.Add(this.updatePiMonitorButton); this.groupBox24.Controls.Add(this.label82); this.groupBox24.Controls.Add(this.piMonitor1TextBox); this.groupBox24.Location = new System.Drawing.Point(8, 518); this.groupBox24.Name = "groupBox24"; this.groupBox24.Size = new System.Drawing.Size(382, 50); this.groupBox24.TabIndex = 65; this.groupBox24.TabStop = false; this.groupBox24.Text = "pi monitor"; // // piMonitor2TextBox // this.piMonitor2TextBox.BackColor = System.Drawing.Color.Black; this.piMonitor2TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.piMonitor2TextBox.Location = new System.Drawing.Point(214, 22); this.piMonitor2TextBox.Name = "piMonitor2TextBox"; this.piMonitor2TextBox.ReadOnly = true; this.piMonitor2TextBox.Size = new System.Drawing.Size(64, 20); this.piMonitor2TextBox.TabIndex = 65; this.piMonitor2TextBox.Text = "0"; // // updatePiMonitorButton // this.updatePiMonitorButton.Location = new System.Drawing.Point(301, 20); this.updatePiMonitorButton.Name = "updatePiMonitorButton"; this.updatePiMonitorButton.Size = new System.Drawing.Size(75, 23); this.updatePiMonitorButton.TabIndex = 63; this.updatePiMonitorButton.Text = "Update"; this.updatePiMonitorButton.Click += new System.EventHandler(this.updatePiMonitorButton_Click); // // label82 // this.label82.Location = new System.Drawing.Point(17, 24); this.label82.Name = "label82"; this.label82.Size = new System.Drawing.Size(108, 23); this.label82.TabIndex = 64; this.label82.Text = "Monitor voltages (V)"; // // piMonitor1TextBox // this.piMonitor1TextBox.BackColor = System.Drawing.Color.Black; this.piMonitor1TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.piMonitor1TextBox.Location = new System.Drawing.Point(131, 22); this.piMonitor1TextBox.Name = "piMonitor1TextBox"; this.piMonitor1TextBox.ReadOnly = true; this.piMonitor1TextBox.Size = new System.Drawing.Size(64, 20); this.piMonitor1TextBox.TabIndex = 62; this.piMonitor1TextBox.Text = "0"; // // groupBox22 // this.groupBox22.Controls.Add(this.rfManualStateCheckBox); this.groupBox22.Location = new System.Drawing.Point(320, 263); this.groupBox22.Name = "groupBox22"; this.groupBox22.Size = new System.Drawing.Size(363, 52); this.groupBox22.TabIndex = 33; this.groupBox22.TabStop = false; this.groupBox22.Text = "Manual state"; // // rfManualStateCheckBox // this.rfManualStateCheckBox.Location = new System.Drawing.Point(29, 19); this.rfManualStateCheckBox.Name = "rfManualStateCheckBox"; this.rfManualStateCheckBox.Size = new System.Drawing.Size(257, 24); this.rfManualStateCheckBox.TabIndex = 53; this.rfManualStateCheckBox.Text = "State (Checked is rf in bottom)"; // // groupBox4 // this.groupBox4.Controls.Add(this.rf2StepPowerMon); this.groupBox4.Controls.Add(this.rf2StepFreqMon); this.groupBox4.Controls.Add(this.rf1StepPowerMon); this.groupBox4.Controls.Add(this.rf1StepFreqMon); this.groupBox4.Controls.Add(this.rf2CentrePowerMon); this.groupBox4.Controls.Add(this.rf2CentreFreqMon); this.groupBox4.Controls.Add(this.rf1CentrePowerMon); this.groupBox4.Controls.Add(this.rf1CentreFreqMon); this.groupBox4.Controls.Add(this.label56); this.groupBox4.Controls.Add(this.label48); this.groupBox4.Controls.Add(this.label55); this.groupBox4.Controls.Add(this.label40); this.groupBox4.Controls.Add(this.label54); this.groupBox4.Controls.Add(this.label47); this.groupBox4.Controls.Add(this.label53); this.groupBox4.Controls.Add(this.label42); this.groupBox4.Controls.Add(this.rf2MinusPowerMon); this.groupBox4.Controls.Add(this.rf2MinusFreqMon); this.groupBox4.Controls.Add(this.rf1MinusPowerMon); this.groupBox4.Controls.Add(this.rf1MinusFreqMon); this.groupBox4.Controls.Add(this.rf2PlusPowerMon); this.groupBox4.Controls.Add(this.rf2PlusFreqMon); this.groupBox4.Controls.Add(this.rf1PlusPowerMon); this.groupBox4.Controls.Add(this.rf1PlusFreqMon); this.groupBox4.Controls.Add(this.rfPowerUpdateButton); this.groupBox4.Controls.Add(this.label52); this.groupBox4.Controls.Add(this.rfFrequencyUpdateButton); this.groupBox4.Controls.Add(this.label51); this.groupBox4.Controls.Add(this.label46); this.groupBox4.Controls.Add(this.label50); this.groupBox4.Controls.Add(this.label43); this.groupBox4.Controls.Add(this.label49); this.groupBox4.Controls.Add(this.label45); this.groupBox4.Controls.Add(this.label44); this.groupBox4.Location = new System.Drawing.Point(8, 373); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(675, 139); this.groupBox4.TabIndex = 27; this.groupBox4.TabStop = false; this.groupBox4.Text = "rf measurement"; // // rf2StepPowerMon // this.rf2StepPowerMon.BackColor = System.Drawing.Color.Black; this.rf2StepPowerMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf2StepPowerMon.Location = new System.Drawing.Point(592, 81); this.rf2StepPowerMon.Name = "rf2StepPowerMon"; this.rf2StepPowerMon.ReadOnly = true; this.rf2StepPowerMon.Size = new System.Drawing.Size(64, 20); this.rf2StepPowerMon.TabIndex = 58; this.rf2StepPowerMon.Text = "0"; // // rf2StepFreqMon // this.rf2StepFreqMon.BackColor = System.Drawing.Color.Black; this.rf2StepFreqMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf2StepFreqMon.Location = new System.Drawing.Point(258, 81); this.rf2StepFreqMon.Name = "rf2StepFreqMon"; this.rf2StepFreqMon.ReadOnly = true; this.rf2StepFreqMon.Size = new System.Drawing.Size(64, 20); this.rf2StepFreqMon.TabIndex = 58; this.rf2StepFreqMon.Text = "0"; // // rf1StepPowerMon // this.rf1StepPowerMon.BackColor = System.Drawing.Color.Black; this.rf1StepPowerMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf1StepPowerMon.Location = new System.Drawing.Point(431, 81); this.rf1StepPowerMon.Name = "rf1StepPowerMon"; this.rf1StepPowerMon.ReadOnly = true; this.rf1StepPowerMon.Size = new System.Drawing.Size(64, 20); this.rf1StepPowerMon.TabIndex = 58; this.rf1StepPowerMon.Text = "0"; // // rf1StepFreqMon // this.rf1StepFreqMon.BackColor = System.Drawing.Color.Black; this.rf1StepFreqMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf1StepFreqMon.Location = new System.Drawing.Point(98, 81); this.rf1StepFreqMon.Name = "rf1StepFreqMon"; this.rf1StepFreqMon.ReadOnly = true; this.rf1StepFreqMon.Size = new System.Drawing.Size(64, 20); this.rf1StepFreqMon.TabIndex = 58; this.rf1StepFreqMon.Text = "0"; // // rf2CentrePowerMon // this.rf2CentrePowerMon.BackColor = System.Drawing.Color.Black; this.rf2CentrePowerMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf2CentrePowerMon.Location = new System.Drawing.Point(521, 81); this.rf2CentrePowerMon.Name = "rf2CentrePowerMon"; this.rf2CentrePowerMon.ReadOnly = true; this.rf2CentrePowerMon.Size = new System.Drawing.Size(64, 20); this.rf2CentrePowerMon.TabIndex = 57; this.rf2CentrePowerMon.Text = "0"; // // rf2CentreFreqMon // this.rf2CentreFreqMon.BackColor = System.Drawing.Color.Black; this.rf2CentreFreqMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf2CentreFreqMon.Location = new System.Drawing.Point(187, 81); this.rf2CentreFreqMon.Name = "rf2CentreFreqMon"; this.rf2CentreFreqMon.ReadOnly = true; this.rf2CentreFreqMon.Size = new System.Drawing.Size(64, 20); this.rf2CentreFreqMon.TabIndex = 57; this.rf2CentreFreqMon.Text = "0"; // // rf1CentrePowerMon // this.rf1CentrePowerMon.BackColor = System.Drawing.Color.Black; this.rf1CentrePowerMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf1CentrePowerMon.Location = new System.Drawing.Point(360, 81); this.rf1CentrePowerMon.Name = "rf1CentrePowerMon"; this.rf1CentrePowerMon.ReadOnly = true; this.rf1CentrePowerMon.Size = new System.Drawing.Size(64, 20); this.rf1CentrePowerMon.TabIndex = 57; this.rf1CentrePowerMon.Text = "0"; // // rf1CentreFreqMon // this.rf1CentreFreqMon.BackColor = System.Drawing.Color.Black; this.rf1CentreFreqMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf1CentreFreqMon.Location = new System.Drawing.Point(27, 81); this.rf1CentreFreqMon.Name = "rf1CentreFreqMon"; this.rf1CentreFreqMon.ReadOnly = true; this.rf1CentreFreqMon.Size = new System.Drawing.Size(64, 20); this.rf1CentreFreqMon.TabIndex = 57; this.rf1CentreFreqMon.Text = "0"; // // label56 // this.label56.Location = new System.Drawing.Point(589, 64); this.label56.Name = "label56"; this.label56.Size = new System.Drawing.Size(80, 23); this.label56.TabIndex = 56; this.label56.Text = "Step"; // // label48 // this.label48.Location = new System.Drawing.Point(255, 64); this.label48.Name = "label48"; this.label48.Size = new System.Drawing.Size(80, 23); this.label48.TabIndex = 56; this.label48.Text = "Step"; // // label55 // this.label55.Location = new System.Drawing.Point(428, 64); this.label55.Name = "label55"; this.label55.Size = new System.Drawing.Size(80, 23); this.label55.TabIndex = 56; this.label55.Text = "Step"; // // label40 // this.label40.Location = new System.Drawing.Point(95, 64); this.label40.Name = "label40"; this.label40.Size = new System.Drawing.Size(80, 23); this.label40.TabIndex = 56; this.label40.Text = "Step"; // // label54 // this.label54.Location = new System.Drawing.Point(518, 64); this.label54.Name = "label54"; this.label54.Size = new System.Drawing.Size(80, 23); this.label54.TabIndex = 55; this.label54.Text = "Centre"; // // label47 // this.label47.Location = new System.Drawing.Point(184, 64); this.label47.Name = "label47"; this.label47.Size = new System.Drawing.Size(80, 23); this.label47.TabIndex = 55; this.label47.Text = "Centre"; // // label53 // this.label53.Location = new System.Drawing.Point(357, 64); this.label53.Name = "label53"; this.label53.Size = new System.Drawing.Size(80, 23); this.label53.TabIndex = 55; this.label53.Text = "Centre"; // // label42 // this.label42.Location = new System.Drawing.Point(24, 64); this.label42.Name = "label42"; this.label42.Size = new System.Drawing.Size(80, 23); this.label42.TabIndex = 55; this.label42.Text = "Centre"; // // rf2MinusPowerMon // this.rf2MinusPowerMon.BackColor = System.Drawing.Color.Black; this.rf2MinusPowerMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf2MinusPowerMon.Location = new System.Drawing.Point(592, 44); this.rf2MinusPowerMon.Name = "rf2MinusPowerMon"; this.rf2MinusPowerMon.ReadOnly = true; this.rf2MinusPowerMon.Size = new System.Drawing.Size(64, 20); this.rf2MinusPowerMon.TabIndex = 54; this.rf2MinusPowerMon.Text = "0"; // // rf2MinusFreqMon // this.rf2MinusFreqMon.BackColor = System.Drawing.Color.Black; this.rf2MinusFreqMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf2MinusFreqMon.Location = new System.Drawing.Point(258, 44); this.rf2MinusFreqMon.Name = "rf2MinusFreqMon"; this.rf2MinusFreqMon.ReadOnly = true; this.rf2MinusFreqMon.Size = new System.Drawing.Size(64, 20); this.rf2MinusFreqMon.TabIndex = 54; this.rf2MinusFreqMon.Text = "0"; // // rf1MinusPowerMon // this.rf1MinusPowerMon.BackColor = System.Drawing.Color.Black; this.rf1MinusPowerMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf1MinusPowerMon.Location = new System.Drawing.Point(431, 44); this.rf1MinusPowerMon.Name = "rf1MinusPowerMon"; this.rf1MinusPowerMon.ReadOnly = true; this.rf1MinusPowerMon.Size = new System.Drawing.Size(64, 20); this.rf1MinusPowerMon.TabIndex = 54; this.rf1MinusPowerMon.Text = "0"; // // rf1MinusFreqMon // this.rf1MinusFreqMon.BackColor = System.Drawing.Color.Black; this.rf1MinusFreqMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf1MinusFreqMon.Location = new System.Drawing.Point(98, 44); this.rf1MinusFreqMon.Name = "rf1MinusFreqMon"; this.rf1MinusFreqMon.ReadOnly = true; this.rf1MinusFreqMon.Size = new System.Drawing.Size(64, 20); this.rf1MinusFreqMon.TabIndex = 54; this.rf1MinusFreqMon.Text = "0"; // // rf2PlusPowerMon // this.rf2PlusPowerMon.BackColor = System.Drawing.Color.Black; this.rf2PlusPowerMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf2PlusPowerMon.Location = new System.Drawing.Point(521, 44); this.rf2PlusPowerMon.Name = "rf2PlusPowerMon"; this.rf2PlusPowerMon.ReadOnly = true; this.rf2PlusPowerMon.Size = new System.Drawing.Size(64, 20); this.rf2PlusPowerMon.TabIndex = 51; this.rf2PlusPowerMon.Text = "0"; // // rf2PlusFreqMon // this.rf2PlusFreqMon.BackColor = System.Drawing.Color.Black; this.rf2PlusFreqMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf2PlusFreqMon.Location = new System.Drawing.Point(187, 44); this.rf2PlusFreqMon.Name = "rf2PlusFreqMon"; this.rf2PlusFreqMon.ReadOnly = true; this.rf2PlusFreqMon.Size = new System.Drawing.Size(64, 20); this.rf2PlusFreqMon.TabIndex = 51; this.rf2PlusFreqMon.Text = "0"; // // rf1PlusPowerMon // this.rf1PlusPowerMon.BackColor = System.Drawing.Color.Black; this.rf1PlusPowerMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf1PlusPowerMon.Location = new System.Drawing.Point(360, 44); this.rf1PlusPowerMon.Name = "rf1PlusPowerMon"; this.rf1PlusPowerMon.ReadOnly = true; this.rf1PlusPowerMon.Size = new System.Drawing.Size(64, 20); this.rf1PlusPowerMon.TabIndex = 51; this.rf1PlusPowerMon.Text = "0"; // // rf1PlusFreqMon // this.rf1PlusFreqMon.BackColor = System.Drawing.Color.Black; this.rf1PlusFreqMon.ForeColor = System.Drawing.Color.Chartreuse; this.rf1PlusFreqMon.Location = new System.Drawing.Point(27, 44); this.rf1PlusFreqMon.Name = "rf1PlusFreqMon"; this.rf1PlusFreqMon.ReadOnly = true; this.rf1PlusFreqMon.Size = new System.Drawing.Size(64, 20); this.rf1PlusFreqMon.TabIndex = 51; this.rf1PlusFreqMon.Text = "0"; // // rfPowerUpdateButton // this.rfPowerUpdateButton.Location = new System.Drawing.Point(469, 107); this.rfPowerUpdateButton.Name = "rfPowerUpdateButton"; this.rfPowerUpdateButton.Size = new System.Drawing.Size(75, 23); this.rfPowerUpdateButton.TabIndex = 50; this.rfPowerUpdateButton.Text = "Update"; this.rfPowerUpdateButton.Click += new System.EventHandler(this.rfPowerUpdateButton_Click); // // label52 // this.label52.Location = new System.Drawing.Point(589, 25); this.label52.Name = "label52"; this.label52.Size = new System.Drawing.Size(80, 23); this.label52.TabIndex = 47; this.label52.Text = "rf2 ap - (dBm)"; // // rfFrequencyUpdateButton // this.rfFrequencyUpdateButton.Location = new System.Drawing.Point(139, 107); this.rfFrequencyUpdateButton.Name = "rfFrequencyUpdateButton"; this.rfFrequencyUpdateButton.Size = new System.Drawing.Size(75, 23); this.rfFrequencyUpdateButton.TabIndex = 50; this.rfFrequencyUpdateButton.Text = "Update"; this.rfFrequencyUpdateButton.Click += new System.EventHandler(this.rfFrequencyUpdateButton_Click); // // label51 // this.label51.Location = new System.Drawing.Point(428, 25); this.label51.Name = "label51"; this.label51.Size = new System.Drawing.Size(80, 23); this.label51.TabIndex = 47; this.label51.Text = "rf1 ap - (dBm)"; // // label46 // this.label46.Location = new System.Drawing.Point(255, 25); this.label46.Name = "label46"; this.label46.Size = new System.Drawing.Size(80, 23); this.label46.TabIndex = 47; this.label46.Text = "rf2 fr - (Hz)"; // // label50 // this.label50.Location = new System.Drawing.Point(518, 25); this.label50.Name = "label50"; this.label50.Size = new System.Drawing.Size(80, 23); this.label50.TabIndex = 46; this.label50.Text = "rf2 ap + (dBm)"; // // label43 // this.label43.Location = new System.Drawing.Point(95, 25); this.label43.Name = "label43"; this.label43.Size = new System.Drawing.Size(80, 23); this.label43.TabIndex = 47; this.label43.Text = "rf1 fr - (Hz)"; // // label49 // this.label49.Location = new System.Drawing.Point(357, 25); this.label49.Name = "label49"; this.label49.Size = new System.Drawing.Size(80, 23); this.label49.TabIndex = 46; this.label49.Text = "rf1ap + (dBm)"; // // label45 // this.label45.Location = new System.Drawing.Point(184, 25); this.label45.Name = "label45"; this.label45.Size = new System.Drawing.Size(80, 23); this.label45.TabIndex = 46; this.label45.Text = "rf2 fr + (Hz)"; // // label44 // this.label44.Location = new System.Drawing.Point(24, 25); this.label44.Name = "label44"; this.label44.Size = new System.Drawing.Size(80, 23); this.label44.TabIndex = 46; this.label44.Text = "rf1 fr + (Hz)"; // // groupBox16 // this.groupBox16.Controls.Add(this.scramblerCheckBox); this.groupBox16.Controls.Add(this.attenuatorSelectCheck); this.groupBox16.Controls.Add(this.phaseFlip2CheckBox); this.groupBox16.Controls.Add(this.phaseFlip1CheckBox); this.groupBox16.Controls.Add(this.fmSelectCheck); this.groupBox16.Controls.Add(this.rfSwitchEnableCheck); this.groupBox16.Location = new System.Drawing.Point(8, 184); this.groupBox16.Name = "groupBox16"; this.groupBox16.Size = new System.Drawing.Size(296, 183); this.groupBox16.TabIndex = 26; this.groupBox16.TabStop = false; this.groupBox16.Text = "TTL controls"; // // scramblerCheckBox // this.scramblerCheckBox.Location = new System.Drawing.Point(156, 142); this.scramblerCheckBox.Name = "scramblerCheckBox"; this.scramblerCheckBox.Size = new System.Drawing.Size(122, 24); this.scramblerCheckBox.TabIndex = 31; this.scramblerCheckBox.Text = "scrambler TTL"; this.scramblerCheckBox.CheckedChanged += new System.EventHandler(this.scramblerCheckBox_CheckedChanged); // // attenuatorSelectCheck // this.attenuatorSelectCheck.Location = new System.Drawing.Point(24, 82); this.attenuatorSelectCheck.Name = "attenuatorSelectCheck"; this.attenuatorSelectCheck.Size = new System.Drawing.Size(208, 24); this.attenuatorSelectCheck.TabIndex = 30; this.attenuatorSelectCheck.Text = "Attenuator select (check rf1)"; this.attenuatorSelectCheck.CheckedChanged += new System.EventHandler(this.attenuatorSelectCheck_CheckedChanged); // // phaseFlip2CheckBox // this.phaseFlip2CheckBox.Location = new System.Drawing.Point(24, 142); this.phaseFlip2CheckBox.Name = "phaseFlip2CheckBox"; this.phaseFlip2CheckBox.Size = new System.Drawing.Size(152, 24); this.phaseFlip2CheckBox.TabIndex = 29; this.phaseFlip2CheckBox.Text = "phase flip TTL 2"; this.phaseFlip2CheckBox.CheckedChanged += new System.EventHandler(this.phaseFlip2CheckBox_CheckedChanged); // // phaseFlip1CheckBox // this.phaseFlip1CheckBox.Location = new System.Drawing.Point(24, 112); this.phaseFlip1CheckBox.Name = "phaseFlip1CheckBox"; this.phaseFlip1CheckBox.Size = new System.Drawing.Size(152, 24); this.phaseFlip1CheckBox.TabIndex = 28; this.phaseFlip1CheckBox.Text = "phase flip TTL 1"; this.phaseFlip1CheckBox.CheckedChanged += new System.EventHandler(this.phaseFlip1CheckBox_CheckedChanged); // // fmSelectCheck // this.fmSelectCheck.Location = new System.Drawing.Point(24, 52); this.fmSelectCheck.Name = "fmSelectCheck"; this.fmSelectCheck.Size = new System.Drawing.Size(208, 24); this.fmSelectCheck.TabIndex = 27; this.fmSelectCheck.Text = "DC FM select (check rf1)"; this.fmSelectCheck.CheckedChanged += new System.EventHandler(this.greenFMSelectCheck_CheckedChanged); // // rfSwitchEnableCheck // this.rfSwitchEnableCheck.Location = new System.Drawing.Point(24, 22); this.rfSwitchEnableCheck.Name = "rfSwitchEnableCheck"; this.rfSwitchEnableCheck.Size = new System.Drawing.Size(208, 24); this.rfSwitchEnableCheck.TabIndex = 22; this.rfSwitchEnableCheck.Text = "Enable rf1 switch (check on)"; this.rfSwitchEnableCheck.CheckedChanged += new System.EventHandler(this.rfSwitchEnableCheck_CheckedChanged); // // groupBox14 // this.groupBox14.Controls.Add(this.setScramblerVoltageButton); this.groupBox14.Controls.Add(this.panel4); this.groupBox14.Controls.Add(this.label74); this.groupBox14.Controls.Add(this.scramblerVoltageTextBox); this.groupBox14.Controls.Add(this.panel3); this.groupBox14.Controls.Add(this.panel2); this.groupBox14.Controls.Add(this.panel1); this.groupBox14.Controls.Add(this.rf2FMIncTextBox); this.groupBox14.Controls.Add(this.label24); this.groupBox14.Controls.Add(this.rf1FMIncTextBox); this.groupBox14.Controls.Add(this.label28); this.groupBox14.Controls.Add(this.rf2AttIncTextBox); this.groupBox14.Controls.Add(this.label6); this.groupBox14.Controls.Add(this.rf1AttIncTextBox); this.groupBox14.Controls.Add(this.label4); this.groupBox14.Controls.Add(this.setFMVoltagesButton); this.groupBox14.Controls.Add(this.label2); this.groupBox14.Controls.Add(this.rf2FMVoltage); this.groupBox14.Controls.Add(this.label3); this.groupBox14.Controls.Add(this.rf1FMVoltage); this.groupBox14.Controls.Add(this.setAttenuatorsButton); this.groupBox14.Controls.Add(this.label36); this.groupBox14.Controls.Add(this.rf2AttenuatorVoltageTextBox); this.groupBox14.Controls.Add(this.label39); this.groupBox14.Controls.Add(this.rf1AttenuatorVoltageTextBox); this.groupBox14.Location = new System.Drawing.Point(320, 16); this.groupBox14.Name = "groupBox14"; this.groupBox14.Size = new System.Drawing.Size(363, 244); this.groupBox14.TabIndex = 24; this.groupBox14.TabStop = false; this.groupBox14.Text = "fast rf control"; // // setScramblerVoltageButton // this.setScramblerVoltageButton.Location = new System.Drawing.Point(125, 218); this.setScramblerVoltageButton.Name = "setScramblerVoltageButton"; this.setScramblerVoltageButton.Size = new System.Drawing.Size(131, 23); this.setScramblerVoltageButton.TabIndex = 33; this.setScramblerVoltageButton.Text = "Set scrambler voltage"; this.setScramblerVoltageButton.Click += new System.EventHandler(this.setScramblerVoltageButton_Click); // // panel4 // this.panel4.Controls.Add(this.rf2FMZeroRB); this.panel4.Controls.Add(this.rf2FMPlusRB); this.panel4.Controls.Add(this.rf2FMMinusRB); this.panel4.Location = new System.Drawing.Point(249, 134); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(108, 32); this.panel4.TabIndex = 0; // // rf2FMZeroRB // this.rf2FMZeroRB.AutoSize = true; this.rf2FMZeroRB.Checked = true; this.rf2FMZeroRB.Location = new System.Drawing.Point(77, 7); this.rf2FMZeroRB.Name = "rf2FMZeroRB"; this.rf2FMZeroRB.Size = new System.Drawing.Size(31, 17); this.rf2FMZeroRB.TabIndex = 32; this.rf2FMZeroRB.TabStop = true; this.rf2FMZeroRB.Text = "0"; this.rf2FMZeroRB.UseVisualStyleBackColor = true; // // rf2FMPlusRB // this.rf2FMPlusRB.AutoSize = true; this.rf2FMPlusRB.Location = new System.Drawing.Point(3, 6); this.rf2FMPlusRB.Name = "rf2FMPlusRB"; this.rf2FMPlusRB.Size = new System.Drawing.Size(31, 17); this.rf2FMPlusRB.TabIndex = 32; this.rf2FMPlusRB.Text = "+"; this.rf2FMPlusRB.UseVisualStyleBackColor = true; // // rf2FMMinusRB // this.rf2FMMinusRB.AutoSize = true; this.rf2FMMinusRB.Location = new System.Drawing.Point(42, 7); this.rf2FMMinusRB.Name = "rf2FMMinusRB"; this.rf2FMMinusRB.Size = new System.Drawing.Size(28, 17); this.rf2FMMinusRB.TabIndex = 32; this.rf2FMMinusRB.Text = "-"; this.rf2FMMinusRB.UseVisualStyleBackColor = true; // // label74 // this.label74.Location = new System.Drawing.Point(6, 195); this.label74.Name = "label74"; this.label74.Size = new System.Drawing.Size(114, 23); this.label74.TabIndex = 32; this.label74.Text = "Scrambler voltage (V)"; // // scramblerVoltageTextBox // this.scramblerVoltageTextBox.Location = new System.Drawing.Point(128, 192); this.scramblerVoltageTextBox.Name = "scramblerVoltageTextBox"; this.scramblerVoltageTextBox.Size = new System.Drawing.Size(34, 20); this.scramblerVoltageTextBox.TabIndex = 31; this.scramblerVoltageTextBox.Text = "0"; // // panel3 // this.panel3.Controls.Add(this.rf1FMZeroRB); this.panel3.Controls.Add(this.rf1FMPlusRB); this.panel3.Controls.Add(this.rf1FMMinusRB); this.panel3.Location = new System.Drawing.Point(249, 106); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(108, 32); this.panel3.TabIndex = 0; // // rf1FMZeroRB // this.rf1FMZeroRB.AutoSize = true; this.rf1FMZeroRB.Checked = true; this.rf1FMZeroRB.Location = new System.Drawing.Point(77, 7); this.rf1FMZeroRB.Name = "rf1FMZeroRB"; this.rf1FMZeroRB.Size = new System.Drawing.Size(31, 17); this.rf1FMZeroRB.TabIndex = 32; this.rf1FMZeroRB.TabStop = true; this.rf1FMZeroRB.Text = "0"; this.rf1FMZeroRB.UseVisualStyleBackColor = true; // // rf1FMPlusRB // this.rf1FMPlusRB.AutoSize = true; this.rf1FMPlusRB.Location = new System.Drawing.Point(3, 6); this.rf1FMPlusRB.Name = "rf1FMPlusRB"; this.rf1FMPlusRB.Size = new System.Drawing.Size(31, 17); this.rf1FMPlusRB.TabIndex = 32; this.rf1FMPlusRB.Text = "+"; this.rf1FMPlusRB.UseVisualStyleBackColor = true; // // rf1FMMinusRB // this.rf1FMMinusRB.AutoSize = true; this.rf1FMMinusRB.Location = new System.Drawing.Point(42, 7); this.rf1FMMinusRB.Name = "rf1FMMinusRB"; this.rf1FMMinusRB.Size = new System.Drawing.Size(28, 17); this.rf1FMMinusRB.TabIndex = 32; this.rf1FMMinusRB.Text = "-"; this.rf1FMMinusRB.UseVisualStyleBackColor = true; // // panel2 // this.panel2.Controls.Add(this.rf2AttZeroRB); this.panel2.Controls.Add(this.rf2AttPlusRB); this.panel2.Controls.Add(this.rf2AttMinusRB); this.panel2.Location = new System.Drawing.Point(249, 47); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(108, 32); this.panel2.TabIndex = 0; // // rf2AttZeroRB // this.rf2AttZeroRB.AutoSize = true; this.rf2AttZeroRB.Checked = true; this.rf2AttZeroRB.Location = new System.Drawing.Point(77, 7); this.rf2AttZeroRB.Name = "rf2AttZeroRB"; this.rf2AttZeroRB.Size = new System.Drawing.Size(31, 17); this.rf2AttZeroRB.TabIndex = 32; this.rf2AttZeroRB.TabStop = true; this.rf2AttZeroRB.Text = "0"; this.rf2AttZeroRB.UseVisualStyleBackColor = true; // // rf2AttPlusRB // this.rf2AttPlusRB.AutoSize = true; this.rf2AttPlusRB.Location = new System.Drawing.Point(3, 6); this.rf2AttPlusRB.Name = "rf2AttPlusRB"; this.rf2AttPlusRB.Size = new System.Drawing.Size(31, 17); this.rf2AttPlusRB.TabIndex = 32; this.rf2AttPlusRB.Text = "+"; this.rf2AttPlusRB.UseVisualStyleBackColor = true; // // rf2AttMinusRB // this.rf2AttMinusRB.AutoSize = true; this.rf2AttMinusRB.Location = new System.Drawing.Point(42, 7); this.rf2AttMinusRB.Name = "rf2AttMinusRB"; this.rf2AttMinusRB.Size = new System.Drawing.Size(28, 17); this.rf2AttMinusRB.TabIndex = 32; this.rf2AttMinusRB.Text = "-"; this.rf2AttMinusRB.UseVisualStyleBackColor = true; // // panel1 // this.panel1.Controls.Add(this.rf1AttZeroRB); this.panel1.Controls.Add(this.rf1AttPlusRB); this.panel1.Controls.Add(this.rf1AttMinusRB); this.panel1.Location = new System.Drawing.Point(249, 19); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(108, 32); this.panel1.TabIndex = 0; // // rf1AttZeroRB // this.rf1AttZeroRB.AutoSize = true; this.rf1AttZeroRB.Checked = true; this.rf1AttZeroRB.Location = new System.Drawing.Point(77, 7); this.rf1AttZeroRB.Name = "rf1AttZeroRB"; this.rf1AttZeroRB.Size = new System.Drawing.Size(31, 17); this.rf1AttZeroRB.TabIndex = 32; this.rf1AttZeroRB.TabStop = true; this.rf1AttZeroRB.Text = "0"; this.rf1AttZeroRB.UseVisualStyleBackColor = true; // // rf1AttPlusRB // this.rf1AttPlusRB.AutoSize = true; this.rf1AttPlusRB.Location = new System.Drawing.Point(3, 6); this.rf1AttPlusRB.Name = "rf1AttPlusRB"; this.rf1AttPlusRB.Size = new System.Drawing.Size(31, 17); this.rf1AttPlusRB.TabIndex = 32; this.rf1AttPlusRB.Text = "+"; this.rf1AttPlusRB.UseVisualStyleBackColor = true; // // rf1AttMinusRB // this.rf1AttMinusRB.AutoSize = true; this.rf1AttMinusRB.Location = new System.Drawing.Point(42, 7); this.rf1AttMinusRB.Name = "rf1AttMinusRB"; this.rf1AttMinusRB.Size = new System.Drawing.Size(28, 17); this.rf1AttMinusRB.TabIndex = 32; this.rf1AttMinusRB.Text = "-"; this.rf1AttMinusRB.UseVisualStyleBackColor = true; // // rf2FMIncTextBox // this.rf2FMIncTextBox.Location = new System.Drawing.Point(198, 136); this.rf2FMIncTextBox.Name = "rf2FMIncTextBox"; this.rf2FMIncTextBox.Size = new System.Drawing.Size(34, 20); this.rf2FMIncTextBox.TabIndex = 7; this.rf2FMIncTextBox.Text = "0"; // // label24 // this.label24.Location = new System.Drawing.Point(168, 136); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(24, 23); this.label24.TabIndex = 30; this.label24.Text = "+-"; // // rf1FMIncTextBox // this.rf1FMIncTextBox.Location = new System.Drawing.Point(198, 110); this.rf1FMIncTextBox.Name = "rf1FMIncTextBox"; this.rf1FMIncTextBox.Size = new System.Drawing.Size(34, 20); this.rf1FMIncTextBox.TabIndex = 5; this.rf1FMIncTextBox.Text = "0"; // // label28 // this.label28.Location = new System.Drawing.Point(168, 110); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(24, 23); this.label28.TabIndex = 28; this.label28.Text = "+-"; // // rf2AttIncTextBox // this.rf2AttIncTextBox.Location = new System.Drawing.Point(198, 50); this.rf2AttIncTextBox.Name = "rf2AttIncTextBox"; this.rf2AttIncTextBox.Size = new System.Drawing.Size(34, 20); this.rf2AttIncTextBox.TabIndex = 3; this.rf2AttIncTextBox.Text = "0"; // // label6 // this.label6.Location = new System.Drawing.Point(168, 50); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(24, 23); this.label6.TabIndex = 2; this.label6.Text = "+-"; // // rf1AttIncTextBox // this.rf1AttIncTextBox.Location = new System.Drawing.Point(198, 24); this.rf1AttIncTextBox.Name = "rf1AttIncTextBox"; this.rf1AttIncTextBox.Size = new System.Drawing.Size(34, 20); this.rf1AttIncTextBox.TabIndex = 1; this.rf1AttIncTextBox.Text = "0"; // // label4 // this.label4.Location = new System.Drawing.Point(168, 24); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(24, 23); this.label4.TabIndex = 0; this.label4.Text = "+-"; // // setFMVoltagesButton // this.setFMVoltagesButton.Location = new System.Drawing.Point(125, 166); this.setFMVoltagesButton.Name = "setFMVoltagesButton"; this.setFMVoltagesButton.Size = new System.Drawing.Size(131, 23); this.setFMVoltagesButton.TabIndex = 23; this.setFMVoltagesButton.Text = "Set fm voltages"; this.setFMVoltagesButton.Click += new System.EventHandler(this.setFMVoltagesButton_Click); // // label2 // this.label2.Location = new System.Drawing.Point(59, 140); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(61, 23); this.label2.TabIndex = 22; this.label2.Text = "rf2 fm (V)"; // // rf2FMVoltage // this.rf2FMVoltage.Location = new System.Drawing.Point(128, 136); this.rf2FMVoltage.Name = "rf2FMVoltage"; this.rf2FMVoltage.Size = new System.Drawing.Size(34, 20); this.rf2FMVoltage.TabIndex = 6; this.rf2FMVoltage.Text = "0"; // // label3 // this.label3.Location = new System.Drawing.Point(59, 114); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 23); this.label3.TabIndex = 20; this.label3.Text = "rf1 fm (V)"; // // rf1FMVoltage // this.rf1FMVoltage.Location = new System.Drawing.Point(128, 110); this.rf1FMVoltage.Name = "rf1FMVoltage"; this.rf1FMVoltage.Size = new System.Drawing.Size(34, 20); this.rf1FMVoltage.TabIndex = 4; this.rf1FMVoltage.Text = "0"; // // setAttenuatorsButton // this.setAttenuatorsButton.Location = new System.Drawing.Point(125, 79); this.setAttenuatorsButton.Name = "setAttenuatorsButton"; this.setAttenuatorsButton.Size = new System.Drawing.Size(131, 23); this.setAttenuatorsButton.TabIndex = 18; this.setAttenuatorsButton.Text = "Set attenuator voltages"; this.setAttenuatorsButton.Click += new System.EventHandler(this.setAttenuatorsButton_Click); // // label36 // this.label36.Location = new System.Drawing.Point(24, 54); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size(96, 23); this.label36.TabIndex = 15; this.label36.Text = "rf2 att. voltage (V)"; // // rf2AttenuatorVoltageTextBox // this.rf2AttenuatorVoltageTextBox.Location = new System.Drawing.Point(128, 50); this.rf2AttenuatorVoltageTextBox.Name = "rf2AttenuatorVoltageTextBox"; this.rf2AttenuatorVoltageTextBox.Size = new System.Drawing.Size(34, 20); this.rf2AttenuatorVoltageTextBox.TabIndex = 2; this.rf2AttenuatorVoltageTextBox.Text = "5"; // // label39 // this.label39.Location = new System.Drawing.Point(24, 28); this.label39.Name = "label39"; this.label39.Size = new System.Drawing.Size(96, 23); this.label39.TabIndex = 13; this.label39.Text = "rf1 att. voltage (V)"; // // rf1AttenuatorVoltageTextBox // this.rf1AttenuatorVoltageTextBox.Location = new System.Drawing.Point(128, 24); this.rf1AttenuatorVoltageTextBox.Name = "rf1AttenuatorVoltageTextBox"; this.rf1AttenuatorVoltageTextBox.Size = new System.Drawing.Size(34, 20); this.rf1AttenuatorVoltageTextBox.TabIndex = 0; this.rf1AttenuatorVoltageTextBox.Text = "5"; // // tabPage3 // this.tabPage3.BackColor = System.Drawing.Color.Transparent; this.tabPage3.Controls.Add(this.groupBox23); this.tabPage3.Controls.Add(this.groupBox20); this.tabPage3.Controls.Add(this.groupBox9); this.tabPage3.Controls.Add(this.groupBox12); this.tabPage3.Controls.Add(this.groupBox8); this.tabPage3.Controls.Add(this.groupBox5); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(697, 575); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "B-field"; // // groupBox23 // this.groupBox23.Controls.Add(this.bManualStateCheckBox); this.groupBox23.Location = new System.Drawing.Point(390, 16); this.groupBox23.Name = "groupBox23"; this.groupBox23.Size = new System.Drawing.Size(233, 61); this.groupBox23.TabIndex = 49; this.groupBox23.TabStop = false; this.groupBox23.Text = "Manual state"; // // bManualStateCheckBox // this.bManualStateCheckBox.Location = new System.Drawing.Point(6, 23); this.bManualStateCheckBox.Name = "bManualStateCheckBox"; this.bManualStateCheckBox.Size = new System.Drawing.Size(221, 24); this.bManualStateCheckBox.TabIndex = 53; this.bManualStateCheckBox.Text = "State (Checked is Red=>+Iz)"; // // groupBox20 // this.groupBox20.Controls.Add(this.miniFlux2TextBox); this.groupBox20.Controls.Add(this.miniFlux3TextBox); this.groupBox20.Controls.Add(this.label77); this.groupBox20.Controls.Add(this.label76); this.groupBox20.Controls.Add(this.miniFlux1TextBox); this.groupBox20.Controls.Add(this.updateMiniFluxgatesButton); this.groupBox20.Controls.Add(this.label75); this.groupBox20.Location = new System.Drawing.Point(390, 78); this.groupBox20.Name = "groupBox20"; this.groupBox20.Size = new System.Drawing.Size(233, 192); this.groupBox20.TabIndex = 48; this.groupBox20.TabStop = false; this.groupBox20.Text = "Mini-Fluxgate Monitor"; // // miniFlux2TextBox // this.miniFlux2TextBox.BackColor = System.Drawing.Color.Black; this.miniFlux2TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.miniFlux2TextBox.Location = new System.Drawing.Point(140, 50); this.miniFlux2TextBox.Name = "miniFlux2TextBox"; this.miniFlux2TextBox.ReadOnly = true; this.miniFlux2TextBox.Size = new System.Drawing.Size(64, 20); this.miniFlux2TextBox.TabIndex = 49; this.miniFlux2TextBox.Text = "0"; // // miniFlux3TextBox // this.miniFlux3TextBox.BackColor = System.Drawing.Color.Black; this.miniFlux3TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.miniFlux3TextBox.Location = new System.Drawing.Point(140, 79); this.miniFlux3TextBox.Name = "miniFlux3TextBox"; this.miniFlux3TextBox.ReadOnly = true; this.miniFlux3TextBox.Size = new System.Drawing.Size(64, 20); this.miniFlux3TextBox.TabIndex = 48; this.miniFlux3TextBox.Text = "0"; // // label77 // this.label77.Location = new System.Drawing.Point(16, 82); this.label77.Name = "label77"; this.label77.Size = new System.Drawing.Size(101, 23); this.label77.TabIndex = 47; this.label77.Text = "Computer Rack (V)"; // // label76 // this.label76.Location = new System.Drawing.Point(16, 53); this.label76.Name = "label76"; this.label76.Size = new System.Drawing.Size(80, 23); this.label76.TabIndex = 46; this.label76.Text = "Optic Table (V)"; // // miniFlux1TextBox // this.miniFlux1TextBox.BackColor = System.Drawing.Color.Black; this.miniFlux1TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.miniFlux1TextBox.Location = new System.Drawing.Point(140, 21); this.miniFlux1TextBox.Name = "miniFlux1TextBox"; this.miniFlux1TextBox.ReadOnly = true; this.miniFlux1TextBox.Size = new System.Drawing.Size(64, 20); this.miniFlux1TextBox.TabIndex = 45; this.miniFlux1TextBox.Text = "0"; // // updateMiniFluxgatesButton // this.updateMiniFluxgatesButton.Location = new System.Drawing.Point(16, 120); this.updateMiniFluxgatesButton.Name = "updateMiniFluxgatesButton"; this.updateMiniFluxgatesButton.Size = new System.Drawing.Size(75, 23); this.updateMiniFluxgatesButton.TabIndex = 40; this.updateMiniFluxgatesButton.Text = "Update"; this.updateMiniFluxgatesButton.Click += new System.EventHandler(this.updateMiniFluxgatesButton_Click); // // label75 // this.label75.Location = new System.Drawing.Point(16, 24); this.label75.Name = "label75"; this.label75.Size = new System.Drawing.Size(80, 23); this.label75.TabIndex = 36; this.label75.Text = "Supplies (V)"; // // groupBox9 // this.groupBox9.Controls.Add(this.automaticBiasCalcButton); this.groupBox9.Controls.Add(this.steppingBBoxBiasTextBox); this.groupBox9.Controls.Add(this.SteppingBBoxBiasUpdateButton); this.groupBox9.Controls.Add(this.label65); this.groupBox9.Location = new System.Drawing.Point(310, 276); this.groupBox9.Name = "groupBox9"; this.groupBox9.Size = new System.Drawing.Size(296, 96); this.groupBox9.TabIndex = 47; this.groupBox9.TabStop = false; this.groupBox9.Text = "Stepping B box bias"; // // automaticBiasCalcButton // this.automaticBiasCalcButton.Location = new System.Drawing.Point(96, 56); this.automaticBiasCalcButton.Name = "automaticBiasCalcButton"; this.automaticBiasCalcButton.Size = new System.Drawing.Size(163, 23); this.automaticBiasCalcButton.TabIndex = 46; this.automaticBiasCalcButton.Text = "Set to measured Bias"; this.automaticBiasCalcButton.Click += new System.EventHandler(this.automaticBiasCalcButton_Click); // // steppingBBoxBiasTextBox // this.steppingBBoxBiasTextBox.Location = new System.Drawing.Point(96, 24); this.steppingBBoxBiasTextBox.Name = "steppingBBoxBiasTextBox"; this.steppingBBoxBiasTextBox.Size = new System.Drawing.Size(64, 20); this.steppingBBoxBiasTextBox.TabIndex = 45; this.steppingBBoxBiasTextBox.Text = "0"; // // SteppingBBoxBiasUpdateButton // this.SteppingBBoxBiasUpdateButton.Location = new System.Drawing.Point(184, 24); this.SteppingBBoxBiasUpdateButton.Name = "SteppingBBoxBiasUpdateButton"; this.SteppingBBoxBiasUpdateButton.Size = new System.Drawing.Size(75, 23); this.SteppingBBoxBiasUpdateButton.TabIndex = 40; this.SteppingBBoxBiasUpdateButton.Text = "Update"; this.SteppingBBoxBiasUpdateButton.Click += new System.EventHandler(this.SteppingBBoxBiasUpdateButton_Click); // // label65 // this.label65.Location = new System.Drawing.Point(16, 24); this.label65.Name = "label65"; this.label65.Size = new System.Drawing.Size(80, 23); this.label65.TabIndex = 36; this.label65.Text = "Voltage (V)"; // // groupBox12 // this.groupBox12.Controls.Add(this.scanningBVoltageBox); this.groupBox12.Controls.Add(this.scanningBFSButton); this.groupBox12.Controls.Add(this.scanningBZeroButton); this.groupBox12.Controls.Add(this.scanningBUpdateButton); this.groupBox12.Controls.Add(this.label41); this.groupBox12.Location = new System.Drawing.Point(8, 276); this.groupBox12.Name = "groupBox12"; this.groupBox12.Size = new System.Drawing.Size(296, 96); this.groupBox12.TabIndex = 46; this.groupBox12.TabStop = false; this.groupBox12.Text = "Scanning B box"; // // scanningBVoltageBox // this.scanningBVoltageBox.Location = new System.Drawing.Point(96, 24); this.scanningBVoltageBox.Name = "scanningBVoltageBox"; this.scanningBVoltageBox.Size = new System.Drawing.Size(64, 20); this.scanningBVoltageBox.TabIndex = 45; this.scanningBVoltageBox.Text = "0"; // // scanningBFSButton // this.scanningBFSButton.Location = new System.Drawing.Point(184, 56); this.scanningBFSButton.Name = "scanningBFSButton"; this.scanningBFSButton.Size = new System.Drawing.Size(75, 23); this.scanningBFSButton.TabIndex = 44; this.scanningBFSButton.Text = "Max"; this.scanningBFSButton.Click += new System.EventHandler(this.scanningBFSButton_Click); // // scanningBZeroButton // this.scanningBZeroButton.Location = new System.Drawing.Point(85, 56); this.scanningBZeroButton.Name = "scanningBZeroButton"; this.scanningBZeroButton.Size = new System.Drawing.Size(75, 23); this.scanningBZeroButton.TabIndex = 43; this.scanningBZeroButton.Text = "Zero"; this.scanningBZeroButton.Click += new System.EventHandler(this.scanningBZeroButton_Click); // // scanningBUpdateButton // this.scanningBUpdateButton.Location = new System.Drawing.Point(184, 24); this.scanningBUpdateButton.Name = "scanningBUpdateButton"; this.scanningBUpdateButton.Size = new System.Drawing.Size(75, 23); this.scanningBUpdateButton.TabIndex = 40; this.scanningBUpdateButton.Text = "Update"; this.scanningBUpdateButton.Click += new System.EventHandler(this.scanningBUpdateButton_Click); // // label41 // this.label41.Location = new System.Drawing.Point(16, 24); this.label41.Name = "label41"; this.label41.Size = new System.Drawing.Size(80, 23); this.label41.TabIndex = 36; this.label41.Text = "Voltage (V)"; // // groupBox8 // this.groupBox8.Controls.Add(this.bCurrentCalStepTextBox); this.groupBox8.Controls.Add(this.bCurrentFlipStepTextBox); this.groupBox8.Controls.Add(this.bCurrentBiasTextBox); this.groupBox8.Controls.Add(this.label25); this.groupBox8.Controls.Add(this.label26); this.groupBox8.Controls.Add(this.label27); this.groupBox8.Controls.Add(this.bCurrent01TextBox); this.groupBox8.Controls.Add(this.bCurrent11TextBox); this.groupBox8.Controls.Add(this.bCurrent10TextBox); this.groupBox8.Controls.Add(this.bCurrent00TextBox); this.groupBox8.Controls.Add(this.updateBCurrentMonitorButton); this.groupBox8.Controls.Add(this.label20); this.groupBox8.Controls.Add(this.label21); this.groupBox8.Controls.Add(this.label22); this.groupBox8.Controls.Add(this.label23); this.groupBox8.Location = new System.Drawing.Point(8, 78); this.groupBox8.Name = "groupBox8"; this.groupBox8.Size = new System.Drawing.Size(376, 192); this.groupBox8.TabIndex = 45; this.groupBox8.TabStop = false; this.groupBox8.Text = "Current monitor"; // // bCurrentCalStepTextBox // this.bCurrentCalStepTextBox.BackColor = System.Drawing.Color.Black; this.bCurrentCalStepTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.bCurrentCalStepTextBox.Location = new System.Drawing.Point(288, 56); this.bCurrentCalStepTextBox.Name = "bCurrentCalStepTextBox"; this.bCurrentCalStepTextBox.ReadOnly = true; this.bCurrentCalStepTextBox.Size = new System.Drawing.Size(64, 20); this.bCurrentCalStepTextBox.TabIndex = 53; this.bCurrentCalStepTextBox.Text = "0"; // // bCurrentFlipStepTextBox // this.bCurrentFlipStepTextBox.BackColor = System.Drawing.Color.Black; this.bCurrentFlipStepTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.bCurrentFlipStepTextBox.Location = new System.Drawing.Point(288, 88); this.bCurrentFlipStepTextBox.Name = "bCurrentFlipStepTextBox"; this.bCurrentFlipStepTextBox.ReadOnly = true; this.bCurrentFlipStepTextBox.Size = new System.Drawing.Size(64, 20); this.bCurrentFlipStepTextBox.TabIndex = 51; this.bCurrentFlipStepTextBox.Text = "0"; // // bCurrentBiasTextBox // this.bCurrentBiasTextBox.BackColor = System.Drawing.Color.Black; this.bCurrentBiasTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.bCurrentBiasTextBox.Location = new System.Drawing.Point(288, 24); this.bCurrentBiasTextBox.Name = "bCurrentBiasTextBox"; this.bCurrentBiasTextBox.ReadOnly = true; this.bCurrentBiasTextBox.Size = new System.Drawing.Size(64, 20); this.bCurrentBiasTextBox.TabIndex = 50; this.bCurrentBiasTextBox.Text = "0"; // // label25 // this.label25.Location = new System.Drawing.Point(200, 88); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(80, 23); this.label25.TabIndex = 48; this.label25.Text = "DB (uA)"; // // label26 // this.label26.Location = new System.Drawing.Point(200, 56); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(80, 23); this.label26.TabIndex = 47; this.label26.Text = "dB (uA)"; // // label27 // this.label27.Location = new System.Drawing.Point(200, 24); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(80, 23); this.label27.TabIndex = 46; this.label27.Text = "Bias (uA)"; // // bCurrent01TextBox // this.bCurrent01TextBox.BackColor = System.Drawing.Color.Black; this.bCurrent01TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.bCurrent01TextBox.Location = new System.Drawing.Point(104, 56); this.bCurrent01TextBox.Name = "bCurrent01TextBox"; this.bCurrent01TextBox.ReadOnly = true; this.bCurrent01TextBox.Size = new System.Drawing.Size(64, 20); this.bCurrent01TextBox.TabIndex = 45; this.bCurrent01TextBox.Text = "0"; // // bCurrent11TextBox // this.bCurrent11TextBox.BackColor = System.Drawing.Color.Black; this.bCurrent11TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.bCurrent11TextBox.Location = new System.Drawing.Point(104, 120); this.bCurrent11TextBox.Name = "bCurrent11TextBox"; this.bCurrent11TextBox.ReadOnly = true; this.bCurrent11TextBox.Size = new System.Drawing.Size(64, 20); this.bCurrent11TextBox.TabIndex = 44; this.bCurrent11TextBox.Text = "0"; // // bCurrent10TextBox // this.bCurrent10TextBox.BackColor = System.Drawing.Color.Black; this.bCurrent10TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.bCurrent10TextBox.Location = new System.Drawing.Point(104, 88); this.bCurrent10TextBox.Name = "bCurrent10TextBox"; this.bCurrent10TextBox.ReadOnly = true; this.bCurrent10TextBox.Size = new System.Drawing.Size(64, 20); this.bCurrent10TextBox.TabIndex = 43; this.bCurrent10TextBox.Text = "0"; // // bCurrent00TextBox // this.bCurrent00TextBox.BackColor = System.Drawing.Color.Black; this.bCurrent00TextBox.ForeColor = System.Drawing.Color.Chartreuse; this.bCurrent00TextBox.Location = new System.Drawing.Point(104, 24); this.bCurrent00TextBox.Name = "bCurrent00TextBox"; this.bCurrent00TextBox.ReadOnly = true; this.bCurrent00TextBox.Size = new System.Drawing.Size(64, 20); this.bCurrent00TextBox.TabIndex = 42; this.bCurrent00TextBox.Text = "0"; // // updateBCurrentMonitorButton // this.updateBCurrentMonitorButton.Location = new System.Drawing.Point(152, 152); this.updateBCurrentMonitorButton.Name = "updateBCurrentMonitorButton"; this.updateBCurrentMonitorButton.Size = new System.Drawing.Size(75, 23); this.updateBCurrentMonitorButton.TabIndex = 40; this.updateBCurrentMonitorButton.Text = "Update"; this.updateBCurrentMonitorButton.Click += new System.EventHandler(this.updateBCurrentMonitorButton_Click); // // label20 // this.label20.Location = new System.Drawing.Point(16, 120); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(80, 23); this.label20.TabIndex = 39; this.label20.Text = "DB1 dB1 (uA)"; // // label21 // this.label21.Location = new System.Drawing.Point(16, 88); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(80, 23); this.label21.TabIndex = 38; this.label21.Text = "DB1 dB0 (uA)"; // // label22 // this.label22.Location = new System.Drawing.Point(16, 56); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(80, 23); this.label22.TabIndex = 37; this.label22.Text = "DB0 dB1 (uA)"; // // label23 // this.label23.Location = new System.Drawing.Point(16, 24); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(80, 23); this.label23.TabIndex = 36; this.label23.Text = "DB0 dB0 (uA)"; // // tabPage4 // this.tabPage4.BackColor = System.Drawing.Color.Transparent; this.tabPage4.Controls.Add(this.UpdateVCOConversionFractionButton); this.tabPage4.Controls.Add(this.vcoConversionFractionTextBox); this.tabPage4.Controls.Add(this.label83); this.tabPage4.Controls.Add(this.groupBox25); this.tabPage4.Controls.Add(this.groupBox19); this.tabPage4.Controls.Add(this.groupBox18); this.tabPage4.Controls.Add(this.groupBox11); this.tabPage4.Controls.Add(this.groupBox10); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new System.Drawing.Size(697, 575); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Dye Laser"; // // UpdateVCOConversionFractionButton // this.UpdateVCOConversionFractionButton.Location = new System.Drawing.Point(290, 531); this.UpdateVCOConversionFractionButton.Name = "UpdateVCOConversionFractionButton"; this.UpdateVCOConversionFractionButton.Size = new System.Drawing.Size(75, 23); this.UpdateVCOConversionFractionButton.TabIndex = 65; this.UpdateVCOConversionFractionButton.Text = "Update"; this.UpdateVCOConversionFractionButton.Click += new System.EventHandler(this.UpdateVCOConversionFractionButton_Click); // // vcoConversionFractionTextBox // this.vcoConversionFractionTextBox.BackColor = System.Drawing.Color.Black; this.vcoConversionFractionTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.vcoConversionFractionTextBox.Location = new System.Drawing.Point(142, 533); this.vcoConversionFractionTextBox.Name = "vcoConversionFractionTextBox"; this.vcoConversionFractionTextBox.ReadOnly = true; this.vcoConversionFractionTextBox.Size = new System.Drawing.Size(136, 20); this.vcoConversionFractionTextBox.TabIndex = 64; this.vcoConversionFractionTextBox.Text = "0"; // // label83 // this.label83.Location = new System.Drawing.Point(9, 536); this.label83.Name = "label83"; this.label83.Size = new System.Drawing.Size(127, 23); this.label83.TabIndex = 63; this.label83.Text = "VCO conversion fraction"; // // groupBox25 // this.groupBox25.Controls.Add(this.pumpAOMTrackBar); this.groupBox25.Controls.Add(this.panel7); this.groupBox25.Controls.Add(this.pumpAOMStepTextBox); this.groupBox25.Controls.Add(this.label99); this.groupBox25.Controls.Add(this.pumpAOMVoltageTextBox); this.groupBox25.Controls.Add(this.updatePumpAOMButton); this.groupBox25.Controls.Add(this.label100); this.groupBox25.Controls.Add(this.pumpAOMFreqStepTextBox); this.groupBox25.Controls.Add(this.label88); this.groupBox25.Controls.Add(this.pumpAOMFreqPlusTextBox); this.groupBox25.Controls.Add(this.pumpAOMFreqCentreTextBox); this.groupBox25.Controls.Add(this.label95); this.groupBox25.Controls.Add(this.pumpAOMFreqMinusTextBox); this.groupBox25.Controls.Add(this.label96); this.groupBox25.Controls.Add(this.pumpAOMFreqUpdateButton); this.groupBox25.Controls.Add(this.label98); this.groupBox25.Location = new System.Drawing.Point(8, 353); this.groupBox25.Name = "groupBox25"; this.groupBox25.Size = new System.Drawing.Size(529, 174); this.groupBox25.TabIndex = 56; this.groupBox25.TabStop = false; this.groupBox25.Text = "Pump AOM"; // // pumpAOMTrackBar // this.pumpAOMTrackBar.Location = new System.Drawing.Point(9, 128); this.pumpAOMTrackBar.Maximum = 500; this.pumpAOMTrackBar.Name = "pumpAOMTrackBar"; this.pumpAOMTrackBar.Size = new System.Drawing.Size(215, 45); this.pumpAOMTrackBar.TabIndex = 73; this.pumpAOMTrackBar.Scroll += new System.EventHandler(this.pumpAOMTrackBar_Scroll); // // panel7 // this.panel7.Controls.Add(this.pumpAOMStepZeroButton); this.panel7.Controls.Add(this.pumpAOMStepPlusButton); this.panel7.Controls.Add(this.pumpAOMStepMinusButton); this.panel7.Location = new System.Drawing.Point(9, 76); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(116, 32); this.panel7.TabIndex = 72; // // pumpAOMStepZeroButton // this.pumpAOMStepZeroButton.AutoSize = true; this.pumpAOMStepZeroButton.Checked = true; this.pumpAOMStepZeroButton.Location = new System.Drawing.Point(77, 7); this.pumpAOMStepZeroButton.Name = "pumpAOMStepZeroButton"; this.pumpAOMStepZeroButton.Size = new System.Drawing.Size(31, 17); this.pumpAOMStepZeroButton.TabIndex = 32; this.pumpAOMStepZeroButton.TabStop = true; this.pumpAOMStepZeroButton.Text = "0"; this.pumpAOMStepZeroButton.UseVisualStyleBackColor = true; // // pumpAOMStepPlusButton // this.pumpAOMStepPlusButton.AutoSize = true; this.pumpAOMStepPlusButton.Location = new System.Drawing.Point(3, 6); this.pumpAOMStepPlusButton.Name = "pumpAOMStepPlusButton"; this.pumpAOMStepPlusButton.Size = new System.Drawing.Size(31, 17); this.pumpAOMStepPlusButton.TabIndex = 32; this.pumpAOMStepPlusButton.Text = "+"; this.pumpAOMStepPlusButton.UseVisualStyleBackColor = true; // // pumpAOMStepMinusButton // this.pumpAOMStepMinusButton.AutoSize = true; this.pumpAOMStepMinusButton.Location = new System.Drawing.Point(42, 7); this.pumpAOMStepMinusButton.Name = "pumpAOMStepMinusButton"; this.pumpAOMStepMinusButton.Size = new System.Drawing.Size(28, 17); this.pumpAOMStepMinusButton.TabIndex = 32; this.pumpAOMStepMinusButton.Text = "-"; this.pumpAOMStepMinusButton.UseVisualStyleBackColor = true; // // pumpAOMStepTextBox // this.pumpAOMStepTextBox.Location = new System.Drawing.Point(131, 45); this.pumpAOMStepTextBox.Name = "pumpAOMStepTextBox"; this.pumpAOMStepTextBox.Size = new System.Drawing.Size(64, 20); this.pumpAOMStepTextBox.TabIndex = 71; this.pumpAOMStepTextBox.Text = "0"; // // label99 // this.label99.Location = new System.Drawing.Point(48, 48); this.label99.Name = "label99"; this.label99.Size = new System.Drawing.Size(80, 23); this.label99.TabIndex = 70; this.label99.Text = "Step (V)"; // // pumpAOMVoltageTextBox // this.pumpAOMVoltageTextBox.Location = new System.Drawing.Point(131, 22); this.pumpAOMVoltageTextBox.Name = "pumpAOMVoltageTextBox"; this.pumpAOMVoltageTextBox.Size = new System.Drawing.Size(64, 20); this.pumpAOMVoltageTextBox.TabIndex = 69; this.pumpAOMVoltageTextBox.Text = "0"; // // updatePumpAOMButton // this.updatePumpAOMButton.Location = new System.Drawing.Point(131, 79); this.updatePumpAOMButton.Name = "updatePumpAOMButton"; this.updatePumpAOMButton.Size = new System.Drawing.Size(75, 23); this.updatePumpAOMButton.TabIndex = 68; this.updatePumpAOMButton.Text = "Update"; this.updatePumpAOMButton.Click += new System.EventHandler(this.updatePumpAOMButton_Click); // // label100 // this.label100.Location = new System.Drawing.Point(48, 25); this.label100.Name = "label100"; this.label100.Size = new System.Drawing.Size(80, 23); this.label100.TabIndex = 67; this.label100.Text = "Voltage (V)"; // // pumpAOMFreqStepTextBox // this.pumpAOMFreqStepTextBox.BackColor = System.Drawing.Color.Black; this.pumpAOMFreqStepTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.pumpAOMFreqStepTextBox.Location = new System.Drawing.Point(375, 99); this.pumpAOMFreqStepTextBox.Name = "pumpAOMFreqStepTextBox"; this.pumpAOMFreqStepTextBox.ReadOnly = true; this.pumpAOMFreqStepTextBox.Size = new System.Drawing.Size(126, 20); this.pumpAOMFreqStepTextBox.TabIndex = 65; this.pumpAOMFreqStepTextBox.Text = "0"; // // label88 // this.label88.Location = new System.Drawing.Point(246, 102); this.label88.Name = "label88"; this.label88.Size = new System.Drawing.Size(111, 23); this.label88.TabIndex = 63; this.label88.Text = "Step (Hz)"; // // pumpAOMFreqPlusTextBox // this.pumpAOMFreqPlusTextBox.BackColor = System.Drawing.Color.Black; this.pumpAOMFreqPlusTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.pumpAOMFreqPlusTextBox.Location = new System.Drawing.Point(375, 45); this.pumpAOMFreqPlusTextBox.Name = "pumpAOMFreqPlusTextBox"; this.pumpAOMFreqPlusTextBox.ReadOnly = true; this.pumpAOMFreqPlusTextBox.Size = new System.Drawing.Size(126, 20); this.pumpAOMFreqPlusTextBox.TabIndex = 66; this.pumpAOMFreqPlusTextBox.Text = "0"; // // pumpAOMFreqCentreTextBox // this.pumpAOMFreqCentreTextBox.BackColor = System.Drawing.Color.Black; this.pumpAOMFreqCentreTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.pumpAOMFreqCentreTextBox.Location = new System.Drawing.Point(375, 73); this.pumpAOMFreqCentreTextBox.Name = "pumpAOMFreqCentreTextBox"; this.pumpAOMFreqCentreTextBox.ReadOnly = true; this.pumpAOMFreqCentreTextBox.Size = new System.Drawing.Size(126, 20); this.pumpAOMFreqCentreTextBox.TabIndex = 62; this.pumpAOMFreqCentreTextBox.Text = "0"; // // label95 // this.label95.Location = new System.Drawing.Point(246, 48); this.label95.Name = "label95"; this.label95.Size = new System.Drawing.Size(111, 23); this.label95.TabIndex = 64; this.label95.Text = "AOM freq high (Hz)"; // // pumpAOMFreqMinusTextBox // this.pumpAOMFreqMinusTextBox.BackColor = System.Drawing.Color.Black; this.pumpAOMFreqMinusTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.pumpAOMFreqMinusTextBox.Location = new System.Drawing.Point(375, 19); this.pumpAOMFreqMinusTextBox.Name = "pumpAOMFreqMinusTextBox"; this.pumpAOMFreqMinusTextBox.ReadOnly = true; this.pumpAOMFreqMinusTextBox.Size = new System.Drawing.Size(126, 20); this.pumpAOMFreqMinusTextBox.TabIndex = 61; this.pumpAOMFreqMinusTextBox.Text = "0"; // // label96 // this.label96.Location = new System.Drawing.Point(246, 76); this.label96.Name = "label96"; this.label96.Size = new System.Drawing.Size(111, 23); this.label96.TabIndex = 58; this.label96.Text = "Centre (Hz)"; // // pumpAOMFreqUpdateButton // this.pumpAOMFreqUpdateButton.Location = new System.Drawing.Point(331, 137); this.pumpAOMFreqUpdateButton.Name = "pumpAOMFreqUpdateButton"; this.pumpAOMFreqUpdateButton.Size = new System.Drawing.Size(75, 23); this.pumpAOMFreqUpdateButton.TabIndex = 60; this.pumpAOMFreqUpdateButton.Text = "Update"; this.pumpAOMFreqUpdateButton.Click += new System.EventHandler(this.pumpAOMFreqUpdateButton_Click); // // label98 // this.label98.Location = new System.Drawing.Point(246, 22); this.label98.Name = "label98"; this.label98.Size = new System.Drawing.Size(111, 23); this.label98.TabIndex = 59; this.label98.Text = "AOM freq low (Hz)"; // // groupBox19 // this.groupBox19.Controls.Add(this.I2AOMFreqStepTextBox); this.groupBox19.Controls.Add(this.label73); this.groupBox19.Controls.Add(this.I2AOMFreqMinusTextBox); this.groupBox19.Controls.Add(this.I2AOMFreqCentreTextBox); this.groupBox19.Controls.Add(this.label71); this.groupBox19.Controls.Add(this.I2AOMFreqPlusTextBox); this.groupBox19.Controls.Add(this.label72); this.groupBox19.Controls.Add(this.I2AOMFreqUpdateButton); this.groupBox19.Controls.Add(this.label69); this.groupBox19.Location = new System.Drawing.Point(238, 171); this.groupBox19.Name = "groupBox19"; this.groupBox19.Size = new System.Drawing.Size(299, 176); this.groupBox19.TabIndex = 55; this.groupBox19.TabStop = false; this.groupBox19.Text = "Iodine lock"; // // I2AOMFreqStepTextBox // this.I2AOMFreqStepTextBox.BackColor = System.Drawing.Color.Black; this.I2AOMFreqStepTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.I2AOMFreqStepTextBox.Location = new System.Drawing.Point(145, 109); this.I2AOMFreqStepTextBox.Name = "I2AOMFreqStepTextBox"; this.I2AOMFreqStepTextBox.ReadOnly = true; this.I2AOMFreqStepTextBox.Size = new System.Drawing.Size(126, 20); this.I2AOMFreqStepTextBox.TabIndex = 56; this.I2AOMFreqStepTextBox.Text = "0"; // // label73 // this.label73.Location = new System.Drawing.Point(16, 112); this.label73.Name = "label73"; this.label73.Size = new System.Drawing.Size(111, 23); this.label73.TabIndex = 55; this.label73.Text = "Step (Hz)"; // // I2AOMFreqMinusTextBox // this.I2AOMFreqMinusTextBox.BackColor = System.Drawing.Color.Black; this.I2AOMFreqMinusTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.I2AOMFreqMinusTextBox.Location = new System.Drawing.Point(145, 55); this.I2AOMFreqMinusTextBox.Name = "I2AOMFreqMinusTextBox"; this.I2AOMFreqMinusTextBox.ReadOnly = true; this.I2AOMFreqMinusTextBox.Size = new System.Drawing.Size(126, 20); this.I2AOMFreqMinusTextBox.TabIndex = 56; this.I2AOMFreqMinusTextBox.Text = "0"; // // I2AOMFreqCentreTextBox // this.I2AOMFreqCentreTextBox.BackColor = System.Drawing.Color.Black; this.I2AOMFreqCentreTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.I2AOMFreqCentreTextBox.Location = new System.Drawing.Point(145, 83); this.I2AOMFreqCentreTextBox.Name = "I2AOMFreqCentreTextBox"; this.I2AOMFreqCentreTextBox.ReadOnly = true; this.I2AOMFreqCentreTextBox.Size = new System.Drawing.Size(126, 20); this.I2AOMFreqCentreTextBox.TabIndex = 54; this.I2AOMFreqCentreTextBox.Text = "0"; // // label71 // this.label71.Location = new System.Drawing.Point(16, 58); this.label71.Name = "label71"; this.label71.Size = new System.Drawing.Size(111, 23); this.label71.TabIndex = 55; this.label71.Text = "AOM freq high (Hz)"; // // I2AOMFreqPlusTextBox // this.I2AOMFreqPlusTextBox.BackColor = System.Drawing.Color.Black; this.I2AOMFreqPlusTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.I2AOMFreqPlusTextBox.Location = new System.Drawing.Point(145, 29); this.I2AOMFreqPlusTextBox.Name = "I2AOMFreqPlusTextBox"; this.I2AOMFreqPlusTextBox.ReadOnly = true; this.I2AOMFreqPlusTextBox.Size = new System.Drawing.Size(126, 20); this.I2AOMFreqPlusTextBox.TabIndex = 54; this.I2AOMFreqPlusTextBox.Text = "0"; // // label72 // this.label72.Location = new System.Drawing.Point(16, 86); this.label72.Name = "label72"; this.label72.Size = new System.Drawing.Size(111, 23); this.label72.TabIndex = 52; this.label72.Text = "Centre (Hz)"; // // I2AOMFreqUpdateButton // this.I2AOMFreqUpdateButton.Location = new System.Drawing.Point(101, 147); this.I2AOMFreqUpdateButton.Name = "I2AOMFreqUpdateButton"; this.I2AOMFreqUpdateButton.Size = new System.Drawing.Size(75, 23); this.I2AOMFreqUpdateButton.TabIndex = 53; this.I2AOMFreqUpdateButton.Text = "Update"; this.I2AOMFreqUpdateButton.Click += new System.EventHandler(this.I2AOMFreqUpdateButton_Click); // // label69 // this.label69.Location = new System.Drawing.Point(16, 32); this.label69.Name = "label69"; this.label69.Size = new System.Drawing.Size(111, 23); this.label69.TabIndex = 52; this.label69.Text = "AOM freq low (Hz)"; // // groupBox18 // this.groupBox18.Controls.Add(this.FLPZTVtrackBar); this.groupBox18.Controls.Add(this.panel5); this.groupBox18.Controls.Add(this.FLPZTStepTextBox); this.groupBox18.Controls.Add(this.label70); this.groupBox18.Controls.Add(this.FLPZTVTextBox); this.groupBox18.Controls.Add(this.UpdateFLPZTVButton); this.groupBox18.Controls.Add(this.label68); this.groupBox18.Location = new System.Drawing.Point(238, 20); this.groupBox18.Name = "groupBox18"; this.groupBox18.Size = new System.Drawing.Size(299, 145); this.groupBox18.TabIndex = 48; this.groupBox18.TabStop = false; this.groupBox18.Text = "Laser frequency"; // // FLPZTVtrackBar // this.FLPZTVtrackBar.Location = new System.Drawing.Point(6, 94); this.FLPZTVtrackBar.Maximum = 1000; this.FLPZTVtrackBar.Name = "FLPZTVtrackBar"; this.FLPZTVtrackBar.Size = new System.Drawing.Size(284, 45); this.FLPZTVtrackBar.TabIndex = 49; this.FLPZTVtrackBar.Scroll += new System.EventHandler(this.FLPZTVtrackBar_Scroll); // // panel5 // this.panel5.Controls.Add(this.FLPZTStepZeroButton); this.panel5.Controls.Add(this.FLPZTStepPlusButton); this.panel5.Controls.Add(this.FLPZTStepMinusButton); this.panel5.Location = new System.Drawing.Point(182, 20); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(111, 32); this.panel5.TabIndex = 48; // // FLPZTStepZeroButton // this.FLPZTStepZeroButton.AutoSize = true; this.FLPZTStepZeroButton.Checked = true; this.FLPZTStepZeroButton.Location = new System.Drawing.Point(77, 7); this.FLPZTStepZeroButton.Name = "FLPZTStepZeroButton"; this.FLPZTStepZeroButton.Size = new System.Drawing.Size(31, 17); this.FLPZTStepZeroButton.TabIndex = 32; this.FLPZTStepZeroButton.TabStop = true; this.FLPZTStepZeroButton.Text = "0"; this.FLPZTStepZeroButton.UseVisualStyleBackColor = true; // // FLPZTStepPlusButton // this.FLPZTStepPlusButton.AutoSize = true; this.FLPZTStepPlusButton.Location = new System.Drawing.Point(3, 6); this.FLPZTStepPlusButton.Name = "FLPZTStepPlusButton"; this.FLPZTStepPlusButton.Size = new System.Drawing.Size(31, 17); this.FLPZTStepPlusButton.TabIndex = 32; this.FLPZTStepPlusButton.Text = "+"; this.FLPZTStepPlusButton.UseVisualStyleBackColor = true; // // FLPZTStepMinusButton // this.FLPZTStepMinusButton.AutoSize = true; this.FLPZTStepMinusButton.Location = new System.Drawing.Point(42, 7); this.FLPZTStepMinusButton.Name = "FLPZTStepMinusButton"; this.FLPZTStepMinusButton.Size = new System.Drawing.Size(28, 17); this.FLPZTStepMinusButton.TabIndex = 32; this.FLPZTStepMinusButton.Text = "-"; this.FLPZTStepMinusButton.UseVisualStyleBackColor = true; // // FLPZTStepTextBox // this.FLPZTStepTextBox.Location = new System.Drawing.Point(96, 48); this.FLPZTStepTextBox.Name = "FLPZTStepTextBox"; this.FLPZTStepTextBox.Size = new System.Drawing.Size(64, 20); this.FLPZTStepTextBox.TabIndex = 47; this.FLPZTStepTextBox.Text = "0"; // // label70 // this.label70.Location = new System.Drawing.Point(16, 48); this.label70.Name = "label70"; this.label70.Size = new System.Drawing.Size(80, 23); this.label70.TabIndex = 46; this.label70.Text = "Step (V)"; // // FLPZTVTextBox // this.FLPZTVTextBox.Location = new System.Drawing.Point(96, 24); this.FLPZTVTextBox.Name = "FLPZTVTextBox"; this.FLPZTVTextBox.Size = new System.Drawing.Size(64, 20); this.FLPZTVTextBox.TabIndex = 45; this.FLPZTVTextBox.Text = "0"; // // UpdateFLPZTVButton // this.UpdateFLPZTVButton.Location = new System.Drawing.Point(215, 67); this.UpdateFLPZTVButton.Name = "UpdateFLPZTVButton"; this.UpdateFLPZTVButton.Size = new System.Drawing.Size(75, 23); this.UpdateFLPZTVButton.TabIndex = 40; this.UpdateFLPZTVButton.Text = "Update"; this.UpdateFLPZTVButton.Click += new System.EventHandler(this.UpdateFLPZTVButton_Click); // // label68 // this.label68.Location = new System.Drawing.Point(16, 24); this.label68.Name = "label68"; this.label68.Size = new System.Drawing.Size(80, 23); this.label68.TabIndex = 36; this.label68.Text = "Voltage (V)"; // // groupBox11 // this.groupBox11.Controls.Add(this.updateLaserPhotodiodesButton); this.groupBox11.Controls.Add(this.pumpMonitorTextBox); this.groupBox11.Controls.Add(this.pump2MonitorTextBox); this.groupBox11.Controls.Add(this.probeMonitorTextBox); this.groupBox11.Controls.Add(this.label29); this.groupBox11.Controls.Add(this.label30); this.groupBox11.Controls.Add(this.label31); this.groupBox11.Location = new System.Drawing.Point(8, 171); this.groupBox11.Name = "groupBox11"; this.groupBox11.Size = new System.Drawing.Size(224, 176); this.groupBox11.TabIndex = 1; this.groupBox11.TabStop = false; this.groupBox11.Text = "Photodiodes"; // // updateLaserPhotodiodesButton // this.updateLaserPhotodiodesButton.Location = new System.Drawing.Point(72, 136); this.updateLaserPhotodiodesButton.Name = "updateLaserPhotodiodesButton"; this.updateLaserPhotodiodesButton.Size = new System.Drawing.Size(75, 23); this.updateLaserPhotodiodesButton.TabIndex = 52; this.updateLaserPhotodiodesButton.Text = "Update"; this.updateLaserPhotodiodesButton.Click += new System.EventHandler(this.updateLaserPhotodiodesButton_Click); // // pumpMonitorTextBox // this.pumpMonitorTextBox.BackColor = System.Drawing.Color.Black; this.pumpMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.pumpMonitorTextBox.Location = new System.Drawing.Point(120, 64); this.pumpMonitorTextBox.Name = "pumpMonitorTextBox"; this.pumpMonitorTextBox.ReadOnly = true; this.pumpMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.pumpMonitorTextBox.TabIndex = 51; this.pumpMonitorTextBox.Text = "0"; // // pump2MonitorTextBox // this.pump2MonitorTextBox.BackColor = System.Drawing.Color.Black; this.pump2MonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.pump2MonitorTextBox.Location = new System.Drawing.Point(120, 96); this.pump2MonitorTextBox.Name = "pump2MonitorTextBox"; this.pump2MonitorTextBox.ReadOnly = true; this.pump2MonitorTextBox.Size = new System.Drawing.Size(64, 20); this.pump2MonitorTextBox.TabIndex = 50; this.pump2MonitorTextBox.Text = "0"; // // probeMonitorTextBox // this.probeMonitorTextBox.BackColor = System.Drawing.Color.Black; this.probeMonitorTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.probeMonitorTextBox.Location = new System.Drawing.Point(120, 32); this.probeMonitorTextBox.Name = "probeMonitorTextBox"; this.probeMonitorTextBox.ReadOnly = true; this.probeMonitorTextBox.Size = new System.Drawing.Size(64, 20); this.probeMonitorTextBox.TabIndex = 49; this.probeMonitorTextBox.Text = "0"; // // label29 // this.label29.Location = new System.Drawing.Point(32, 96); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(80, 23); this.label29.TabIndex = 48; this.label29.Text = "Pump 2 (V)"; // // label30 // this.label30.Location = new System.Drawing.Point(32, 64); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(80, 23); this.label30.TabIndex = 47; this.label30.Text = "Pump (V)"; // // label31 // this.label31.Location = new System.Drawing.Point(32, 32); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(80, 23); this.label31.TabIndex = 46; this.label31.Text = "Probe (V)"; // // groupBox10 // this.groupBox10.Controls.Add(this.argonShutterCheckBox); this.groupBox10.Controls.Add(this.label32); this.groupBox10.Controls.Add(this.probeShutterCheck); this.groupBox10.Controls.Add(this.pumpShutterCheck); this.groupBox10.Location = new System.Drawing.Point(8, 16); this.groupBox10.Name = "groupBox10"; this.groupBox10.Size = new System.Drawing.Size(224, 149); this.groupBox10.TabIndex = 0; this.groupBox10.TabStop = false; this.groupBox10.Text = "Shutters"; // // argonShutterCheckBox // this.argonShutterCheckBox.Location = new System.Drawing.Point(98, 56); this.argonShutterCheckBox.Name = "argonShutterCheckBox"; this.argonShutterCheckBox.Size = new System.Drawing.Size(72, 24); this.argonShutterCheckBox.TabIndex = 25; this.argonShutterCheckBox.Text = "Ar+"; this.argonShutterCheckBox.CheckedChanged += new System.EventHandler(this.argonShutterCheckBox_CheckedChanged); // // label32 // this.label32.Location = new System.Drawing.Point(95, 29); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(105, 43); this.label32.TabIndex = 24; this.label32.Text = "Checked is blocked."; // // probeShutterCheck // this.probeShutterCheck.Location = new System.Drawing.Point(24, 56); this.probeShutterCheck.Name = "probeShutterCheck"; this.probeShutterCheck.Size = new System.Drawing.Size(72, 24); this.probeShutterCheck.TabIndex = 23; this.probeShutterCheck.Text = "Probe"; this.probeShutterCheck.CheckedChanged += new System.EventHandler(this.probeShutterCheck_CheckedChanged); // // pumpShutterCheck // this.pumpShutterCheck.Location = new System.Drawing.Point(24, 24); this.pumpShutterCheck.Name = "pumpShutterCheck"; this.pumpShutterCheck.Size = new System.Drawing.Size(72, 24); this.pumpShutterCheck.TabIndex = 22; this.pumpShutterCheck.Text = "Pump"; this.pumpShutterCheck.CheckedChanged += new System.EventHandler(this.pumpShutterCheck_CheckedChanged); // // tabPage8 // this.tabPage8.BackColor = System.Drawing.Color.Transparent; this.tabPage8.Controls.Add(this.groupBox36); this.tabPage8.Controls.Add(this.groupBox28); this.tabPage8.Controls.Add(this.groupBox27); this.tabPage8.Controls.Add(this.groupBox26); this.tabPage8.Location = new System.Drawing.Point(4, 22); this.tabPage8.Name = "tabPage8"; this.tabPage8.Padding = new System.Windows.Forms.Padding(3); this.tabPage8.Size = new System.Drawing.Size(697, 575); this.tabPage8.TabIndex = 7; this.tabPage8.Text = "Diode Laser"; // // groupBox36 // this.groupBox36.Controls.Add(this.flAOMFreqStepTextBox); this.groupBox36.Controls.Add(this.label119); this.groupBox36.Controls.Add(this.flAOMFreqPlusTextBox); this.groupBox36.Controls.Add(this.flAOMFreqCentreTextBox); this.groupBox36.Controls.Add(this.label120); this.groupBox36.Controls.Add(this.flAOMFreqMinusTextBox); this.groupBox36.Controls.Add(this.label121); this.groupBox36.Controls.Add(this.flAOMFreqUpdateButton); this.groupBox36.Controls.Add(this.label122); this.groupBox36.Controls.Add(this.panel8); this.groupBox36.Controls.Add(this.flAOMStepTextBox); this.groupBox36.Controls.Add(this.label117); this.groupBox36.Controls.Add(this.flAOMVoltageTextBox); this.groupBox36.Controls.Add(this.UpdateFLAOMButton); this.groupBox36.Controls.Add(this.label118); this.groupBox36.Location = new System.Drawing.Point(9, 409); this.groupBox36.Name = "groupBox36"; this.groupBox36.Size = new System.Drawing.Size(393, 148); this.groupBox36.TabIndex = 49; this.groupBox36.TabStop = false; this.groupBox36.Text = "Stabilising AOM"; // // flAOMFreqStepTextBox // this.flAOMFreqStepTextBox.BackColor = System.Drawing.Color.Black; this.flAOMFreqStepTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.flAOMFreqStepTextBox.Location = new System.Drawing.Point(255, 95); this.flAOMFreqStepTextBox.Name = "flAOMFreqStepTextBox"; this.flAOMFreqStepTextBox.ReadOnly = true; this.flAOMFreqStepTextBox.Size = new System.Drawing.Size(126, 20); this.flAOMFreqStepTextBox.TabIndex = 74; this.flAOMFreqStepTextBox.Text = "0"; // // label119 // this.label119.Location = new System.Drawing.Point(151, 98); this.label119.Name = "label119"; this.label119.Size = new System.Drawing.Size(96, 23); this.label119.TabIndex = 72; this.label119.Text = "Step (Hz)"; // // flAOMFreqPlusTextBox // this.flAOMFreqPlusTextBox.BackColor = System.Drawing.Color.Black; this.flAOMFreqPlusTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.flAOMFreqPlusTextBox.Location = new System.Drawing.Point(255, 41); this.flAOMFreqPlusTextBox.Name = "flAOMFreqPlusTextBox"; this.flAOMFreqPlusTextBox.ReadOnly = true; this.flAOMFreqPlusTextBox.Size = new System.Drawing.Size(126, 20); this.flAOMFreqPlusTextBox.TabIndex = 75; this.flAOMFreqPlusTextBox.Text = "0"; // // flAOMFreqCentreTextBox // this.flAOMFreqCentreTextBox.BackColor = System.Drawing.Color.Black; this.flAOMFreqCentreTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.flAOMFreqCentreTextBox.Location = new System.Drawing.Point(255, 69); this.flAOMFreqCentreTextBox.Name = "flAOMFreqCentreTextBox"; this.flAOMFreqCentreTextBox.ReadOnly = true; this.flAOMFreqCentreTextBox.Size = new System.Drawing.Size(126, 20); this.flAOMFreqCentreTextBox.TabIndex = 71; this.flAOMFreqCentreTextBox.Text = "0"; // // label120 // this.label120.Location = new System.Drawing.Point(151, 44); this.label120.Name = "label120"; this.label120.Size = new System.Drawing.Size(98, 23); this.label120.TabIndex = 73; this.label120.Text = "AOM freq high (Hz)"; // // flAOMFreqMinusTextBox // this.flAOMFreqMinusTextBox.BackColor = System.Drawing.Color.Black; this.flAOMFreqMinusTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.flAOMFreqMinusTextBox.Location = new System.Drawing.Point(255, 15); this.flAOMFreqMinusTextBox.Name = "flAOMFreqMinusTextBox"; this.flAOMFreqMinusTextBox.ReadOnly = true; this.flAOMFreqMinusTextBox.Size = new System.Drawing.Size(126, 20); this.flAOMFreqMinusTextBox.TabIndex = 70; this.flAOMFreqMinusTextBox.Text = "0"; // // label121 // this.label121.Location = new System.Drawing.Point(151, 72); this.label121.Name = "label121"; this.label121.Size = new System.Drawing.Size(96, 23); this.label121.TabIndex = 67; this.label121.Text = "Centre (Hz)"; // // flAOMFreqUpdateButton // this.flAOMFreqUpdateButton.Location = new System.Drawing.Point(305, 121); this.flAOMFreqUpdateButton.Name = "flAOMFreqUpdateButton"; this.flAOMFreqUpdateButton.Size = new System.Drawing.Size(75, 23); this.flAOMFreqUpdateButton.TabIndex = 69; this.flAOMFreqUpdateButton.Text = "Update"; this.flAOMFreqUpdateButton.Click += new System.EventHandler(this.flAOMFreqUpdateButton_Click); // // label122 // this.label122.Location = new System.Drawing.Point(150, 18); this.label122.Name = "label122"; this.label122.Size = new System.Drawing.Size(99, 23); this.label122.TabIndex = 68; this.label122.Text = "AOM freq low (Hz)"; // // panel8 // this.panel8.Controls.Add(this.flAOMStepZeroButton); this.panel8.Controls.Add(this.flAOMStepPlusButton); this.panel8.Controls.Add(this.flAOMStepMinusButton); this.panel8.Location = new System.Drawing.Point(9, 67); this.panel8.Name = "panel8"; this.panel8.Size = new System.Drawing.Size(111, 32); this.panel8.TabIndex = 48; // // flAOMStepZeroButton // this.flAOMStepZeroButton.AutoSize = true; this.flAOMStepZeroButton.Checked = true; this.flAOMStepZeroButton.Location = new System.Drawing.Point(77, 7); this.flAOMStepZeroButton.Name = "flAOMStepZeroButton"; this.flAOMStepZeroButton.Size = new System.Drawing.Size(31, 17); this.flAOMStepZeroButton.TabIndex = 32; this.flAOMStepZeroButton.TabStop = true; this.flAOMStepZeroButton.Text = "0"; this.flAOMStepZeroButton.UseVisualStyleBackColor = true; // // flAOMStepPlusButton // this.flAOMStepPlusButton.AutoSize = true; this.flAOMStepPlusButton.Location = new System.Drawing.Point(3, 6); this.flAOMStepPlusButton.Name = "flAOMStepPlusButton"; this.flAOMStepPlusButton.Size = new System.Drawing.Size(31, 17); this.flAOMStepPlusButton.TabIndex = 32; this.flAOMStepPlusButton.Text = "+"; this.flAOMStepPlusButton.UseVisualStyleBackColor = true; // // flAOMStepMinusButton // this.flAOMStepMinusButton.AutoSize = true; this.flAOMStepMinusButton.Location = new System.Drawing.Point(42, 7); this.flAOMStepMinusButton.Name = "flAOMStepMinusButton"; this.flAOMStepMinusButton.Size = new System.Drawing.Size(28, 17); this.flAOMStepMinusButton.TabIndex = 32; this.flAOMStepMinusButton.Text = "-"; this.flAOMStepMinusButton.UseVisualStyleBackColor = true; // // flAOMStepTextBox // this.flAOMStepTextBox.Location = new System.Drawing.Point(68, 41); this.flAOMStepTextBox.Name = "flAOMStepTextBox"; this.flAOMStepTextBox.Size = new System.Drawing.Size(64, 20); this.flAOMStepTextBox.TabIndex = 47; this.flAOMStepTextBox.Text = "0"; // // label117 // this.label117.Location = new System.Drawing.Point(6, 44); this.label117.Name = "label117"; this.label117.Size = new System.Drawing.Size(80, 23); this.label117.TabIndex = 46; this.label117.Text = "Step (V)"; // // flAOMVoltageTextBox // this.flAOMVoltageTextBox.Location = new System.Drawing.Point(68, 21); this.flAOMVoltageTextBox.Name = "flAOMVoltageTextBox"; this.flAOMVoltageTextBox.Size = new System.Drawing.Size(64, 20); this.flAOMVoltageTextBox.TabIndex = 45; this.flAOMVoltageTextBox.Text = "0"; // // UpdateFLAOMButton // this.UpdateFLAOMButton.Location = new System.Drawing.Point(24, 121); this.UpdateFLAOMButton.Name = "UpdateFLAOMButton"; this.UpdateFLAOMButton.Size = new System.Drawing.Size(75, 23); this.UpdateFLAOMButton.TabIndex = 40; this.UpdateFLAOMButton.Text = "Update"; this.UpdateFLAOMButton.Click += new System.EventHandler(this.UpdateFLAOMButton_Click); // // label118 // this.label118.Location = new System.Drawing.Point(6, 23); this.label118.Name = "label118"; this.label118.Size = new System.Drawing.Size(80, 23); this.label118.TabIndex = 36; this.label118.Text = "Voltage (V)"; // // groupBox28 // this.groupBox28.Controls.Add(this.groupBox30); this.groupBox28.Controls.Add(this.groupBox31); this.groupBox28.Controls.Add(this.groupBox29); this.groupBox28.Location = new System.Drawing.Point(408, 218); this.groupBox28.Name = "groupBox28"; this.groupBox28.Size = new System.Drawing.Size(283, 252); this.groupBox28.TabIndex = 2; this.groupBox28.TabStop = false; this.groupBox28.Text = "Fibre Amplifier"; // // groupBox30 // this.groupBox30.Controls.Add(this.fibreAmpEnableLED); this.groupBox30.Controls.Add(this.fibreAmpEnableSwitch); this.groupBox30.Location = new System.Drawing.Point(9, 18); this.groupBox30.Name = "groupBox30"; this.groupBox30.Size = new System.Drawing.Size(124, 79); this.groupBox30.TabIndex = 50; this.groupBox30.TabStop = false; this.groupBox30.Text = "On/Off"; // // fibreAmpEnableLED // this.fibreAmpEnableLED.LedStyle = NationalInstruments.UI.LedStyle.Round3D; this.fibreAmpEnableLED.Location = new System.Drawing.Point(9, 20); this.fibreAmpEnableLED.Name = "fibreAmpEnableLED"; this.fibreAmpEnableLED.OffColor = System.Drawing.Color.Black; this.fibreAmpEnableLED.Size = new System.Drawing.Size(47, 49); this.fibreAmpEnableLED.TabIndex = 51; // // fibreAmpEnableSwitch // this.fibreAmpEnableSwitch.Location = new System.Drawing.Point(60, -4); this.fibreAmpEnableSwitch.Name = "fibreAmpEnableSwitch"; this.fibreAmpEnableSwitch.Size = new System.Drawing.Size(64, 96); this.fibreAmpEnableSwitch.SwitchStyle = NationalInstruments.UI.SwitchStyle.VerticalToggle3D; this.fibreAmpEnableSwitch.TabIndex = 50; this.fibreAmpEnableSwitch.StateChanged += new NationalInstruments.UI.ActionEventHandler(this.fibreAmpEnableSwitch_StateChanged); // // groupBox31 // this.groupBox31.Controls.Add(this.updateFibreAmpPwrButton); this.groupBox31.Controls.Add(this.fibreAmpPwrTextBox); this.groupBox31.Location = new System.Drawing.Point(149, 19); this.groupBox31.Name = "groupBox31"; this.groupBox31.Size = new System.Drawing.Size(124, 76); this.groupBox31.TabIndex = 48; this.groupBox31.TabStop = false; this.groupBox31.Text = "Power"; // // updateFibreAmpPwrButton // this.updateFibreAmpPwrButton.Location = new System.Drawing.Point(6, 45); this.updateFibreAmpPwrButton.Name = "updateFibreAmpPwrButton"; this.updateFibreAmpPwrButton.Size = new System.Drawing.Size(100, 23); this.updateFibreAmpPwrButton.TabIndex = 60; this.updateFibreAmpPwrButton.Text = "Update"; this.updateFibreAmpPwrButton.UseVisualStyleBackColor = true; this.updateFibreAmpPwrButton.Click += new System.EventHandler(this.updateFibreAmpPwrButton_Click); // // fibreAmpPwrTextBox // this.fibreAmpPwrTextBox.BackColor = System.Drawing.Color.LimeGreen; this.fibreAmpPwrTextBox.Location = new System.Drawing.Point(6, 19); this.fibreAmpPwrTextBox.Name = "fibreAmpPwrTextBox"; this.fibreAmpPwrTextBox.Size = new System.Drawing.Size(100, 20); this.fibreAmpPwrTextBox.TabIndex = 49; this.fibreAmpPwrTextBox.Text = "0"; // // groupBox29 // this.groupBox29.Controls.Add(this.fibreAmpPowerFaultLED); this.groupBox29.Controls.Add(this.fibreAmpTempFaultLED); this.groupBox29.Controls.Add(this.fibreAmpBackReflectFaultLED); this.groupBox29.Controls.Add(this.fibreAmpSeedFaultLED); this.groupBox29.Controls.Add(this.fibreAmpMasterFaultLED); this.groupBox29.Controls.Add(this.faultCheckButton); this.groupBox29.Controls.Add(this.label93); this.groupBox29.Controls.Add(this.label92); this.groupBox29.Controls.Add(this.label91); this.groupBox29.Controls.Add(this.label90); this.groupBox29.Controls.Add(this.label89); this.groupBox29.Location = new System.Drawing.Point(9, 103); this.groupBox29.Name = "groupBox29"; this.groupBox29.Size = new System.Drawing.Size(264, 142); this.groupBox29.TabIndex = 1; this.groupBox29.TabStop = false; this.groupBox29.Text = "Faults"; // // fibreAmpPowerFaultLED // this.fibreAmpPowerFaultLED.LedStyle = NationalInstruments.UI.LedStyle.Round3D; this.fibreAmpPowerFaultLED.Location = new System.Drawing.Point(214, 34); this.fibreAmpPowerFaultLED.Name = "fibreAmpPowerFaultLED"; this.fibreAmpPowerFaultLED.OffColor = System.Drawing.Color.Black; this.fibreAmpPowerFaultLED.OnColor = System.Drawing.Color.Red; this.fibreAmpPowerFaultLED.Size = new System.Drawing.Size(38, 40); this.fibreAmpPowerFaultLED.TabIndex = 66; // // fibreAmpTempFaultLED // this.fibreAmpTempFaultLED.LedStyle = NationalInstruments.UI.LedStyle.Round3D; this.fibreAmpTempFaultLED.Location = new System.Drawing.Point(166, 34); this.fibreAmpTempFaultLED.Name = "fibreAmpTempFaultLED"; this.fibreAmpTempFaultLED.OffColor = System.Drawing.Color.Black; this.fibreAmpTempFaultLED.OnColor = System.Drawing.Color.Red; this.fibreAmpTempFaultLED.Size = new System.Drawing.Size(38, 40); this.fibreAmpTempFaultLED.TabIndex = 65; // // fibreAmpBackReflectFaultLED // this.fibreAmpBackReflectFaultLED.LedStyle = NationalInstruments.UI.LedStyle.Round3D; this.fibreAmpBackReflectFaultLED.Location = new System.Drawing.Point(112, 34); this.fibreAmpBackReflectFaultLED.Name = "fibreAmpBackReflectFaultLED"; this.fibreAmpBackReflectFaultLED.OffColor = System.Drawing.Color.Black; this.fibreAmpBackReflectFaultLED.OnColor = System.Drawing.Color.Red; this.fibreAmpBackReflectFaultLED.Size = new System.Drawing.Size(38, 40); this.fibreAmpBackReflectFaultLED.TabIndex = 64; // // fibreAmpSeedFaultLED // this.fibreAmpSeedFaultLED.LedStyle = NationalInstruments.UI.LedStyle.Round3D; this.fibreAmpSeedFaultLED.Location = new System.Drawing.Point(60, 34); this.fibreAmpSeedFaultLED.Name = "fibreAmpSeedFaultLED"; this.fibreAmpSeedFaultLED.OffColor = System.Drawing.Color.Black; this.fibreAmpSeedFaultLED.OnColor = System.Drawing.Color.Red; this.fibreAmpSeedFaultLED.Size = new System.Drawing.Size(38, 40); this.fibreAmpSeedFaultLED.TabIndex = 63; // // fibreAmpMasterFaultLED // this.fibreAmpMasterFaultLED.LedStyle = NationalInstruments.UI.LedStyle.Round3D; this.fibreAmpMasterFaultLED.Location = new System.Drawing.Point(16, 34); this.fibreAmpMasterFaultLED.Name = "fibreAmpMasterFaultLED"; this.fibreAmpMasterFaultLED.OffColor = System.Drawing.Color.Black; this.fibreAmpMasterFaultLED.OnColor = System.Drawing.Color.Red; this.fibreAmpMasterFaultLED.Size = new System.Drawing.Size(38, 40); this.fibreAmpMasterFaultLED.TabIndex = 62; // // faultCheckButton // this.faultCheckButton.Location = new System.Drawing.Point(169, 111); this.faultCheckButton.Name = "faultCheckButton"; this.faultCheckButton.Size = new System.Drawing.Size(89, 23); this.faultCheckButton.TabIndex = 61; this.faultCheckButton.Text = "Check for faults"; this.faultCheckButton.UseVisualStyleBackColor = true; this.faultCheckButton.Click += new System.EventHandler(this.faultCheckButton_Click); // // label93 // this.label93.Location = new System.Drawing.Point(218, 77); this.label93.Name = "label93"; this.label93.Size = new System.Drawing.Size(47, 31); this.label93.TabIndex = 49; this.label93.Text = "Power supply"; // // label92 // this.label92.Location = new System.Drawing.Point(166, 77); this.label92.Name = "label92"; this.label92.Size = new System.Drawing.Size(38, 18); this.label92.TabIndex = 48; this.label92.Text = "Temp"; // // label91 // this.label91.Location = new System.Drawing.Point(112, 77); this.label91.Name = "label91"; this.label91.Size = new System.Drawing.Size(59, 31); this.label91.TabIndex = 47; this.label91.Text = "Back reflection"; // // label90 // this.label90.Location = new System.Drawing.Point(67, 77); this.label90.Name = "label90"; this.label90.Size = new System.Drawing.Size(39, 18); this.label90.TabIndex = 46; this.label90.Text = "Seed"; // // label89 // this.label89.Location = new System.Drawing.Point(13, 77); this.label89.Name = "label89"; this.label89.Size = new System.Drawing.Size(41, 18); this.label89.TabIndex = 45; this.label89.Text = "Master"; // // groupBox27 // this.groupBox27.Controls.Add(this.flPZT2TempCurButton); this.groupBox27.Controls.Add(this.flPZT2CurTextBox); this.groupBox27.Controls.Add(this.flPZT2TempUpdateButton); this.groupBox27.Controls.Add(this.label116); this.groupBox27.Controls.Add(this.flPZT2TempTextBox); this.groupBox27.Controls.Add(this.label115); this.groupBox27.Controls.Add(this.flPZT2TrackBar); this.groupBox27.Controls.Add(this.label94); this.groupBox27.Controls.Add(this.flPZT2StepTextBox); this.groupBox27.Controls.Add(this.panel6); this.groupBox27.Controls.Add(this.updateflPZTButton); this.groupBox27.Controls.Add(this.flPZT2TextBox); this.groupBox27.Controls.Add(this.label87); this.groupBox27.Location = new System.Drawing.Point(9, 218); this.groupBox27.Name = "groupBox27"; this.groupBox27.Size = new System.Drawing.Size(393, 185); this.groupBox27.TabIndex = 1; this.groupBox27.TabStop = false; this.groupBox27.Text = "Fibre Laser"; // // flPZT2TempCurButton // this.flPZT2TempCurButton.Location = new System.Drawing.Point(208, 153); this.flPZT2TempCurButton.Name = "flPZT2TempCurButton"; this.flPZT2TempCurButton.Size = new System.Drawing.Size(72, 23); this.flPZT2TempCurButton.TabIndex = 79; this.flPZT2TempCurButton.Text = "Update"; this.flPZT2TempCurButton.UseVisualStyleBackColor = true; this.flPZT2TempCurButton.Click += new System.EventHandler(this.flPZT2TempCurButton_Click); // // flPZT2CurTextBox // this.flPZT2CurTextBox.BackColor = System.Drawing.Color.White; this.flPZT2CurTextBox.Location = new System.Drawing.Point(138, 156); this.flPZT2CurTextBox.Name = "flPZT2CurTextBox"; this.flPZT2CurTextBox.Size = new System.Drawing.Size(64, 20); this.flPZT2CurTextBox.TabIndex = 78; this.flPZT2CurTextBox.Text = "0"; // // flPZT2TempUpdateButton // this.flPZT2TempUpdateButton.Location = new System.Drawing.Point(208, 131); this.flPZT2TempUpdateButton.Name = "flPZT2TempUpdateButton"; this.flPZT2TempUpdateButton.Size = new System.Drawing.Size(72, 23); this.flPZT2TempUpdateButton.TabIndex = 77; this.flPZT2TempUpdateButton.Text = "Update"; this.flPZT2TempUpdateButton.UseVisualStyleBackColor = true; this.flPZT2TempUpdateButton.Click += new System.EventHandler(this.flPZT2TempUpdateButton_Click); // // label116 // this.label116.Location = new System.Drawing.Point(6, 159); this.label116.Name = "label116"; this.label116.Size = new System.Drawing.Size(126, 18); this.label116.TabIndex = 76; this.label116.Text = "Current Control (V)"; // // flPZT2TempTextBox // this.flPZT2TempTextBox.BackColor = System.Drawing.Color.White; this.flPZT2TempTextBox.Location = new System.Drawing.Point(138, 134); this.flPZT2TempTextBox.Name = "flPZT2TempTextBox"; this.flPZT2TempTextBox.Size = new System.Drawing.Size(64, 20); this.flPZT2TempTextBox.TabIndex = 75; this.flPZT2TempTextBox.Text = "0"; // // label115 // this.label115.Location = new System.Drawing.Point(6, 137); this.label115.Name = "label115"; this.label115.Size = new System.Drawing.Size(126, 18); this.label115.TabIndex = 74; this.label115.Text = "Temp Control (V)"; // // flPZT2TrackBar // this.flPZT2TrackBar.Location = new System.Drawing.Point(7, 51); this.flPZT2TrackBar.Maximum = 1000; this.flPZT2TrackBar.Name = "flPZT2TrackBar"; this.flPZT2TrackBar.Size = new System.Drawing.Size(373, 45); this.flPZT2TrackBar.TabIndex = 50; this.flPZT2TrackBar.Scroll += new System.EventHandler(this.diodeRefCavtrackBar_Scroll); // // label94 // this.label94.Location = new System.Drawing.Point(6, 102); this.label94.Name = "label94"; this.label94.Size = new System.Drawing.Size(126, 18); this.label94.TabIndex = 73; this.label94.Text = "Piezo Control Step (V)"; // // flPZT2StepTextBox // this.flPZT2StepTextBox.BackColor = System.Drawing.Color.White; this.flPZT2StepTextBox.Location = new System.Drawing.Point(138, 100); this.flPZT2StepTextBox.Name = "flPZT2StepTextBox"; this.flPZT2StepTextBox.Size = new System.Drawing.Size(64, 20); this.flPZT2StepTextBox.TabIndex = 72; this.flPZT2StepTextBox.Text = "0"; // // panel6 // this.panel6.Controls.Add(this.flPZT2StepZeroButton); this.panel6.Controls.Add(this.flPZT2StepPlusButton); this.panel6.Controls.Add(this.flPZT2StepMinusButton); this.panel6.Location = new System.Drawing.Point(194, 16); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(108, 29); this.panel6.TabIndex = 71; // // flPZT2StepZeroButton // this.flPZT2StepZeroButton.AutoSize = true; this.flPZT2StepZeroButton.Checked = true; this.flPZT2StepZeroButton.Location = new System.Drawing.Point(74, 7); this.flPZT2StepZeroButton.Name = "flPZT2StepZeroButton"; this.flPZT2StepZeroButton.Size = new System.Drawing.Size(31, 17); this.flPZT2StepZeroButton.TabIndex = 32; this.flPZT2StepZeroButton.TabStop = true; this.flPZT2StepZeroButton.Text = "0"; this.flPZT2StepZeroButton.UseVisualStyleBackColor = true; // // flPZT2StepPlusButton // this.flPZT2StepPlusButton.AutoSize = true; this.flPZT2StepPlusButton.Location = new System.Drawing.Point(3, 6); this.flPZT2StepPlusButton.Name = "flPZT2StepPlusButton"; this.flPZT2StepPlusButton.Size = new System.Drawing.Size(31, 17); this.flPZT2StepPlusButton.TabIndex = 32; this.flPZT2StepPlusButton.Text = "+"; this.flPZT2StepPlusButton.UseVisualStyleBackColor = true; // // flPZT2StepMinusButton // this.flPZT2StepMinusButton.AutoSize = true; this.flPZT2StepMinusButton.Location = new System.Drawing.Point(40, 7); this.flPZT2StepMinusButton.Name = "flPZT2StepMinusButton"; this.flPZT2StepMinusButton.Size = new System.Drawing.Size(28, 17); this.flPZT2StepMinusButton.TabIndex = 32; this.flPZT2StepMinusButton.Text = "-"; this.flPZT2StepMinusButton.UseVisualStyleBackColor = true; // // updateflPZTButton // this.updateflPZTButton.Location = new System.Drawing.Point(308, 19); this.updateflPZTButton.Name = "updateflPZTButton"; this.updateflPZTButton.Size = new System.Drawing.Size(72, 23); this.updateflPZTButton.TabIndex = 64; this.updateflPZTButton.Text = "Update"; this.updateflPZTButton.UseVisualStyleBackColor = true; this.updateflPZTButton.Click += new System.EventHandler(this.updateflPZTButton_Click); // // flPZT2TextBox // this.flPZT2TextBox.BackColor = System.Drawing.Color.LimeGreen; this.flPZT2TextBox.Location = new System.Drawing.Point(127, 22); this.flPZT2TextBox.Name = "flPZT2TextBox"; this.flPZT2TextBox.Size = new System.Drawing.Size(64, 20); this.flPZT2TextBox.TabIndex = 45; this.flPZT2TextBox.Text = "0"; // // label87 // this.label87.Location = new System.Drawing.Point(6, 25); this.label87.Name = "label87"; this.label87.Size = new System.Drawing.Size(93, 18); this.label87.TabIndex = 44; this.label87.Text = "Piezo Control (V)"; // // groupBox26 // this.groupBox26.Controls.Add(this.updateDiodeCurrentMonButton); this.groupBox26.Controls.Add(this.diodeCurrentTextBox); this.groupBox26.Controls.Add(this.stopDiodeCurrentPollButton); this.groupBox26.Controls.Add(this.startDiodeCurrentPollButton); this.groupBox26.Controls.Add(this.diodeCurrentPollTextBox); this.groupBox26.Controls.Add(this.label86); this.groupBox26.Controls.Add(this.diodeCurrentGraph); this.groupBox26.Location = new System.Drawing.Point(6, 6); this.groupBox26.Name = "groupBox26"; this.groupBox26.Size = new System.Drawing.Size(685, 206); this.groupBox26.TabIndex = 0; this.groupBox26.TabStop = false; this.groupBox26.Text = "Current Supply"; // // updateDiodeCurrentMonButton // this.updateDiodeCurrentMonButton.Location = new System.Drawing.Point(178, 176); this.updateDiodeCurrentMonButton.Name = "updateDiodeCurrentMonButton"; this.updateDiodeCurrentMonButton.Size = new System.Drawing.Size(72, 23); this.updateDiodeCurrentMonButton.TabIndex = 62; this.updateDiodeCurrentMonButton.Text = "Update"; this.updateDiodeCurrentMonButton.UseVisualStyleBackColor = true; this.updateDiodeCurrentMonButton.Click += new System.EventHandler(this.updateDiodeCurrentMonButton_Click); // // diodeCurrentTextBox // this.diodeCurrentTextBox.BackColor = System.Drawing.Color.Black; this.diodeCurrentTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.diodeCurrentTextBox.Location = new System.Drawing.Point(35, 178); this.diodeCurrentTextBox.Name = "diodeCurrentTextBox"; this.diodeCurrentTextBox.ReadOnly = true; this.diodeCurrentTextBox.Size = new System.Drawing.Size(137, 20); this.diodeCurrentTextBox.TabIndex = 61; this.diodeCurrentTextBox.Text = "0"; // // stopDiodeCurrentPollButton // this.stopDiodeCurrentPollButton.Enabled = false; this.stopDiodeCurrentPollButton.Location = new System.Drawing.Point(604, 176); this.stopDiodeCurrentPollButton.Name = "stopDiodeCurrentPollButton"; this.stopDiodeCurrentPollButton.Size = new System.Drawing.Size(75, 23); this.stopDiodeCurrentPollButton.TabIndex = 60; this.stopDiodeCurrentPollButton.Text = "Stop poll"; this.stopDiodeCurrentPollButton.UseVisualStyleBackColor = true; this.stopDiodeCurrentPollButton.Click += new System.EventHandler(this.stopDiodeCurrentPollButton_Click); // // startDiodeCurrentPollButton // this.startDiodeCurrentPollButton.Location = new System.Drawing.Point(523, 176); this.startDiodeCurrentPollButton.Name = "startDiodeCurrentPollButton"; this.startDiodeCurrentPollButton.Size = new System.Drawing.Size(75, 23); this.startDiodeCurrentPollButton.TabIndex = 59; this.startDiodeCurrentPollButton.Text = "Start poll"; this.startDiodeCurrentPollButton.UseVisualStyleBackColor = true; this.startDiodeCurrentPollButton.Click += new System.EventHandler(this.startDiodeCurrentPollButton_Click); // // diodeCurrentPollTextBox // this.diodeCurrentPollTextBox.Location = new System.Drawing.Point(453, 178); this.diodeCurrentPollTextBox.Name = "diodeCurrentPollTextBox"; this.diodeCurrentPollTextBox.Size = new System.Drawing.Size(64, 20); this.diodeCurrentPollTextBox.TabIndex = 58; this.diodeCurrentPollTextBox.Text = "100"; // // label86 // this.label86.Location = new System.Drawing.Point(366, 181); this.label86.Name = "label86"; this.label86.Size = new System.Drawing.Size(101, 23); this.label86.TabIndex = 57; this.label86.Text = "Poll period (ms)"; // // diodeCurrentGraph // this.diodeCurrentGraph.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.diodeCurrentGraph.Location = new System.Drawing.Point(6, 19); this.diodeCurrentGraph.Name = "diodeCurrentGraph"; this.diodeCurrentGraph.Plots.AddRange(new NationalInstruments.UI.WaveformPlot[] { this.diodeCurrentPlot}); this.diodeCurrentGraph.Size = new System.Drawing.Size(673, 153); this.diodeCurrentGraph.TabIndex = 46; this.diodeCurrentGraph.XAxes.AddRange(new NationalInstruments.UI.XAxis[] { this.xAxis2}); this.diodeCurrentGraph.YAxes.AddRange(new NationalInstruments.UI.YAxis[] { this.yAxis2}); // // diodeCurrentPlot // this.diodeCurrentPlot.AntiAliased = true; this.diodeCurrentPlot.HistoryCapacity = 10000; this.diodeCurrentPlot.LineWidth = 2F; this.diodeCurrentPlot.XAxis = this.xAxis2; this.diodeCurrentPlot.YAxis = this.yAxis2; // // xAxis2 // this.xAxis2.Mode = NationalInstruments.UI.AxisMode.StripChart; this.xAxis2.Range = new NationalInstruments.UI.Range(0D, 500D); // // yAxis2 // this.yAxis2.Mode = NationalInstruments.UI.AxisMode.Fixed; this.yAxis2.OriginLineVisible = true; // // tabPage5 // this.tabPage5.BackColor = System.Drawing.Color.Transparent; this.tabPage5.Controls.Add(this.groupBox17); this.tabPage5.Controls.Add(this.groupBox15); this.tabPage5.Location = new System.Drawing.Point(4, 22); this.tabPage5.Name = "tabPage5"; this.tabPage5.Size = new System.Drawing.Size(697, 575); this.tabPage5.TabIndex = 4; this.tabPage5.Text = "Source"; // // groupBox17 // this.groupBox17.Controls.Add(this.TargetStepButton); this.groupBox17.Controls.Add(this.label66); this.groupBox17.Controls.Add(this.TargetNumStepsTextBox); this.groupBox17.Location = new System.Drawing.Point(13, 165); this.groupBox17.Name = "groupBox17"; this.groupBox17.Size = new System.Drawing.Size(351, 64); this.groupBox17.TabIndex = 47; this.groupBox17.TabStop = false; this.groupBox17.Text = "Target stepper"; // // TargetStepButton // this.TargetStepButton.Location = new System.Drawing.Point(256, 20); this.TargetStepButton.Name = "TargetStepButton"; this.TargetStepButton.Size = new System.Drawing.Size(75, 23); this.TargetStepButton.TabIndex = 2; this.TargetStepButton.Text = "Step!"; this.TargetStepButton.UseVisualStyleBackColor = true; this.TargetStepButton.Click += new System.EventHandler(this.TargetStepButton_Click); // // label66 // this.label66.AutoSize = true; this.label66.Location = new System.Drawing.Point(19, 25); this.label66.Name = "label66"; this.label66.Size = new System.Drawing.Size(89, 13); this.label66.TabIndex = 1; this.label66.Text = "Number of pulses"; // // TargetNumStepsTextBox // this.TargetNumStepsTextBox.Location = new System.Drawing.Point(158, 22); this.TargetNumStepsTextBox.Name = "TargetNumStepsTextBox"; this.TargetNumStepsTextBox.Size = new System.Drawing.Size(66, 20); this.TargetNumStepsTextBox.TabIndex = 0; this.TargetNumStepsTextBox.Text = "10"; // // groupBox15 // this.groupBox15.Controls.Add(this.label33); this.groupBox15.Controls.Add(this.checkYagInterlockButton); this.groupBox15.Controls.Add(this.yagFlashlampVTextBox); this.groupBox15.Controls.Add(this.interlockStatusTextBox); this.groupBox15.Controls.Add(this.updateFlashlampVButton); this.groupBox15.Controls.Add(this.label34); this.groupBox15.Controls.Add(this.startYAGFlashlampsButton); this.groupBox15.Controls.Add(this.yagQDisableButton); this.groupBox15.Controls.Add(this.stopYagFlashlampsButton); this.groupBox15.Controls.Add(this.yagQEnableButton); this.groupBox15.Location = new System.Drawing.Point(13, 14); this.groupBox15.Name = "groupBox15"; this.groupBox15.Size = new System.Drawing.Size(528, 145); this.groupBox15.TabIndex = 46; this.groupBox15.TabStop = false; this.groupBox15.Text = "YAG"; // // label33 // this.label33.Location = new System.Drawing.Point(16, 31); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(144, 23); this.label33.TabIndex = 13; this.label33.Text = "Flashlamp voltage (V)"; // // checkYagInterlockButton // this.checkYagInterlockButton.Location = new System.Drawing.Point(256, 63); this.checkYagInterlockButton.Name = "checkYagInterlockButton"; this.checkYagInterlockButton.Size = new System.Drawing.Size(75, 23); this.checkYagInterlockButton.TabIndex = 45; this.checkYagInterlockButton.Text = "Check"; this.checkYagInterlockButton.Click += new System.EventHandler(this.checkYagInterlockButton_Click); // // yagFlashlampVTextBox // this.yagFlashlampVTextBox.Location = new System.Drawing.Point(160, 31); this.yagFlashlampVTextBox.Name = "yagFlashlampVTextBox"; this.yagFlashlampVTextBox.Size = new System.Drawing.Size(64, 20); this.yagFlashlampVTextBox.TabIndex = 12; this.yagFlashlampVTextBox.Text = "1220"; // // interlockStatusTextBox // this.interlockStatusTextBox.BackColor = System.Drawing.Color.Black; this.interlockStatusTextBox.ForeColor = System.Drawing.Color.Chartreuse; this.interlockStatusTextBox.Location = new System.Drawing.Point(160, 63); this.interlockStatusTextBox.Name = "interlockStatusTextBox"; this.interlockStatusTextBox.ReadOnly = true; this.interlockStatusTextBox.Size = new System.Drawing.Size(64, 20); this.interlockStatusTextBox.TabIndex = 44; this.interlockStatusTextBox.Text = "0"; // // updateFlashlampVButton // this.updateFlashlampVButton.Location = new System.Drawing.Point(256, 31); this.updateFlashlampVButton.Name = "updateFlashlampVButton"; this.updateFlashlampVButton.Size = new System.Drawing.Size(75, 23); this.updateFlashlampVButton.TabIndex = 14; this.updateFlashlampVButton.Text = "Update V"; this.updateFlashlampVButton.Click += new System.EventHandler(this.updateFlashlampVButton_Click); // // label34 // this.label34.Location = new System.Drawing.Point(16, 63); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(104, 23); this.label34.TabIndex = 43; this.label34.Text = "Interlock failed"; // // startYAGFlashlampsButton // this.startYAGFlashlampsButton.Location = new System.Drawing.Point(16, 103); this.startYAGFlashlampsButton.Name = "startYAGFlashlampsButton"; this.startYAGFlashlampsButton.Size = new System.Drawing.Size(112, 23); this.startYAGFlashlampsButton.TabIndex = 15; this.startYAGFlashlampsButton.Text = "Start Flashlamps"; this.startYAGFlashlampsButton.Click += new System.EventHandler(this.startYAGFlashlampsButton_Click); // // yagQDisableButton // this.yagQDisableButton.Enabled = false; this.yagQDisableButton.Location = new System.Drawing.Point(400, 103); this.yagQDisableButton.Name = "yagQDisableButton"; this.yagQDisableButton.Size = new System.Drawing.Size(112, 23); this.yagQDisableButton.TabIndex = 18; this.yagQDisableButton.Text = "Q-switch Disable"; this.yagQDisableButton.Click += new System.EventHandler(this.yagQDisableButton_Click); // // stopYagFlashlampsButton // this.stopYagFlashlampsButton.Enabled = false; this.stopYagFlashlampsButton.Location = new System.Drawing.Point(144, 103); this.stopYagFlashlampsButton.Name = "stopYagFlashlampsButton"; this.stopYagFlashlampsButton.Size = new System.Drawing.Size(112, 23); this.stopYagFlashlampsButton.TabIndex = 16; this.stopYagFlashlampsButton.Text = "Stop Flashlamps"; this.stopYagFlashlampsButton.Click += new System.EventHandler(this.stopYagFlashlampsButton_Click); // // yagQEnableButton // this.yagQEnableButton.Location = new System.Drawing.Point(272, 103); this.yagQEnableButton.Name = "yagQEnableButton"; this.yagQEnableButton.Size = new System.Drawing.Size(112, 23); this.yagQEnableButton.TabIndex = 17; this.yagQEnableButton.Text = "Q-switch Enable"; this.yagQEnableButton.Click += new System.EventHandler(this.yagQEnableButton_Click); // // tabPage6 // this.tabPage6.BackColor = System.Drawing.Color.Transparent; this.tabPage6.Controls.Add(this.groupBox34); this.tabPage6.Controls.Add(this.groupBox32); this.tabPage6.Controls.Add(this.label81); this.tabPage6.Controls.Add(this.pumpPolarizerUpdateButton); this.tabPage6.Controls.Add(this.pumpPolarizerAngleTextBox); this.tabPage6.Controls.Add(this.label80); this.tabPage6.Controls.Add(this.probePolarizerUpdateButton); this.tabPage6.Controls.Add(this.probePolarizerAngleTextBox); this.tabPage6.Controls.Add(this.motorController2); this.tabPage6.Controls.Add(this.axMG17Logger1); this.tabPage6.Controls.Add(this.motorController1); this.tabPage6.Location = new System.Drawing.Point(4, 22); this.tabPage6.Name = "tabPage6"; this.tabPage6.Padding = new System.Windows.Forms.Padding(3); this.tabPage6.Size = new System.Drawing.Size(697, 575); this.tabPage6.TabIndex = 5; this.tabPage6.Text = "Polarizer"; // // groupBox34 // this.groupBox34.Controls.Add(this.label108); this.groupBox34.Controls.Add(this.label109); this.groupBox34.Controls.Add(this.pumpPolMesAngle); this.groupBox34.Controls.Add(this.updatePumpPolMesAngle); this.groupBox34.Controls.Add(this.zeroPumpPol); this.groupBox34.Controls.Add(this.label110); this.groupBox34.Controls.Add(this.groupBox35); this.groupBox34.Location = new System.Drawing.Point(356, 336); this.groupBox34.Name = "groupBox34"; this.groupBox34.Size = new System.Drawing.Size(345, 229); this.groupBox34.TabIndex = 13; this.groupBox34.TabStop = false; this.groupBox34.Text = "Pump Polariser"; // // label108 // this.label108.AutoSize = true; this.label108.Location = new System.Drawing.Point(271, 30); this.label108.Name = "label108"; this.label108.Size = new System.Drawing.Size(0, 13); this.label108.TabIndex = 48; // // label109 // this.label109.AutoSize = true; this.label109.Location = new System.Drawing.Point(15, 35); this.label109.Name = "label109"; this.label109.Size = new System.Drawing.Size(74, 13); this.label109.TabIndex = 47; this.label109.Text = "Position Mode"; // // pumpPolMesAngle // this.pumpPolMesAngle.BackColor = System.Drawing.Color.Black; this.pumpPolMesAngle.ForeColor = System.Drawing.Color.Chartreuse; this.pumpPolMesAngle.Location = new System.Drawing.Point(111, 180); this.pumpPolMesAngle.Name = "pumpPolMesAngle"; this.pumpPolMesAngle.ReadOnly = true; this.pumpPolMesAngle.Size = new System.Drawing.Size(82, 20); this.pumpPolMesAngle.TabIndex = 43; this.pumpPolMesAngle.Text = "0"; // // updatePumpPolMesAngle // this.updatePumpPolMesAngle.Location = new System.Drawing.Point(199, 178); this.updatePumpPolMesAngle.Name = "updatePumpPolMesAngle"; this.updatePumpPolMesAngle.Size = new System.Drawing.Size(75, 23); this.updatePumpPolMesAngle.TabIndex = 6; this.updatePumpPolMesAngle.Text = "Update"; this.updatePumpPolMesAngle.UseVisualStyleBackColor = true; this.updatePumpPolMesAngle.Click += new System.EventHandler(this.updatePumpPolMesAngle_Click); // // zeroPumpPol // this.zeroPumpPol.Location = new System.Drawing.Point(280, 177); this.zeroPumpPol.Name = "zeroPumpPol"; this.zeroPumpPol.Size = new System.Drawing.Size(44, 23); this.zeroPumpPol.TabIndex = 2; this.zeroPumpPol.Text = "Zero"; this.zeroPumpPol.UseVisualStyleBackColor = true; this.zeroPumpPol.Click += new System.EventHandler(this.zeroPumpPol_Click); // // label110 // this.label110.AutoSize = true; this.label110.Location = new System.Drawing.Point(12, 183); this.label110.Name = "label110"; this.label110.Size = new System.Drawing.Size(84, 13); this.label110.TabIndex = 7; this.label110.Text = "Measured Angle"; // // groupBox35 // this.groupBox35.Controls.Add(this.label124); this.groupBox35.Controls.Add(this.pumpBacklashTextBox); this.groupBox35.Controls.Add(this.pumpPolVoltStopButton); this.groupBox35.Controls.Add(this.pumpPolVoltTrackBar); this.groupBox35.Controls.Add(this.label111); this.groupBox35.Controls.Add(this.label112); this.groupBox35.Controls.Add(this.pumpPolSetAngle); this.groupBox35.Controls.Add(this.label113); this.groupBox35.Controls.Add(this.label114); this.groupBox35.Controls.Add(this.setPumpPolAngle); this.groupBox35.Controls.Add(this.pumpPolModeSelectSwitch); this.groupBox35.Location = new System.Drawing.Point(6, 11); this.groupBox35.Name = "groupBox35"; this.groupBox35.Size = new System.Drawing.Size(332, 153); this.groupBox35.TabIndex = 50; this.groupBox35.TabStop = false; // // label124 // this.label124.AutoSize = true; this.label124.Location = new System.Drawing.Point(118, 55); this.label124.Name = "label124"; this.label124.Size = new System.Drawing.Size(114, 13); this.label124.TabIndex = 54; this.label124.Text = "-ve overshoot ( 0 = off)"; // // pumpBacklashTextBox // this.pumpBacklashTextBox.Location = new System.Drawing.Point(244, 52); this.pumpBacklashTextBox.Name = "pumpBacklashTextBox"; this.pumpBacklashTextBox.Size = new System.Drawing.Size(75, 20); this.pumpBacklashTextBox.TabIndex = 53; this.pumpBacklashTextBox.Text = "0"; // // pumpPolVoltStopButton // this.pumpPolVoltStopButton.Enabled = false; this.pumpPolVoltStopButton.Location = new System.Drawing.Point(243, 106); this.pumpPolVoltStopButton.Name = "pumpPolVoltStopButton"; this.pumpPolVoltStopButton.Size = new System.Drawing.Size(75, 23); this.pumpPolVoltStopButton.TabIndex = 51; this.pumpPolVoltStopButton.Text = "Stop"; this.pumpPolVoltStopButton.UseVisualStyleBackColor = true; this.pumpPolVoltStopButton.Click += new System.EventHandler(this.pumpPolVoltStopButton_Click); // // pumpPolVoltTrackBar // this.pumpPolVoltTrackBar.Enabled = false; this.pumpPolVoltTrackBar.Location = new System.Drawing.Point(88, 102); this.pumpPolVoltTrackBar.Maximum = 100; this.pumpPolVoltTrackBar.Minimum = -100; this.pumpPolVoltTrackBar.Name = "pumpPolVoltTrackBar"; this.pumpPolVoltTrackBar.Size = new System.Drawing.Size(149, 45); this.pumpPolVoltTrackBar.TabIndex = 51; this.pumpPolVoltTrackBar.Scroll += new System.EventHandler(this.pumpPolVoltTrackBar_Scroll); // // label111 // this.label111.AutoSize = true; this.label111.Location = new System.Drawing.Point(9, 126); this.label111.Name = "label111"; this.label111.Size = new System.Drawing.Size(73, 13); this.label111.TabIndex = 49; this.label111.Text = "Voltage Mode"; // // label112 // this.label112.AutoSize = true; this.label112.Location = new System.Drawing.Point(102, 24); this.label112.Name = "label112"; this.label112.Size = new System.Drawing.Size(53, 13); this.label112.TabIndex = 8; this.label112.Text = "Set Angle"; // // pumpPolSetAngle // this.pumpPolSetAngle.Location = new System.Drawing.Point(161, 19); this.pumpPolSetAngle.Name = "pumpPolSetAngle"; this.pumpPolSetAngle.Size = new System.Drawing.Size(66, 20); this.pumpPolSetAngle.TabIndex = 13; this.pumpPolSetAngle.Text = "0"; // // label113 // this.label113.AutoSize = true; this.label113.Location = new System.Drawing.Point(172, 78); this.label113.Name = "label113"; this.label113.Size = new System.Drawing.Size(55, 13); this.label113.TabIndex = 44; this.label113.Text = "Clockwise"; // // label114 // this.label114.AutoSize = true; this.label114.Location = new System.Drawing.Point(85, 78); this.label114.Name = "label114"; this.label114.Size = new System.Drawing.Size(75, 13); this.label114.TabIndex = 45; this.label114.Text = "Anti-clockwise"; // // setPumpPolAngle // this.setPumpPolAngle.Location = new System.Drawing.Point(243, 17); this.setPumpPolAngle.Name = "setPumpPolAngle"; this.setPumpPolAngle.Size = new System.Drawing.Size(75, 23); this.setPumpPolAngle.TabIndex = 5; this.setPumpPolAngle.Text = "Set"; this.setPumpPolAngle.UseVisualStyleBackColor = true; this.setPumpPolAngle.Click += new System.EventHandler(this.setPumpPolAngle_Click); // // pumpPolModeSelectSwitch // this.pumpPolModeSelectSwitch.Location = new System.Drawing.Point(12, 33); this.pumpPolModeSelectSwitch.Name = "pumpPolModeSelectSwitch"; this.pumpPolModeSelectSwitch.Size = new System.Drawing.Size(64, 96); this.pumpPolModeSelectSwitch.SwitchStyle = NationalInstruments.UI.SwitchStyle.VerticalToggle3D; this.pumpPolModeSelectSwitch.TabIndex = 51; this.pumpPolModeSelectSwitch.Value = true; this.pumpPolModeSelectSwitch.StateChanged += new NationalInstruments.UI.ActionEventHandler(this.pumpPolModeSelectSwitch_StateChanged); // // groupBox32 // this.groupBox32.Controls.Add(this.label106); this.groupBox32.Controls.Add(this.label105); this.groupBox32.Controls.Add(this.probePolMesAngle); this.groupBox32.Controls.Add(this.updateProbePolMesAngle); this.groupBox32.Controls.Add(this.zeroProbePol); this.groupBox32.Controls.Add(this.label101); this.groupBox32.Controls.Add(this.groupBox33); this.groupBox32.Location = new System.Drawing.Point(6, 336); this.groupBox32.Name = "groupBox32"; this.groupBox32.Size = new System.Drawing.Size(345, 229); this.groupBox32.TabIndex = 12; this.groupBox32.TabStop = false; this.groupBox32.Text = "Probe Polariser"; // // label106 // this.label106.AutoSize = true; this.label106.Location = new System.Drawing.Point(271, 30); this.label106.Name = "label106"; this.label106.Size = new System.Drawing.Size(0, 13); this.label106.TabIndex = 48; // // label105 // this.label105.AutoSize = true; this.label105.Location = new System.Drawing.Point(15, 35); this.label105.Name = "label105"; this.label105.Size = new System.Drawing.Size(74, 13); this.label105.TabIndex = 47; this.label105.Text = "Position Mode"; // // probePolMesAngle // this.probePolMesAngle.BackColor = System.Drawing.Color.Black; this.probePolMesAngle.ForeColor = System.Drawing.Color.Chartreuse; this.probePolMesAngle.Location = new System.Drawing.Point(111, 180); this.probePolMesAngle.Name = "probePolMesAngle"; this.probePolMesAngle.ReadOnly = true; this.probePolMesAngle.Size = new System.Drawing.Size(82, 20); this.probePolMesAngle.TabIndex = 43; this.probePolMesAngle.Text = "0"; // // updateProbePolMesAngle // this.updateProbePolMesAngle.Location = new System.Drawing.Point(199, 178); this.updateProbePolMesAngle.Name = "updateProbePolMesAngle"; this.updateProbePolMesAngle.Size = new System.Drawing.Size(75, 23); this.updateProbePolMesAngle.TabIndex = 6; this.updateProbePolMesAngle.Text = "Update"; this.updateProbePolMesAngle.UseVisualStyleBackColor = true; this.updateProbePolMesAngle.Click += new System.EventHandler(this.updateProbePolMesAngle_Click); // // zeroProbePol // this.zeroProbePol.Location = new System.Drawing.Point(280, 177); this.zeroProbePol.Name = "zeroProbePol"; this.zeroProbePol.Size = new System.Drawing.Size(44, 23); this.zeroProbePol.TabIndex = 2; this.zeroProbePol.Text = "Zero"; this.zeroProbePol.UseVisualStyleBackColor = true; this.zeroProbePol.Click += new System.EventHandler(this.zeroProbePol_Click); // // label101 // this.label101.AutoSize = true; this.label101.Location = new System.Drawing.Point(12, 183); this.label101.Name = "label101"; this.label101.Size = new System.Drawing.Size(84, 13); this.label101.TabIndex = 7; this.label101.Text = "Measured Angle"; // // groupBox33 // this.groupBox33.Controls.Add(this.label123); this.groupBox33.Controls.Add(this.probeBacklashTextBox); this.groupBox33.Controls.Add(this.probePolVoltStopButton); this.groupBox33.Controls.Add(this.probePolVoltTrackBar); this.groupBox33.Controls.Add(this.label107); this.groupBox33.Controls.Add(this.label102); this.groupBox33.Controls.Add(this.probePolSetAngle); this.groupBox33.Controls.Add(this.label103); this.groupBox33.Controls.Add(this.label104); this.groupBox33.Controls.Add(this.setProbePolAngle); this.groupBox33.Controls.Add(this.probePolModeSelectSwitch); this.groupBox33.Location = new System.Drawing.Point(6, 11); this.groupBox33.Name = "groupBox33"; this.groupBox33.Size = new System.Drawing.Size(332, 153); this.groupBox33.TabIndex = 50; this.groupBox33.TabStop = false; // // label123 // this.label123.AutoSize = true; this.label123.Location = new System.Drawing.Point(117, 55); this.label123.Name = "label123"; this.label123.Size = new System.Drawing.Size(114, 13); this.label123.TabIndex = 52; this.label123.Text = "-ve overshoot ( 0 = off)"; // // probeBacklashTextBox // this.probeBacklashTextBox.Location = new System.Drawing.Point(243, 52); this.probeBacklashTextBox.Name = "probeBacklashTextBox"; this.probeBacklashTextBox.Size = new System.Drawing.Size(75, 20); this.probeBacklashTextBox.TabIndex = 14; this.probeBacklashTextBox.Text = "0"; // // probePolVoltStopButton // this.probePolVoltStopButton.Enabled = false; this.probePolVoltStopButton.Location = new System.Drawing.Point(243, 106); this.probePolVoltStopButton.Name = "probePolVoltStopButton"; this.probePolVoltStopButton.Size = new System.Drawing.Size(75, 23); this.probePolVoltStopButton.TabIndex = 51; this.probePolVoltStopButton.Text = "Stop"; this.probePolVoltStopButton.UseVisualStyleBackColor = true; this.probePolVoltStopButton.Click += new System.EventHandler(this.probePolVoltStopButton_Click); // // probePolVoltTrackBar // this.probePolVoltTrackBar.Enabled = false; this.probePolVoltTrackBar.Location = new System.Drawing.Point(88, 102); this.probePolVoltTrackBar.Maximum = 100; this.probePolVoltTrackBar.Minimum = -100; this.probePolVoltTrackBar.Name = "probePolVoltTrackBar"; this.probePolVoltTrackBar.Size = new System.Drawing.Size(149, 45); this.probePolVoltTrackBar.TabIndex = 51; this.probePolVoltTrackBar.Scroll += new System.EventHandler(this.probePolVoltTrackBar_Scroll); // // label107 // this.label107.AutoSize = true; this.label107.Location = new System.Drawing.Point(9, 126); this.label107.Name = "label107"; this.label107.Size = new System.Drawing.Size(73, 13); this.label107.TabIndex = 49; this.label107.Text = "Voltage Mode"; // // label102 // this.label102.AutoSize = true; this.label102.Location = new System.Drawing.Point(102, 24); this.label102.Name = "label102"; this.label102.Size = new System.Drawing.Size(53, 13); this.label102.TabIndex = 8; this.label102.Text = "Set Angle"; // // probePolSetAngle // this.probePolSetAngle.Location = new System.Drawing.Point(161, 19); this.probePolSetAngle.Name = "probePolSetAngle"; this.probePolSetAngle.Size = new System.Drawing.Size(66, 20); this.probePolSetAngle.TabIndex = 13; this.probePolSetAngle.Text = "0"; // // label103 // this.label103.AutoSize = true; this.label103.Location = new System.Drawing.Point(172, 78); this.label103.Name = "label103"; this.label103.Size = new System.Drawing.Size(55, 13); this.label103.TabIndex = 44; this.label103.Text = "Clockwise"; // // label104 // this.label104.AutoSize = true; this.label104.Location = new System.Drawing.Point(85, 78); this.label104.Name = "label104"; this.label104.Size = new System.Drawing.Size(75, 13); this.label104.TabIndex = 45; this.label104.Text = "Anti-clockwise"; // // setProbePolAngle // this.setProbePolAngle.Location = new System.Drawing.Point(243, 17); this.setProbePolAngle.Name = "setProbePolAngle"; this.setProbePolAngle.Size = new System.Drawing.Size(75, 23); this.setProbePolAngle.TabIndex = 5; this.setProbePolAngle.Text = "Set"; this.setProbePolAngle.UseVisualStyleBackColor = true; this.setProbePolAngle.Click += new System.EventHandler(this.setProbePolAngle_Click); // // probePolModeSelectSwitch // this.probePolModeSelectSwitch.Location = new System.Drawing.Point(12, 33); this.probePolModeSelectSwitch.Name = "probePolModeSelectSwitch"; this.probePolModeSelectSwitch.Size = new System.Drawing.Size(64, 96); this.probePolModeSelectSwitch.SwitchStyle = NationalInstruments.UI.SwitchStyle.VerticalToggle3D; this.probePolModeSelectSwitch.TabIndex = 51; this.probePolModeSelectSwitch.Value = true; this.probePolModeSelectSwitch.StateChanged += new NationalInstruments.UI.ActionEventHandler(this.probePolModeSelectSwitch_StateChanged_1); // // label81 // this.label81.AutoSize = true; this.label81.Location = new System.Drawing.Point(370, 30); this.label81.Name = "label81"; this.label81.Size = new System.Drawing.Size(132, 13); this.label81.TabIndex = 10; this.label81.Text = "Pump polarizer angle (deg)"; // // pumpPolarizerUpdateButton // this.pumpPolarizerUpdateButton.Location = new System.Drawing.Point(592, 25); this.pumpPolarizerUpdateButton.Name = "pumpPolarizerUpdateButton"; this.pumpPolarizerUpdateButton.Size = new System.Drawing.Size(75, 23); this.pumpPolarizerUpdateButton.TabIndex = 9; this.pumpPolarizerUpdateButton.Text = "Set"; this.pumpPolarizerUpdateButton.UseVisualStyleBackColor = true; this.pumpPolarizerUpdateButton.Click += new System.EventHandler(this.pumpPolarizerUpdateButton_Click); // // pumpPolarizerAngleTextBox // this.pumpPolarizerAngleTextBox.Location = new System.Drawing.Point(520, 27); this.pumpPolarizerAngleTextBox.Name = "pumpPolarizerAngleTextBox"; this.pumpPolarizerAngleTextBox.Size = new System.Drawing.Size(66, 20); this.pumpPolarizerAngleTextBox.TabIndex = 8; this.pumpPolarizerAngleTextBox.Text = "10"; // // label80 // this.label80.AutoSize = true; this.label80.Location = new System.Drawing.Point(12, 30); this.label80.Name = "label80"; this.label80.Size = new System.Drawing.Size(133, 13); this.label80.TabIndex = 5; this.label80.Text = "Probe polarizer angle (deg)"; // // probePolarizerUpdateButton // this.probePolarizerUpdateButton.Location = new System.Drawing.Point(234, 25); this.probePolarizerUpdateButton.Name = "probePolarizerUpdateButton"; this.probePolarizerUpdateButton.Size = new System.Drawing.Size(75, 23); this.probePolarizerUpdateButton.TabIndex = 4; this.probePolarizerUpdateButton.Text = "Set"; this.probePolarizerUpdateButton.UseVisualStyleBackColor = true; this.probePolarizerUpdateButton.Click += new System.EventHandler(this.probePolarizerUpdateButton_Click); // // probePolarizerAngleTextBox // this.probePolarizerAngleTextBox.Location = new System.Drawing.Point(162, 27); this.probePolarizerAngleTextBox.Name = "probePolarizerAngleTextBox"; this.probePolarizerAngleTextBox.Size = new System.Drawing.Size(66, 20); this.probePolarizerAngleTextBox.TabIndex = 3; this.probePolarizerAngleTextBox.Text = "10"; // // tabPage7 // this.tabPage7.BackColor = System.Drawing.Color.Transparent; this.tabPage7.Controls.Add(this.clearAlertButton); this.tabPage7.Controls.Add(this.alertTextBox); this.tabPage7.ImageKey = "(none)"; this.tabPage7.Location = new System.Drawing.Point(4, 22); this.tabPage7.Name = "tabPage7"; this.tabPage7.Padding = new System.Windows.Forms.Padding(3); this.tabPage7.Size = new System.Drawing.Size(697, 575); this.tabPage7.TabIndex = 6; this.tabPage7.Text = "Alerts"; // // clearAlertButton // this.clearAlertButton.Location = new System.Drawing.Point(18, 540); this.clearAlertButton.Name = "clearAlertButton"; this.clearAlertButton.Size = new System.Drawing.Size(140, 23); this.clearAlertButton.TabIndex = 1; this.clearAlertButton.Text = "Clear alert status"; this.clearAlertButton.UseVisualStyleBackColor = true; this.clearAlertButton.Click += new System.EventHandler(this.clearAlertButton_Click); // // alertTextBox // this.alertTextBox.Location = new System.Drawing.Point(18, 22); this.alertTextBox.Multiline = true; this.alertTextBox.Name = "alertTextBox"; this.alertTextBox.Size = new System.Drawing.Size(654, 512); this.alertTextBox.TabIndex = 0; // // tabPage9 // this.tabPage9.BackColor = System.Drawing.Color.Transparent; this.tabPage9.Controls.Add(this.switchScanTTLSwitch); this.tabPage9.Controls.Add(this.label97); this.tabPage9.Location = new System.Drawing.Point(4, 22); this.tabPage9.Name = "tabPage9"; this.tabPage9.Padding = new System.Windows.Forms.Padding(3); this.tabPage9.Size = new System.Drawing.Size(697, 575); this.tabPage9.TabIndex = 8; this.tabPage9.Text = "Misc"; // // switchScanTTLSwitch // this.switchScanTTLSwitch.Location = new System.Drawing.Point(6, 6); this.switchScanTTLSwitch.Name = "switchScanTTLSwitch"; this.switchScanTTLSwitch.Size = new System.Drawing.Size(64, 96); this.switchScanTTLSwitch.SwitchStyle = NationalInstruments.UI.SwitchStyle.VerticalToggle3D; this.switchScanTTLSwitch.TabIndex = 2; this.switchScanTTLSwitch.StateChanged += new NationalInstruments.UI.ActionEventHandler(this.switch1_StateChanged); // // label97 // this.label97.AutoSize = true; this.label97.Location = new System.Drawing.Point(76, 53); this.label97.Name = "label97"; this.label97.Size = new System.Drawing.Size(90, 13); this.label97.TabIndex = 1; this.label97.Text = "Switch Scan TTL"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(96, 24); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(64, 20); this.textBox1.TabIndex = 45; this.textBox1.Text = "0"; // // button1 // this.button1.Location = new System.Drawing.Point(184, 24); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 40; this.button1.Text = "Update"; // // label67 // this.label67.Location = new System.Drawing.Point(16, 24); this.label67.Name = "label67"; this.label67.Size = new System.Drawing.Size(80, 23); this.label67.TabIndex = 36; this.label67.Text = "Voltage (V)"; // // menuStrip1 // this.menuStrip1.BackColor = System.Drawing.SystemColors.Control; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(724, 24); this.menuStrip1.TabIndex = 26; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadParametersToolStripMenuItem, this.saveParametersToolStripMenuItem, this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // loadParametersToolStripMenuItem // this.loadParametersToolStripMenuItem.Name = "loadParametersToolStripMenuItem"; this.loadParametersToolStripMenuItem.Size = new System.Drawing.Size(174, 22); this.loadParametersToolStripMenuItem.Text = "Load parameters ..."; this.loadParametersToolStripMenuItem.Click += new System.EventHandler(this.loadParametersToolStripMenuItem_Click); // // saveParametersToolStripMenuItem // this.saveParametersToolStripMenuItem.Name = "saveParametersToolStripMenuItem"; this.saveParametersToolStripMenuItem.Size = new System.Drawing.Size(174, 22); this.saveParametersToolStripMenuItem.Text = "Save parameters ..."; this.saveParametersToolStripMenuItem.Click += new System.EventHandler(this.SaveParametersMenuClicked); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(174, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitMenuClicked); // // radioButton1 // this.radioButton1.AutoSize = true; this.radioButton1.Checked = true; this.radioButton1.Location = new System.Drawing.Point(77, 7); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(31, 17); this.radioButton1.TabIndex = 32; this.radioButton1.TabStop = true; this.radioButton1.Text = "0"; this.radioButton1.UseVisualStyleBackColor = true; // // radioButton2 // this.radioButton2.AutoSize = true; this.radioButton2.Location = new System.Drawing.Point(3, 6); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(31, 17); this.radioButton2.TabIndex = 32; this.radioButton2.Text = "+"; this.radioButton2.UseVisualStyleBackColor = true; // // radioButton3 // this.radioButton3.AutoSize = true; this.radioButton3.Location = new System.Drawing.Point(42, 7); this.radioButton3.Name = "radioButton3"; this.radioButton3.Size = new System.Drawing.Size(28, 17); this.radioButton3.TabIndex = 32; this.radioButton3.Text = "-"; this.radioButton3.UseVisualStyleBackColor = true; // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(6, 23); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(167, 24); this.checkBox1.TabIndex = 53; this.checkBox1.Text = "State (Checked is 0=>N+)"; // // radioButton4 // this.radioButton4.AutoSize = true; this.radioButton4.Checked = true; this.radioButton4.Location = new System.Drawing.Point(77, 7); this.radioButton4.Name = "radioButton4"; this.radioButton4.Size = new System.Drawing.Size(31, 17); this.radioButton4.TabIndex = 32; this.radioButton4.TabStop = true; this.radioButton4.Text = "0"; this.radioButton4.UseVisualStyleBackColor = true; // // radioButton5 // this.radioButton5.AutoSize = true; this.radioButton5.Location = new System.Drawing.Point(3, 6); this.radioButton5.Name = "radioButton5"; this.radioButton5.Size = new System.Drawing.Size(31, 17); this.radioButton5.TabIndex = 32; this.radioButton5.Text = "+"; this.radioButton5.UseVisualStyleBackColor = true; // // radioButton6 // this.radioButton6.AutoSize = true; this.radioButton6.Location = new System.Drawing.Point(42, 7); this.radioButton6.Name = "radioButton6"; this.radioButton6.Size = new System.Drawing.Size(28, 17); this.radioButton6.TabIndex = 32; this.radioButton6.Text = "-"; this.radioButton6.UseVisualStyleBackColor = true; // // motorController2 // this.motorController2.Enabled = true; this.motorController2.Location = new System.Drawing.Point(373, 69); this.motorController2.Name = "motorController2"; this.motorController2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("motorController2.OcxState"))); this.motorController2.Size = new System.Drawing.Size(294, 205); this.motorController2.TabIndex = 7; // // axMG17Logger1 // this.axMG17Logger1.Location = new System.Drawing.Point(14, 280); this.axMG17Logger1.Name = "axMG17Logger1"; this.axMG17Logger1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMG17Logger1.OcxState"))); this.axMG17Logger1.Size = new System.Drawing.Size(664, 39); this.axMG17Logger1.TabIndex = 6; // // motorController1 // this.motorController1.Enabled = true; this.motorController1.Location = new System.Drawing.Point(15, 69); this.motorController1.Name = "motorController1"; this.motorController1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("motorController1.OcxState"))); this.motorController1.Size = new System.Drawing.Size(294, 205); this.motorController1.TabIndex = 0; // // ControlWindow // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(724, 626); this.Controls.Add(this.tabControl); this.Controls.Add(this.menuStrip1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; this.Name = "ControlWindow"; this.Text = "EDM Hardware Control"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.WindowClosing); this.Load += new System.EventHandler(this.ControlWindow_Load); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.switchingLED)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rampLED)).EndInit(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox5.ResumeLayout(false); this.tabControl.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.groupBox21.ResumeLayout(false); this.groupBox13.ResumeLayout(false); this.groupBox13.PerformLayout(); this.groupBox6.ResumeLayout(false); this.groupBox6.PerformLayout(); this.groupBox7.ResumeLayout(false); this.groupBox7.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.legend1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.leakageGraph)).EndInit(); this.tabPage2.ResumeLayout(false); this.groupBox24.ResumeLayout(false); this.groupBox24.PerformLayout(); this.groupBox22.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox16.ResumeLayout(false); this.groupBox14.ResumeLayout(false); this.groupBox14.PerformLayout(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.tabPage3.ResumeLayout(false); this.groupBox23.ResumeLayout(false); this.groupBox20.ResumeLayout(false); this.groupBox20.PerformLayout(); this.groupBox9.ResumeLayout(false); this.groupBox9.PerformLayout(); this.groupBox12.ResumeLayout(false); this.groupBox12.PerformLayout(); this.groupBox8.ResumeLayout(false); this.groupBox8.PerformLayout(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); this.groupBox25.ResumeLayout(false); this.groupBox25.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pumpAOMTrackBar)).EndInit(); this.panel7.ResumeLayout(false); this.panel7.PerformLayout(); this.groupBox19.ResumeLayout(false); this.groupBox19.PerformLayout(); this.groupBox18.ResumeLayout(false); this.groupBox18.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.FLPZTVtrackBar)).EndInit(); this.panel5.ResumeLayout(false); this.panel5.PerformLayout(); this.groupBox11.ResumeLayout(false); this.groupBox11.PerformLayout(); this.groupBox10.ResumeLayout(false); this.tabPage8.ResumeLayout(false); this.groupBox36.ResumeLayout(false); this.groupBox36.PerformLayout(); this.panel8.ResumeLayout(false); this.panel8.PerformLayout(); this.groupBox28.ResumeLayout(false); this.groupBox30.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpEnableLED)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpEnableSwitch)).EndInit(); this.groupBox31.ResumeLayout(false); this.groupBox31.PerformLayout(); this.groupBox29.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpPowerFaultLED)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpTempFaultLED)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpBackReflectFaultLED)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpSeedFaultLED)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fibreAmpMasterFaultLED)).EndInit(); this.groupBox27.ResumeLayout(false); this.groupBox27.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.flPZT2TrackBar)).EndInit(); this.panel6.ResumeLayout(false); this.panel6.PerformLayout(); this.groupBox26.ResumeLayout(false); this.groupBox26.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.diodeCurrentGraph)).EndInit(); this.tabPage5.ResumeLayout(false); this.groupBox17.ResumeLayout(false); this.groupBox17.PerformLayout(); this.groupBox15.ResumeLayout(false); this.groupBox15.PerformLayout(); this.tabPage6.ResumeLayout(false); this.tabPage6.PerformLayout(); this.groupBox34.ResumeLayout(false); this.groupBox34.PerformLayout(); this.groupBox35.ResumeLayout(false); this.groupBox35.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pumpPolVoltTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pumpPolModeSelectSwitch)).EndInit(); this.groupBox32.ResumeLayout(false); this.groupBox32.PerformLayout(); this.groupBox33.ResumeLayout(false); this.groupBox33.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.probePolVoltTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.probePolModeSelectSwitch)).EndInit(); this.tabPage7.ResumeLayout(false); this.tabPage7.PerformLayout(); this.tabPage9.ResumeLayout(false); this.tabPage9.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.switchScanTTLSwitch)).EndInit(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.motorController2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMG17Logger1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.motorController1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Creates a legend item. /// </summary> /// <returns>A legend item for insertion in the legend items collection. /// </returns> protected virtual LegendItem CreateLegendItem() { LegendItem legendItem = new LegendItem(); if (this.LegendItemStyle != null) { legendItem.Style = LegendItemStyle; } return legendItem; }
private LegendAdornmentLayer GetEarthquakeLegendLayer(EarthquakeIsoLineFeatureLayer earthquakeFeatureLayer) { LegendAdornmentLayer isoLevelLegendLayer = null; if (mapControl.AdornmentOverlay.Layers.Contains(Resources.IsoLineLevelLegendLayerName)) { isoLevelLegendLayer = (LegendAdornmentLayer)mapControl.AdornmentOverlay.Layers[Resources.IsoLineLevelLegendLayerName]; } else if (earthquakeFeatureLayer != null) { isoLevelLegendLayer = new LegendAdornmentLayer(); isoLevelLegendLayer.Width = 85; isoLevelLegendLayer.Height = 320; isoLevelLegendLayer.Location = AdornmentLocation.LowerRight; isoLevelLegendLayer.ContentResizeMode = LegendContentResizeMode.Fixed; mapControl.AdornmentOverlay.Layers.Add(Resources.IsoLineLevelLegendLayerName, isoLevelLegendLayer); LegendItem flagLegendItem = new LegendItem(); flagLegendItem.TextStyle = new TextStyle("Magnitude", new GeoFont("Arial", 10), new GeoSolidBrush(GeoColor.StandardColors.Black)); flagLegendItem.TextLeftPadding = -20; isoLevelLegendLayer.LegendItems.Add(flagLegendItem); for (int i = 0; i < earthquakeFeatureLayer.IsoLineLevels.Count; i++) { LegendItem legendItem = new LegendItem(); legendItem.TextStyle = new TextStyle(earthquakeFeatureLayer.IsoLineLevels[i].ToString("f2"), new GeoFont("Arial", 10), new GeoSolidBrush(GeoColor.StandardColors.Black)); legendItem.ImageStyle = earthquakeFeatureLayer.LevelClassBreakStyle.ClassBreaks[i].DefaultAreaStyle; legendItem.ImageWidth = 25; isoLevelLegendLayer.LegendItems.Add(legendItem); } } return isoLevelLegendLayer; }
private void AddValueCircleLegendItems(LegendAdornmentLayer legendAdornmentLayer) { ValueCircleStyle valueCircleStyle = (ValueCircleStyle)CurrentStyleBuilder.GetStyles(mapModel.DefaultFeatureLayer.FeatureSource)[0]; // Here we generate 4 legend items, with the area of 160, 320, 640 and 1280 square pixels seperately. int[] circleAreas = new int[] { 160, 320, 640, 1280 }; foreach (int circleArea in circleAreas) { LegendItem legendItem = new LegendItem(); double radius = Math.Sqrt(circleArea / Math.PI); legendItem.ImageStyle = new PointStyle(PointSymbolType.Circle, new GeoSolidBrush(valueCircleStyle.InnerColor), new GeoPen(new GeoSolidBrush(valueCircleStyle.OuterColor)), (int)(radius * 2)); AreaStyle maskStyle = new AreaStyle(new GeoPen(GeoColor.StandardColors.LightGray, 1), new GeoSolidBrush(GeoColor.SimpleColors.Transparent)); legendItem.ImageMask = maskStyle; legendItem.ImageWidth = 48; legendItem.TextTopPadding = 16; legendItem.TextRightPadding = 5; legendItem.BottomPadding = 16; legendItem.TopPadding = 16; legendItem.RightPadding = 5; double drawingRadius = circleArea / valueCircleStyle.DrawingRadiusRatio * valueCircleStyle.BasedScale / valueCircleStyle.DefaultZoomLevel.Scale; double ratio = (valueCircleStyle.MaxValidValue - valueCircleStyle.MinValidValue) / (valueCircleStyle.MaxCircleAreaInDefaultZoomLevel - valueCircleStyle.MinCircleAreaInDefaultZoomLevel); double resultValue = (drawingRadius - valueCircleStyle.MinCircleAreaInDefaultZoomLevel) * ratio + valueCircleStyle.MinValidValue; string text = TextFormatter.GetFormatedStringForLegendItem(valueCircleStyle.ColumnName, resultValue); legendItem.TextStyle = new TextStyle(text, new GeoFont("Segoe UI", 10), new GeoSolidBrush(GeoColor.SimpleColors.Black)); legendAdornmentLayer.LegendItems.Add(legendItem); } }
private void AddThematicLegendItems(LegendAdornmentLayer legendAdornmentLayer) { ClassBreakStyle thematicStyle = (ClassBreakStyle)CurrentStyleBuilder.GetStyles(mapModel.DefaultFeatureLayer.FeatureSource)[0]; for (int i = 0; i < thematicStyle.ClassBreaks.Count; i++) { LegendItem legendItem = new LegendItem(); if (i < thematicStyle.ClassBreaks.Count) { legendItem.ImageStyle = thematicStyle.ClassBreaks[i].DefaultAreaStyle; legendItem.ImageWidth = 20; legendItem.TextRightPadding = 5; legendItem.RightPadding = 5; string text = string.Empty; if (i != thematicStyle.ClassBreaks.Count - 1) { text = string.Format("{0:#,0.####} ~ {1:#,0.####}", TextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i].Value), TextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i + 1].Value)); } else { text = string.Format("> {0:#,0.####}", TextFormatter.GetFormatedStringForLegendItem(thematicStyle.ColumnName, thematicStyle.ClassBreaks[i].Value)); } legendItem.TextStyle = new TextStyle(text, new GeoFont("Segoe UI", 10), new GeoSolidBrush(GeoColor.SimpleColors.Black)); } legendAdornmentLayer.LegendItems.Add(legendItem); } }
protected void Page_Load(object sender, System.EventArgs e) { double dStartDate = DateTime.Today.ToOADate(); Chart1.ChartAreas["ChartArea1"].AxisY.Minimum = dStartDate-1; Chart1.ChartAreas["ChartArea1"].AxisY.LabelStyle.Interval = 3; Chart1.ChartAreas["ChartArea1"].AxisY.LabelStyle.IntervalType = DateTimeIntervalType.Days; string [] task = { "Task 1", "Task 2", "Task 2", "Task 3", "Task 4", "Task 5", "Task 5", "Task 6", "Task 7" }; double [] start = {3, 1, 6, 0, 3, 2, 5.5, 2, 4 }; double [] end = {5, 3.5, 8, 5.5, 4, 3.5, 8, 5, 5 }; Series ser = Chart1.Series[0]; int pos = 1; string lastValue = ""; for(int i = 0; i < start.Length-1; i++) { string xValue = task[i]; if(lastValue != xValue) pos++; string yValues = (dStartDate+start[i]).ToString()+","+(dStartDate+end[i]).ToString(); DataPoint pt = new DataPoint(pos, yValues); pt.AxisLabel = xValue; ser.Points.Add(pt); lastValue = xValue; } double [] actualStart = {3, 1, 6, 0, 3, 2, 5.5, 2, 4 }; double [] actualEnd = {4.5, 4.5, 6, 4.5, 4, 3.5, 5.5, 4.5, 4.5 }; ser = Chart1.Series[1]; pos = 1; lastValue = ""; for(int i = 0; i < start.Length-1; i++) { string xValue = task[i]; if(lastValue != xValue) pos++; string yValues = (dStartDate+actualStart[i]).ToString()+","+(dStartDate+actualEnd[i]).ToString(); DataPoint pt = new DataPoint(pos, yValues); pt.AxisLabel = xValue; ser.Points.Add(pt); if(dStartDate+dToday > actualStart[i]) { if(start[i] < actualStart[i] || end[i] < actualEnd[i]) pt.Color = Color.Red; else if(dStartDate+dToday < end[i]) pt.Color = Color.Lime; else if(end[i] == actualEnd[i]) pt.Color = Color.Gray; } lastValue = xValue; } StripLine stripLine = new StripLine(); stripLine.StripWidth = 1; stripLine.Font = new Font("Arial", 8.25F, FontStyle.Bold); stripLine.ForeColor = Color.Gray; stripLine.Text = "Today"; stripLine.TextOrientation = TextOrientation.Rotated90; stripLine.BorderColor = Color.Black; stripLine.BackColor = Color.PaleTurquoise; stripLine.IntervalOffset = dStartDate+dToday; stripLine.TextAlignment = StringAlignment.Center; stripLine.TextLineAlignment = StringAlignment.Near; Chart1.ChartAreas["ChartArea1"].AxisY.StripLines.Add(stripLine); LegendItem legendItem = new LegendItem(); legendItem.Color = Color.Red; legendItem.Name = "Late"; Chart1.Legends[0].CustomItems.Add(legendItem); foreach(DataPoint pt in Chart1.Series["Actual"].Points) { if(pt.YValues[0] == pt.YValues[1]) pt.Color = Color.Transparent; } // Set chart area 3D rotation if(RotateX.SelectedItem.Text != "") Chart1.ChartAreas["ChartArea1"].Area3DStyle.Inclination = int.Parse(RotateX.SelectedItem.Text); if(RotateY.SelectedItem.Text != "") Chart1.ChartAreas["ChartArea1"].Area3DStyle.Rotation = int.Parse(RotateY.SelectedItem.Text); }
public ILegendItem Create(ILegendSettings legend, object item) { if (item == null) throw new ArgumentNullException("item"); if (!(item is AnyGeometryVectorLayer || item is PuntalVectorLayer || item is LinealVectorLayer || item is PolygonalVectorLayer)) throw new ArgumentException("Item is not a vector layer", "item"); var sym = GetSymbolizer(item); ILegendItem res = null; var symFac = Factory[sym]; if (symFac != null) res = symFac.Create(legend, sym) ?? new LegendItem(); else res = new LegendItem(); res.Item = item; res.Label = ((ILayer) item).LayerName; res.LabelFont = legend.ItemFont; res.LabelBrush = legend.ForeColor; res.Padding = legend.Padding; res.Exclude = !((ILayer)item).Enabled; res.Expanded = res.SubItems.Count > 0; return res; }
private void f_绑定稳态数据通道(string PlotName,int YAxisPosition) { 曲线信息 _曲线信息 = new 曲线信息(); _曲线信息.Name = PlotName; _曲线信息.Plot = new ScatterPlot(); _曲线信息.Plot.Tag = true; _曲线信息.Plot.YAxis = new NationalInstruments.UI.YAxis(); _曲线信息.Plot.YAxis.Visible = false; _曲线信息.Plot.YAxis.Position = (NationalInstruments.UI.YAxisPosition)YAxisPosition; this.Graph_View.YAxes.Add(_曲线信息.Plot.YAxis); this.Graph_View.Plots.Add(_曲线信息.Plot); LegendItem item = new LegendItem(); item.Source = _曲线信息.Plot; item.Text = PlotName; legend1.Items.Add(item); _曲线信息.ShadowPlot = new ScatterPlot(); _曲线信息.ShadowPlot.LineColor = this.Graph_View.PlotAreaColor; _曲线信息.ShadowPlot.LineColorPrecedence = NationalInstruments.UI.ColorPrecedence.UserDefinedColor; _曲线信息.ShadowPlot.PointSize = new System.Drawing.Size(8, 8); _曲线信息.ShadowPlot.PointStyle = NationalInstruments.UI.PointStyle.Cross; _曲线信息.ShadowPlot.YAxis = _曲线信息.Plot.YAxis; _曲线信息.ShadowPlot.Tag = false; this.Graph_View.Plots.Add(_曲线信息.ShadowPlot); }
private void AddDotDensityLegendItems(LegendAdornmentLayer legendAdornmentLayer) { CustomDotDensityStyle dotDensityStyle = (CustomDotDensityStyle)CurrentStyleBuilder.GetStyles(mapModel.DefaultFeatureLayer.FeatureSource)[0]; // Here we generate 4 legend items, for 5, 10, 20 and 50 points seperately. int[] pointCounts = new int[] { 5, 10, 20, 50 }; foreach (int pointCount in pointCounts) { LegendItem legendItem = new LegendItem(); legendItem.ImageMask = new AreaStyle(new GeoPen(GeoColor.StandardColors.LightGray, 1), new GeoSolidBrush(GeoColor.SimpleColors.Transparent)); legendItem.ImageWidth = 48; legendItem.TextTopPadding = 16; legendItem.TextRightPadding = 5; legendItem.BottomPadding = 16; legendItem.TopPadding = 16; legendItem.RightPadding = 5; CustomDotDensityStyle legendDotDensityStyle = (CustomDotDensityStyle)dotDensityStyle.CloneDeep(); legendDotDensityStyle.DrawingPointsNumber = pointCount; legendItem.ImageStyle = legendDotDensityStyle; string text = string.Format(CultureInfo.InvariantCulture, "{0:0.####}", TextFormatter.GetFormatedStringForLegendItem(dotDensityStyle.ColumnName, (pointCount / dotDensityStyle.PointToValueRatio))); legendItem.TextStyle = new TextStyle(text, new GeoFont("Segoe UI", 10), new GeoSolidBrush(GeoColor.SimpleColors.Black)); legendAdornmentLayer.LegendItems.Add(legendItem); } }
public Boolean AddLegendItem(String Text, DataChannel DataChannel) { var NewItem = new LegendItem(Text, DataChannel, item => { DataGraphLegend.Children.Remove(item); SomeThingChanged_private(); }); var Found = false; foreach (var Item in DataGraphLegend.Children) { if (NewItem.Equals(Item as LegendItem)) Found = true; } if (!Found) DataGraphLegend.Children.Add(NewItem); SomeThingChanged_private(); return Found; }
/// <summary> /// Method to create a legend item for a layer collection /// </summary> /// <param name="settings">The legend</param> /// <param name="title">The title</param> /// <param name="layerCollection">The layer collection</param> /// <returns>The created legend item</returns> protected virtual ILegendItem Create(ILegendSettings settings, string title, LayerCollection layerCollection) { var res = new LegendItem { Indentation = LegendSettings.Indentation, Label = title, LabelFont = LegendSettings.HeaderFont, LabelBrush = LegendSettings.ForeColor, Expanded = true, Padding = LegendSettings.Padding, //Parent = legend.Root, Item = layerCollection }; for (var i = layerCollection.Count-1; i >= 0; i--) { var layer = layerCollection[i]; var item = Create(settings, layer); res.SubItems.Add(item); } return res; }