lab3_Fall10

lab3_Fall10 - ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW Objectives: The goal of this exercise is to introduce the Laboratory Virtual Instrument Engineering Workbench, or LabVIEW software. LabVIEW is the primary software package that we will be using to acquire and analyze measurement data in ME365. This week's experiment will familiarize you with many of the LabVIEW fundamentals that we will rely on throughout the semester. After completing this lab, you should be able to: Construct a simple virtual instrument (VI). Navigate and use pre-made LabVIEW VIs. Know how to adjust sample rate and number of samples in order to capture a signal properly. Procedure: An Overview of LabVIEW: LabVIEW is a program development application or environment similar to the development systems you have used to write C or FORTRAN programs in some of your other courses. It is a general-purpose programming system which includes libraries of functions and development tools specifically tailored to data acquisition and instrument control. As you will see when you develop your own programs (called virtual instruments or VIs), LabVIEW is a graphic based programming language rather than text based like other languages you may have used. Another difference you will see as you develop VIs is that the program execution is data driven. That is, the program execution order is determined by the flow of data within the program. This is in contrast to other languages which are instruction driven. Log onto your computer and launch LabVIEW by going to Start Programs National Instrument LabVIEW 2009. When LabVIEW opens you will see the Getting Started window. In this dialog window, select ‟Blank VI‟ under the „New‟ heading. This will open two windows cascaded on top of each other. The top window is called the front panel of the VI. It acts as the user interface of the virtual instrument. It is called a front panel because it simulates the front panel of a physical instrument and includes such items as knobs, switches, buttons, gages, graphs, and other controls and indicators. The second window, partially obscured by the front panel, shows the wiring diagram for the VI. Inputs from the front panel are passed to control terminals located in the diagram window. Similarly, results from the VI are sent from indicator terminals in the diagram window to the corresponding front panel indicators. The diagram window contains a pictorial representation of the instrument's program, and describes how the instrument is to process data.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Laboratory 3 Introduction to LabVIEW ME 365 2 Front Panel Controls: If you haven't already done so, launch LabVIEW and select the front panel of a new VI. To create a new VI, click New and choose Blank VI and hit the OK button. A VI is either in edit mode, in which you can create or change a VI, or in run mode, in which you can execute a VI. You cannot edit a VI in run mode. Use the pull down menu titled Operate. At this time, make sure you are in edit mode. Across the top of the panel window are pull down menus labeled File, Edit, View,
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 14

lab3_Fall10 - ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online