Click here to Skip to main content
15,886,137 members
Articles / DevOps / Testing

Remote Controlling Instrument Over LAN

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
26 Dec 2011CPOL3 min read 58.7K   2.9K   23  
Step by Step explanation of remote controlling test instruments over LAN
namespace N90101A
{
    partial class MainForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.lblIDN = new DevExpress.XtraEditors.LabelControl();
            this.tbSAPort = new DevExpress.XtraEditors.TextEdit();
            this.btnSAConnect = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
            this.tbSAAddress = new DevExpress.XtraEditors.TextEdit();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
            this.N9010AMenuStrip = new System.Windows.Forms.MenuStrip();
            this.tsmiFile = new System.Windows.Forms.ToolStripMenuItem();
            this.tsmiExit = new System.Windows.Forms.ToolStripMenuItem();
            this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            this.panelControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.tbSAPort.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tbSAAddress.Properties)).BeginInit();
            this.N9010AMenuStrip.SuspendLayout();
            this.SuspendLayout();
            // 
            // panelControl3
            // 
            this.panelControl3.Controls.Add(this.lblIDN);
            this.panelControl3.Controls.Add(this.tbSAPort);
            this.panelControl3.Controls.Add(this.btnSAConnect);
            this.panelControl3.Controls.Add(this.labelControl16);
            this.panelControl3.Controls.Add(this.tbSAAddress);
            this.panelControl3.Controls.Add(this.labelControl2);
            this.panelControl3.Controls.Add(this.labelControl17);
            this.panelControl3.Location = new System.Drawing.Point(5, 31);
            this.panelControl3.LookAndFeel.UseDefaultLookAndFeel = false;
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(321, 93);
            this.panelControl3.TabIndex = 11;
            // 
            // lblIDN
            // 
            this.lblIDN.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.lblIDN.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
            this.lblIDN.Location = new System.Drawing.Point(50, 61);
            this.lblIDN.LookAndFeel.SkinName = "The Asphalt World";
            this.lblIDN.LookAndFeel.UseDefaultLookAndFeel = false;
            this.lblIDN.Name = "lblIDN";
            this.lblIDN.Size = new System.Drawing.Size(204, 24);
            this.lblIDN.TabIndex = 3;
            // 
            // tbSAPort
            // 
            this.tbSAPort.EditValue = "5025";
            this.tbSAPort.Location = new System.Drawing.Point(50, 34);
            this.tbSAPort.Name = "tbSAPort";
            this.tbSAPort.Properties.LookAndFeel.SkinName = "Blue";
            this.tbSAPort.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
            this.tbSAPort.Size = new System.Drawing.Size(204, 20);
            this.tbSAPort.TabIndex = 1;
            // 
            // btnSAConnect
            // 
            this.btnSAConnect.ImageLocation = DevExpress.XtraEditors.ImageLocation.BottomCenter;
            this.btnSAConnect.Location = new System.Drawing.Point(260, 5);
            this.btnSAConnect.LookAndFeel.UseDefaultLookAndFeel = false;
            this.btnSAConnect.Name = "btnSAConnect";
            this.btnSAConnect.Size = new System.Drawing.Size(54, 80);
            this.btnSAConnect.TabIndex = 2;
            this.btnSAConnect.Text = "&Connect";
            this.btnSAConnect.Click += new System.EventHandler(this.btnSAConnect_Click);
            // 
            // labelControl16
            // 
            this.labelControl16.Location = new System.Drawing.Point(17, 12);
            this.labelControl16.LookAndFeel.SkinName = "The Asphalt World";
            this.labelControl16.LookAndFeel.UseDefaultLookAndFeel = false;
            this.labelControl16.Name = "labelControl16";
            this.labelControl16.Size = new System.Drawing.Size(30, 13);
            this.labelControl16.TabIndex = 0;
            this.labelControl16.Text = "SA IP:";
            // 
            // tbSAAddress
            // 
            this.tbSAAddress.EditValue = "192.168.1.47";
            this.tbSAAddress.Location = new System.Drawing.Point(50, 8);
            this.tbSAAddress.Name = "tbSAAddress";
            this.tbSAAddress.Properties.LookAndFeel.SkinName = "Blue";
            this.tbSAAddress.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
            this.tbSAAddress.Size = new System.Drawing.Size(204, 20);
            this.tbSAAddress.TabIndex = 0;
            // 
            // labelControl2
            // 
            this.labelControl2.Location = new System.Drawing.Point(25, 64);
            this.labelControl2.LookAndFeel.SkinName = "The Asphalt World";
            this.labelControl2.LookAndFeel.UseDefaultLookAndFeel = false;
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(22, 13);
            this.labelControl2.TabIndex = 0;
            this.labelControl2.Text = "IDN:";
            // 
            // labelControl17
            // 
            this.labelControl17.Location = new System.Drawing.Point(7, 38);
            this.labelControl17.LookAndFeel.SkinName = "The Asphalt World";
            this.labelControl17.LookAndFeel.UseDefaultLookAndFeel = false;
            this.labelControl17.Name = "labelControl17";
            this.labelControl17.Size = new System.Drawing.Size(40, 13);
            this.labelControl17.TabIndex = 0;
            this.labelControl17.Text = "SA Port:";
            // 
            // N9010AMenuStrip
            // 
            this.N9010AMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsmiFile,
            this.helpToolStripMenuItem});
            this.N9010AMenuStrip.Location = new System.Drawing.Point(0, 0);
            this.N9010AMenuStrip.Name = "N9010AMenuStrip";
            this.N9010AMenuStrip.Size = new System.Drawing.Size(329, 24);
            this.N9010AMenuStrip.TabIndex = 12;
            this.N9010AMenuStrip.Text = "menuStrip1";
            // 
            // tsmiFile
            // 
            this.tsmiFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsmiExit});
            this.tsmiFile.Name = "tsmiFile";
            this.tsmiFile.Size = new System.Drawing.Size(37, 20);
            this.tsmiFile.Text = "File";
            // 
            // tsmiExit
            // 
            this.tsmiExit.Name = "tsmiExit";
            this.tsmiExit.Size = new System.Drawing.Size(152, 22);
            this.tsmiExit.Text = "Exit";
            // 
            // helpToolStripMenuItem
            // 
            this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.aboutToolStripMenuItem});
            this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
            this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
            this.helpToolStripMenuItem.Text = "Help";
            // 
            // aboutToolStripMenuItem
            // 
            this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
            this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
            this.aboutToolStripMenuItem.Text = "About";
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(329, 129);
            this.ControlBox = false;
            this.Controls.Add(this.panelControl3);
            this.Controls.Add(this.N9010AMenuStrip);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.MainMenuStrip = this.N9010AMenuStrip;
            this.Name = "MainForm";
            this.Text = "N9010A Communication Over Lan";
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            this.panelControl3.ResumeLayout(false);
            this.panelControl3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.tbSAPort.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tbSAAddress.Properties)).EndInit();
            this.N9010AMenuStrip.ResumeLayout(false);
            this.N9010AMenuStrip.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private DevExpress.XtraEditors.PanelControl panelControl3;
        private DevExpress.XtraEditors.TextEdit tbSAPort;
        private DevExpress.XtraEditors.SimpleButton btnSAConnect;
        private DevExpress.XtraEditors.LabelControl labelControl16;
        private DevExpress.XtraEditors.TextEdit tbSAAddress;
        private DevExpress.XtraEditors.LabelControl labelControl17;
        private System.Windows.Forms.MenuStrip N9010AMenuStrip;
        private System.Windows.Forms.ToolStripMenuItem tsmiFile;
        private System.Windows.Forms.ToolStripMenuItem tsmiExit;
        private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
        private DevExpress.XtraEditors.LabelControl lblIDN;
        private DevExpress.XtraEditors.LabelControl labelControl2;

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead Aselsan A.S
Turkey Turkey
Test and Measurement Professional, MScEE, Numerical Electromangnetics

Comments and Discussions