OneStopGate.Com
OnestopGate   OnestopGate
   Friday, May 3, 2024 Login  
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Recommended Websites | Advertise | Payments | Contact Us | Forum
OneStopGate

GATE Resources
Gate Articles
Gate Books
Gate Colleges 
Gate Downloads 
Gate Faqs
Gate Jobs
Gate News 
Gate Sample Papers
Training Institutes

GATE Overview
Overview
GATE Eligibility
Structure Of GATE
GATE Coaching Centers
Colleges Providing M.Tech/M.E.
GATE Score
GATE Results
PG with Scholarships
Article On GATE
Admission Process For M.Tech/ MCP-PhD
GATE Topper 2012-13
GATE Forum




GATE 2025 Exclusive
Organizing Institute
Important Dates
How to Apply
Discipline Codes
GATE 2025 Exam Structure

GATE 2025 Syllabus
Aerospace Engg..
Agricultural Engg..
Architecture and Planning
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Geology and Geophysics
Instrumentation Engineering
Life Sciences
Mathematics
Mechanical Engg..
Metallurgical Engg..
Mining Engg..
Physics
Production & Industrial Engg..
Pharmaceutical Sciences
Textile Engineering and Fibre Science

GATE Study Material
Aerospace Engg..
Agricultural Engg..
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Instrumentation Engg..
Life Sciences
Mathematics
Mechanical Engg..
Physics
Pharmaceutical Sciences
Textile Engineering  and Fibre Science

GATE Preparation
GATE Pattern
GATE Tips N Tricks
Compare Evaluation
Sample Papers 
Gate Downloads 
Experts View

CEED 2013
CEED Exams
Eligibility
Application Forms
Important Dates
Contact Address
Examination Centres
CEED Sample Papers

Discuss GATE
GATE Forum
Exam Cities
Contact Details
Bank Details

Miscellaneous
Advertisment
Contact Us


Home » GATE Study Material » Electrical Engineering » Measurements » An Introduction Lab View

An Introduction Lab View

Looking for GATE Preparation Material? Join & Get here now!

** Gate 2013 Question Papers.. ** CEED 2013 Results.. ** Gate 2013 Question Papers With Solutions.. ** GATE 2013 CUT-OFFs.. ** GATE 2013 Results.. **

An Introduction Lab View

An Introduction To Using LabView - Adding Two Numbers

        This note is for those just starting to program in LabVIEW.  In this exercise, you will create a vi (Virtual Instrument) that adds two numbers.  You have to take care of the following tasks.

  • You need to input two numbers

  • You need to add the two numbers that were put in in the first step.

  • You need to display the results (sum).

