Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » General » Downloads
 
Add your own
alternative version

LED Example with Measurement Studio

, 28 Sep 2010 CPOL
How-to article describing software, hardware setup
MStudio_LED_example__bare_bones_.zip
bin
Debug
Fluo.exe
Fluo.vshost.exe
Fluo.vshost.exe.manifest
Release
Properties
licenses.licx
Settings.settings
MStudio LED example (bare bones).csproj.user
namespace Fluo
{
    partial class frmForm1
    {
        /// <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.sldIntensity = new NationalInstruments.UI.WindowsForms.Slide();
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.connectionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.uSBDAQToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.mnuConnectionsUSBDAQEstablish = new System.Windows.Forms.ToolStripMenuItem();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.swOn = new NationalInstruments.UI.WindowsForms.Switch();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            ((System.ComponentModel.ISupportInitialize)(this.sldIntensity)).BeginInit();
            this.menuStrip1.SuspendLayout();
            this.groupBox4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.swOn)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // sldIntensity
            // 
            this.sldIntensity.Location = new System.Drawing.Point(6, 25);
            this.sldIntensity.Name = "sldIntensity";
            this.sldIntensity.Range = new NationalInstruments.UI.Range(0, 5);
            this.sldIntensity.Size = new System.Drawing.Size(73, 203);
            this.sldIntensity.SlideStyle = NationalInstruments.UI.SlideStyle.SunkenWithGrip;
            this.sldIntensity.TabIndex = 0;
            this.sldIntensity.AfterChangeValue += new NationalInstruments.UI.AfterChangeNumericValueEventHandler(this.sldIntensity_AfterChangeValue);
            // 
            // menuStrip1
            // 
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.connectionsToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(193, 24);
            this.menuStrip1.TabIndex = 3;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // connectionsToolStripMenuItem
            // 
            this.connectionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.uSBDAQToolStripMenuItem});
            this.connectionsToolStripMenuItem.Name = "connectionsToolStripMenuItem";
            this.connectionsToolStripMenuItem.Size = new System.Drawing.Size(78, 20);
            this.connectionsToolStripMenuItem.Text = "Connections";
            // 
            // uSBDAQToolStripMenuItem
            // 
            this.uSBDAQToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mnuConnectionsUSBDAQEstablish});
            this.uSBDAQToolStripMenuItem.Name = "uSBDAQToolStripMenuItem";
            this.uSBDAQToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.uSBDAQToolStripMenuItem.Text = "USB DAQ";
            // 
            // mnuConnectionsUSBDAQEstablish
            // 
            this.mnuConnectionsUSBDAQEstablish.Name = "mnuConnectionsUSBDAQEstablish";
            this.mnuConnectionsUSBDAQEstablish.Size = new System.Drawing.Size(173, 22);
            this.mnuConnectionsUSBDAQEstablish.Text = "Establish Connection";
            this.mnuConnectionsUSBDAQEstablish.Click += new System.EventHandler(this.mnuConnectionsUSBDAQEstablish_Click);
            // 
            // groupBox4
            // 
            this.groupBox4.Controls.Add(this.swOn);
            this.groupBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox4.Location = new System.Drawing.Point(106, 27);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(73, 234);
            this.groupBox4.TabIndex = 8;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "On/Off";
            // 
            // swOn
            // 
            this.swOn.Location = new System.Drawing.Point(6, 25);
            this.swOn.Name = "swOn";
            this.swOn.Size = new System.Drawing.Size(54, 63);
            this.swOn.SwitchStyle = NationalInstruments.UI.SwitchStyle.PushButton3D;
            this.swOn.TabIndex = 2;
            this.swOn.StateChanged += new NationalInstruments.UI.ActionEventHandler(this.swOn_StateChanged);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.sldIntensity);
            this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox1.Location = new System.Drawing.Point(12, 27);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(88, 234);
            this.groupBox1.TabIndex = 9;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Current";
            // 
            // frmForm1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(193, 272);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.groupBox4);
            this.Controls.Add(this.menuStrip1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MainMenuStrip = this.menuStrip1;
            this.MaximizeBox = false;
            this.Name = "frmForm1";
            this.Text = "Form1";
            ((System.ComponentModel.ISupportInitialize)(this.sldIntensity)).EndInit();
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.swOn)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private NationalInstruments.UI.WindowsForms.Slide sldIntensity;
        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem connectionsToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem uSBDAQToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem mnuConnectionsUSBDAQEstablish;
        private System.Windows.Forms.GroupBox groupBox4;
        private NationalInstruments.UI.WindowsForms.Switch swOn;
        private System.Windows.Forms.GroupBox groupBox1;
    }
}

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)

Share

About the Author

Nick Alexeev
Systems Engineer Prolitech
United States United States
doing business as Prolitech
Redwood City, CA
http://www.prolifictec.com

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 29 Sep 2010
Article Copyright 2010 by Nick Alexeev
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid