Docsity

LabView Workshop: Introduction to LabView Software for Engineering Students, Lab Reports of Mechanical Engineering

Toggle sidebar
bg1
LabView Workshop
Many engineering measurement, control, and manufacturing systems are controlled with
a computer. In addition, many consumer products are controlled with a microprocessor,
or a programmable logic controller. A key component to these is the software that is
used. The software converts information that is meaningful to people into information
that is meaningful to equipment that is being operated (and visa versa). This workshop is
designed to provide introductory experience with LabView software. LabView software
is an industrial strength software tool that is used for many real applications. In this
workshop you will perform calculations and display results, but you will not interface
with sensors and actuators. In subsequent labs you will use LabView to interface with
sensors and actuators, as well as to perform calculation and display results.
Objectives
Learn basic LabView programming techniques. Review beam deflection theory.
In Lab Exercises
1. View the LabView video introduction. Your T.A. will hand out a worksheet for you
to fill-in as you view the video.
2. Open and run the example temperature vi (from the desktop). Comment in your
notebook on potential applications of this program. Do not spend more than five
minutes on this. The intent is for you to be aware that there are examples available
to see how to solve different types of problems.
3. Develop a LabView Program that will calculate the deflection of a cantilever beam
(see figure 1 below). Read in the parameters in the cantilever beam strain formula
from the front panel. Program the calculations in the diagram with symbols and
wiring. Display the results on the front panel.
E
bh
PL
3
3
4
=
δ
4. Enter in values for each parameter and run the program with the light bulb turned on.
Run the program with the single step feature. Comment on the data flow. Is it what
you would have expected?
5. Check the computer results with your calculator.
6. Save an HTML - GIF file of the front panel and the diagram and print these for your
notebook. Your T.A. can assist you with this.
7. Measure the dimensions of the beam in the lab (see figure 1 below). Note the
material that the beam is made off. Put a load on the beam and measure the
deflection. Enter the parameters from this experiment into your LabView program
and calculate deflection. Contrast the measured and calculated values.
8. If time permits, re-write the calculation part of your diagram using the formula node
structure. Your T.A. can assist you with this programming approach.
Discussion Questions
1. How is the order of execution of LabView programs determined?
2. What color of wire represents an integer?
pf2

Partial preview of the text

Download LabView Workshop: Introduction to LabView Software for Engineering Students and more Lab Reports Mechanical Engineering in PDF only on Docsity!

LabView Workshop

Many engineering measurement, control, and manufacturing systems are controlled with a computer. In addition, many consumer products are controlled with a microprocessor, or a programmable logic controller. A key component to these is the software that is used. The software converts information that is meaningful to people into information that is meaningful to equipment that is being operated (and visa versa). This workshop is designed to provide introductory experience with LabView software. LabView software is an industrial strength software tool that is used for many real applications. In this workshop you will perform calculations and display results, but you will not interface with sensors and actuators. In subsequent labs you will use LabView to interface with sensors and actuators, as well as to perform calculation and display results.

Objectives

Learn basic LabView programming techniques. Review beam deflection theory.

In Lab Exercises

  1. View the LabView video introduction. Your T.A. will hand out a worksheet for you to fill-in as you view the video.
  2. Open and run the example temperature vi (from the desktop). Comment in your notebook on potential applications of this program. Do not spend more than five minutes on this. The intent is for you to be aware that there are examples available to see how to solve different types of problems.
  3. Develop a LabView Program that will calculate the deflection of a cantilever beam (see figure 1 below). Read in the parameters in the cantilever beam strain formula from the front panel. Program the calculations in the diagram with symbols and wiring. Display the results on the front panel.

bh E

PL

3

  1. Enter in values for each parameter and run the program with the light bulb turned on. Run the program with the single step feature. Comment on the data flow. Is it what you would have expected?
  2. Check the computer results with your calculator.
  3. Save an HTML - GIF file of the front panel and the diagram and print these for your notebook. Your T.A. can assist you with this.
  4. Measure the dimensions of the beam in the lab (see figure 1 below). Note the material that the beam is made off. Put a load on the beam and measure the deflection. Enter the parameters from this experiment into your LabView program and calculate deflection. Contrast the measured and calculated values.
  5. If time permits, re-write the calculation part of your diagram using the formula node structure. Your T.A. can assist you with this programming approach.

Discussion Questions

  1. How is the order of execution of LabView programs determined?
  2. What color of wire represents an integer?
  1. What color of wire represents a floating-point number?
  2. What are some advantages and disadvantages of graphical software compared with more classical software where you have lines of code?

b

P

L

h

Figure 1. Sketch of the cantilever beam.

Laboratory Grading Form

Specific Item Possible Ntbk Table of Contents 5 Experiment Titled 5 Preparatory Exercises: cut and paste the LabView worksheet (filled-in during video)

Objective Statement 10 Date, Time, Place, 5 Apparatus/Equipment Sketches. Make the sketch such that you could set up this experiment from you notebook.

Equipment Description. Write a sentence for each piece of equipment – to describe what it was used for.

Lab Procedure: what did you do in the lab? Also, specify LabView methods that you used.

Print-out of front panel and diagram 5 Calculations that you made to check you program. Show the numbers that you entered and the results.

Discussion Questions 10 Discussion of Results. A paragraph discussing the lab, what you learned, specific things about LabView that you need to remember, ideas on how you might use this in the future.

Organization and Readability 5 Total 100