In the process, you should create a diagram like the one below.  Follow the steps below, which tell you what you need to do, and which provide explanations of what is going on as you do things.

    • Start LabView.  Choose New vi.

    • On the Front Panel of that new vi, add two numeric controls and a numeric indicator.  You may need to get the Controls Palette using Window-Show Controls Palette to show the controls palette, then click to show all functions and open the Numeric sub-palette to get the numeric control tool to place numeric controls on the front panel.

      • You will use the two numeric controls to input the two numbers that you want to add.  You will do that on the front panel when you run the program.  When you add the numeric controls on the front panel, you will find that you have added the elements shown above on the block diagram.  If the block diagram is not showing, then click Window-Show Block Diagram (from the menus on the front panel!) to show the block diagram.

      • In the diagram above, those controls are labelled "A" and "B".  We used the Text Tool to change to those labels from the default labels.  If the text tool is not showing, click on Window-Show Tools Palette to show the tools palette, and click on the panel in that palette that shows the letter A to indicate the text tool.

      • Add a numeric indicator to show the result on the front panel.  Find the numeric indicator tool and add one numeric indicator to the front panel.  Again, you can change the label to "C" - as we did above.

    • Now, you need to go to the block diagram.  If the block diagram is not showing use Window-Show Block Diagram to show the block diagram.  (Or, if you have the windows not taking up the full screen, you can just click between them.

    • On the Block Diagram, add the addition element - the "summer".  You will need to show the Functions Palette using Window - Show Functions Palette (using the block diagram menus).

      • This is the element that will actually do the addition.

      • In the diagram above, the yellow triangle with the "+" sign is the addition element.

    • Wire the output of the two numeric controls to the addition element.  You need to locate the wiring tool (It looks like a spool of wire.), then wire your circuit by holding down the mouse button as you drag the tool from connector to connector on the various elements.

    • Wire the output of the summer to the numeric control.

        Note the following:
    • The two numeric controls that you use for input and the numeric indicator that you use for output must all be put onto the front panel.  You can't add them to the block diagram.  When you add these elements to the front panel, the terminals for these elements appear on the diagram at an arbitrary position, and you will need to position those elements where you want them.

    • The summer appears only on the block diagram.  There is no indication that it even exists if you look on the front panel.

    • You can make a better looking program by putting some appropriate label(s) on the elements on the front panel.

        Now, you can run the program.  Do the following:
    • Type in the two numbers you want to add.  Do that in the two numerical controls on the front panel.

    • Hit the run button - the one with the arrow that points to the right.

        What can go wrong?
    • You might mis-wire something.  Then the run button will have a broken arrow, but if you click it anyway you will get an error message that points to where things have gone wrong.

    • You might have used a wrong element.  For example, you might have used the multiplier element instead of the summer.  Then you would get one of those hard-to-debug kinds of problems.  Note that you can always right-mouse-click on an element to get help.

        There are some other considerations with the vi that you have just constructed and run.

        The data representation is a "double" i.e. a more precise floating point representation.  You can right-mouse-click on the icon on the block diagram and change the representation (and there are numerous choices.)



Discussion Center

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us

MEMBERS LOGIN
  
Email ID:
Password:

  Forgot Password?
 New User? Register!

INTERVIEW EBOOK
Get 9,000+ Interview Questions & Answers in an eBook. Interview Question & Answer Guide
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • GATE BOOKS
     
  • Mechanical Engineeering Books
  • Robotics Automations Engineering Books
  • Civil Engineering Books
  • Chemical Engineering Books
  • Environmental Engineering Books
  • Electrical Engineering Books
  • Electronics Engineering Books
  • Information Technology Books
  • Software Engineering Books
  • GATE Preparation Books
  • Exciting Offers



    GATE Exam, Gate 2009, Gate Papers, Gate Preparation & Related Pages


    GATE Overview | GATE Eligibility | Structure Of GATE | GATE Training Institutes | Colleges Providing M.Tech/M.E. | GATE Score | GATE Results | PG with Scholarships | Article On GATE | GATE Forum | GATE 2009 Exclusive | GATE 2009 Syllabus | GATE Organizing Institute | Important Dates for GATE Exam | How to Apply for GATE | Discipline / Branch Codes | GATE Syllabus for Aerospace Engineering | GATE Syllabus for Agricultural Engineering | GATE Syllabus for Architecture and Planning | GATE Syllabus for Chemical Engineering | GATE Syllabus for Chemistry | GATE Syllabus for Civil Engineering | GATE Syllabus for Computer Science / IT | GATE Syllabus for Electronics and Communication Engineering | GATE Syllabus for Engineering Sciences | GATE Syllabus for Geology and Geophysics | GATE Syllabus for Instrumentation Engineering | GATE Syllabus for Life Sciences | GATE Syllabus for Mathematics | GATE Syllabus for Mechanical Engineering | GATE Syllabus for Metallurgical Engineering | GATE Syllabus for Mining Engineering | GATE Syllabus for Physics | GATE Syllabus for Production and Industrial Engineering | GATE Syllabus for Pharmaceutical Sciences | GATE Syllabus for Textile Engineering and Fibre Science | GATE Preparation | GATE Pattern | GATE Tips & Tricks | GATE Compare Evaluation | GATE Sample Papers | GATE Downloads | Experts View on GATE | CEED 2009 | CEED 2009 Exam | Eligibility for CEED Exam | Application forms of CEED Exam | Important Dates of CEED Exam | Contact Address for CEED Exam | CEED Examination Centres | CEED Sample Papers | Discuss GATE | GATE Forum of OneStopGATE.com | GATE Exam Cities | Contact Details for GATE | Bank Details for GATE | GATE Miscellaneous Info | GATE FAQs | Advertisement on GATE | Contact Us on OneStopGATE |
    Copyright © 2024. One Stop Gate.com. All rights reserved Testimonials |Link To Us |Sitemap |Privacy Policy | Terms and Conditions|About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | India Job Forum | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Free Classifieds | Jobs Assist | Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Web Hosting | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Software Testing Interview Questions | Free Online Exams | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World
    C Interview Questions | C++ Interview Questions | Send Free SMS | Placement Papers | SMS Jokes | Cool Forwards | Romantic Shayari