Lab_1_Instructions
docx
keyboard_arrow_up
School
Vanderbilt University *
*We aren’t endorsed by this school
Course
2171
Subject
Mechanical Engineering
Date
Apr 3, 2024
Type
docx
Pages
8
Uploaded by SuperDinosaurMaster401
V
ANDERBILT
U
NIVERSITY
ME 2171 I
NSTRUMENTATION
L
ABORATORY
L
AB
1: I
NTRODUCTION
TO
L
AB
VIEW Overview
This lab will introduce you to the LabVIEW program. For this lab you will do three things (during lab):
1.
Install LabVIEW and associated software for the course (you can do this before the lab starts
if you’d like)
2.
Work through the LabVIEW Getting Started tutorial.
2. Work through the additional exercise that is part of this handout.
As a result of doing these two things, you will create two “virtual instrument” files. One is called
“Random Number Example,” and the other is called “Tank Simulator.”
Additionally, please complete the following items (during lab or as homework): 1.
Watch the first 10 LabVIEW tutorial videos on YouTube on the “Getting Started with LabVIEW” playlist at https://youtube.com/playlist?list=PLB968815D7BB78F9C
2.
Complete the LabVIEW exercise in “LabVIEW Exercise” wherein you will build a
calculator. Demonstrate a working calculator VI at your next lab session.
3.
Complete the attached Memorandum Writing Guide quiz.
All work, including lab report, quiz, and exercises, are due at the beginning of your next lab
period.
o
Installed LabVIEW
o
LabVIEW Getting Started Tutorial
o
Additional Exercise
o
Watched Tutorial Videos on YouTube
o
Calculator Exercise
o
Writing Guide Quiz
Additional Exercise
In the “Random Number Example” virtual instrument (vi), make the following modification:
Replace the “Waveform Chart” with a “Tank” indicator. This is located in Controls >> Express >>
Numeric Indicators
of the “Controls” palette. Now run the vi and notice that the tank level fluctuates between 0 and 1. Next modify the vi so that
each time the while loop executes, the new random number is added to the sum of the old random
numbers. This simulates some “fluid” added to the tank, raising its level. To make this modification, go
to the block diagram, right click on the while loop, and “Add Shift Register.” Here is what the block
diagram should look like:
The shift register holds the value of a wire from the previous while loop execution. Thus when the
while loop executes the first time the value of the shift register is zero. After the first while loop
execution the shift register value is the first random number generated. After the second while loop the
shift register value is the second random number, etc. Next wire an “Add” icon (look for this in where you’d logically expect to find it in the Functions
palette) to the shift register icons like so:
Now run the .vi and notice that the tank fills up quick. Let’s add a “drain” to the tank. Add a “Toggle
Switch” to the front panel (
Controls >> Express >> Buttons
). Go to the block diagram and insert a
“
Select
” icon from the “
Comparison
” sub-palette of the “
Functions >> Programming
” palette. This
icon sends one of two values out based on a Boolean input. Have as these two values 0.75 and 0.0.
Here is the block diagram:
Now you
figure out how to wire up the output from the “Select” icon so that its value is subtracted from
the “Tank Level” sum. Run the vi to check out its operation.
Now – in order to learn how to use a “
Case Structure
” – remove the “
Select
” icon and try to use a
“
Case Structure
” to achieve the same functionality for the “drain” toggle switch. Finally, to add visual effects to your front panel: Insert an LED indicator that will indicate the “Tank
Drain Valve” Boolean switch position. This indicator is obtained from Controls >> Express >> LEDs
>> Round LED
. Here is what the front panel should look like (the appearance of the “Power or Stop”
switch is unimportant):
Wire this new indicator to the “Tank Drain Valve.” Edit this indicator so that when the tank is draining,
it is green, and when the valve is shut, it is red. The paintbrush tool will be helpful, and also right-
clicking while using the paintbrush tool will bring up the color palette.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Now run the vi, trying to keep the tank level between 0 and 1. Notice how difficult it is to do this
manually. Thus for the remainder of your lab assignment you will make the valve operation automatic.
Save this vi (call it “Tank Simulator”) on each student’s computer, because each student must do the
next part individually. Individual assignment (can be done in lab or at home):
Take the “Tank Simulator” virtual instrument that you created in this week’s lab, and make these
modifications to it:
1. Make the “valve,” that takes away some of the fluid contained in the tank, operate
automatically. This means that the valve, if the fluid level is above 0.5, should open to allow
fluid to leave, at the rate of 0.75 per while-loop-step. Also if the fluid level is below 0.5, the
valve should shut to prevent loss of fluid. Thus the fluid level should fluctuate in the tank, but
most of the time will be between 0 and 1. Hint: Making the valve act automatically will involve
a comparison of the current tank level to the number 0.5, and then sending a “Yes” or “No” to
the valve for it to open or close.
2. Modify the Boolean Indicator onto the front panel so that, if the tank level is below 1.0, the
indicator will be green and will display the message: “Tank is OK.” If the tank level is above 1.0
the indicator will turn red and will display the message: “Tank is overfull.”
3. Insert a Boolean control onto the front panel, and then wire it in the block diagram so that it
can switch the Tank level control from automatic back to manual control, or vice versa. This
will be helpful in a real-life situation where the automatic control of the tank may suddenly not
work properly and it would be necessary to regain manual control of the tank level.
Here is a front panel picture of the modified “Tank Simulator” virtual instrument. Notice the Boolean
indicator for “Drain Valve Status.”
Once you have successfully modified and run your program, save it as “Your Name’s Tank Simulator.”
(For example Ima Student’s Tank Simulator.) Print out the front panel and block diagram. (Note
:
Cutting and Pasting these into Word does not work well as some of the lines and blocks will disappear.
A failsafe way to grab images of the front panel or block diagrams is to use the printscreen button on the
keyboard, or use the snipping tool built into windows
.) You will turn this in as part of your Technical
Memo. Be sure to arrange the blocks and wires inside the block diagram so it can be viewed easily by
the grader. Your lab report for this lab should follow the professional tone of the “Memo Report” format (posted on
Brightspace, see sections 1.5 and 1.6 in Jeter and Donnell regarding short narrative reports in
memorandum format). Please type your report and make it have a professional appearance – once you
do this, it will be easy to use it as a template for subsequent memos. Use the template on the next page
for the format of the report. The lab report will be graded on format and professionalism, in
addition to technical content. Please note that it should be written in the third person.
For our reports, we will use the specific headings specified in each lab instruction document (the
document you are currently reading). Please be sure to include the section and subsection numbers
indicated.
Final note: Be sure to bring your laptop to lab each week.
Lab Formatting Advice (relates to all lab reports)
Labs must be formatted in a professional manner:
1) Plots: Clear and comprehensible figures are critical
to a good lab report. Plots should have a title, x/y axes labels (with units when appropriate), a legend when there is more than one dataset, and axes numbering with readable font. Axes should be scaled so that the relevant and interesting portion of the dataset is centered and clearly visible, and that behavior of interest can be seen by the reader. It is ok to use color to distinguish different datasets, but only when you actually print the report out in color (or submit it online); if you are printing in B&W, use something besides color to distinguish between data.
2) Tables: Tables should contain the quantitative data in a row/column format that is easily understood by the reader. If the table spans multiple pages, the top row (containing the column headers) should be reproduced at the top of a new page so the reader doesn’t have to turn to previous pages to recall what everything is. Data should be written with appropriate significant digits. 3) Captions: Figures and tables must have captions that are referenced in the report. Captions should be
below a figure, and above a table. The caption should have a sentence or two that describes what is in the Figure/Table with enough information so that if someone were just scanning the document looking at the captions, they’d get a rough understanding of what was done.
4) Conclusions: A conclusion section is not simply a summary of what you have done, it should contain
some conclusions that you have formed from doing the lab. What have you learned? What information will you use in the future?
5) Page numbers: Please use them
6) General: Use only one font for the entire report. You may use bold/italic/underline as needed. Only refer to items in color when you actually print the report in color; otherwise use something else to distinguish items in the report.
7) Examples: On Brightspace, an example of a good report and a not-so-good report are posted.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
TO: ME 2171 Instrumentation Lab Instructional Staff
January xx, 202x
FROM: Your Name, Section <Day of the Week>
SUBJECT: Lab 1, Introduction to LabVIEW
1.0 Statement of Purpose (5 pts)
One or two sentences communicating the objective of the lab.
2.0 Background (10 pts)
About one paragraph describing LabVIEW in general terms (not specific to this lab) – what it is,
what it does, and how. Describe its capabilities. Please take care not to plagiarize by cutting and
pasting – use your own phrasing. In future labs, this section will be where general textbook theory
pertinent to the lab, as well as general procedures regarding the lab, will be presented.
3.0 Discussion (60 pts)
In this section, present specific information requested. Please arrange this information in subsections
as specified below.
3.1 Random Number Example.vi
3.1.1
Block Diagram
Include a figure of the block diagram, appropriately captioned. (8 pts)
Describe the functionality of the block diagram of the Random Number
Example.vi that you ended up with at the end of the “LabVIEW Getting
Started” tutorial. Describe, within a paragraph, the function of each block and
the flow of information among the blocks inside the block diagram (refer to
your figure at some place within this paragraph). Also discuss the different
wiretypes within the block diagram. (8 pts)
3.1.2
Front Panel
Very briefly (one or two sentences) describe the front panel. (5 pts)
Include a figure of the front panel, appropriately captioned. (7 pts)
3.2 Tank Simulator
3.2.1
General Description (2 pts)
In a few sentences, describe your Tank Simulator (that you ended up with at
the end of the “Individual Assignment” section). Not how it works, but what it
does.
3.2.2
vi
Include a figure of the block diagram, appropriately captioned (10 pts)
Include a figure of the front panel, appropriately captioned (10 pts)
Describe in detail what your vi does and how it does it. Refer to your block
diagram and front panel figures within this description. (10 pts)
4.0 Conclusions (5 pts)
For this lab, the conclusion section should just mention that your vi has been tested and runs
successfully. In future labs, the conclusion section will be used to summarize quantitative results and
other specific findings of fact.
5.0 Quiz (10 pts) and Additional Exercise (10 pts)
Append your memorandum quiz to your report. Demonstrate the VI to your TA.
(10 pts for writing style across the entire report)
Related Documents
Related Questions
Hello tutors, help me. Just answer "Let Us Try"
arrow_forward
Access Pearson
Mastering Engineering
Back to my courses
Course Home
Course Home
Scores
■Review
Next >
arrow_forward
I Blackboard @ Texas Tech Uni x
Bb MasteringEngineering - Spri x
E MasteringEngineering Maste X
C Suppose That H = 3.8 M . (Fi x
X Mathway | Calculus Problem x
y! how to take a full page scree
A session.masteringengineering.com/myct/itemView?assignmentProblemID=12360392&offset=next
ABP O
Tp E
G
KAssignment #3
Fundamental Problem 2.29
5 of 6
>
I Review
Part A
Find the magnitude of the projected component of the force along the pipe AO.
(Figure 1)
Express your answer to three significant figures and include the appropriate units.
µA
FAO =
Value
Units
Submit
Request Answer
Figure
4 m
F = 400 N
6 m
5 m
B
4 m
10:31 PM
O Type here to search
2/7/2021
arrow_forward
Please solve, engineering econ
arrow_forward
The first photo is the question, where the 2nd shows some problem solving strategies
arrow_forward
The class I'm taking is physics for scientists and engineers!
**** I need help with part D only*****
Can you please write out the solution and not type out the solution? I had to reask this question because the last tutor typed out the solution and it was very hard for me to follow . Please and thank you for the special request.
I have attached the problem. Please view attachment before answering. Thank you!
arrow_forward
You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:
arrow_forward
Identify the lines
arrow_forward
You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture
fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates
implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial
weight bearing activities.
Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to
verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into
solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending
test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the
yield stress for the Ti-6Al-4V…
arrow_forward
Help me solve this ENGINEERING GRAPHICS question
Use 0.25 cartesian paper or 0.25 Isometric paper please.
arrow_forward
+ → CO
A student.masteryconnect.com/?iv%3D_n5SY3Pv5S17e01Piby
Gr 8 Sci Bench 1 GradeCam Rutherford TN 2021
AHMAD, ASHNA
D0
3 of 35
A student develops a model of an electric motor using two pins, a wire coil,
coil continues to spin with a certain speed.
wire coil
pins
magnet
tape
battery
How can the student increase the speed of the electric motor?
O by using wider pins
O by using thinner pins
O by using less wire in the clil
O by using more wire in the coil
e Type here to search
近
arrow_forward
Don't Use Chat GPT Will Upvote And Give Handwritten Solution Please
arrow_forward
Create a reading outline for the given text "STRESS and STRAIN".
arrow_forward
Solve correctly
arrow_forward
Help can only be sought via private Ed Discussion posts or instructor office hours.
- In all coding, use only functions covered in class. It will be considered a violation of the Academic Integrity Policy if you use
any build-in functions or operators of Matlab that calculate the inverse of a matrix, interpolations, spline, diff, integration, ode,
fft, pdes, etc.;
- You may reuse functions you yourself developed throughout this semester in this class or from solutions posted on Canvas for
this class.
Problem Description (CCOs #1, 2, 3, 4, 5, 6, 7, 8, 11, 12)
A water tank of radius R = 1.8m with two outlet pipes of radius r₁ = 0.05m and r2 installed at heights h₁ = 0.13m
and h₂ = 1m, is mounted in an elevator moving up and down causing a time dependent acceleration g(t) that must be
modeled as
g(t) = go+a1 cos(2π f₁t) + b₁ sin(2π f₁t) + a2 cos(2π f₂t) + b₂ sin(2π f₂t),
(1)
Figure 1: Water tank inside an elevator
The height of water h(t) in the tank can be modeled by the following ODE,…
arrow_forward
Access Pearson
Mastering Engineering
Back to my courses
Course Home
Course Home
Scores
arrow_forward
Mech. Engg. Dept.
4th year 2022-2023
Solar Energy
Spring course MEC364
Dr. Mahmoud U. Jasim
Review/Recap Sheet
Q1- Answer with true or false and rewrite the false statements completely in
correct form, otherwise no mark will be put on the false statements.
1
2
To represent a location on earth surface you need to define its altitude and longitude
angles.
3
Solar zenith and solar incidence angles have the same value for horizontal surface.
At sunset time the value of solar altitude angle is maximum.
4
The angle which represents the inclination of a given surface is the zenith angle
5
6
7
8
When the absolute value of sun-wall azimuth angle exceeds 90' this means that the sun
rays are reaching the receiving plane.
The solar irradiance and the solar irradiation have the same physical meaning.
In the case of clear sky weather, the beam solar irradiation on a horizontal surface is less
than the diffused irradiation.
The total solar radiation received by a tilted surface is the same as that…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Related Questions
- Hello tutors, help me. Just answer "Let Us Try"arrow_forwardAccess Pearson Mastering Engineering Back to my courses Course Home Course Home Scores ■Review Next >arrow_forwardI Blackboard @ Texas Tech Uni x Bb MasteringEngineering - Spri x E MasteringEngineering Maste X C Suppose That H = 3.8 M . (Fi x X Mathway | Calculus Problem x y! how to take a full page scree A session.masteringengineering.com/myct/itemView?assignmentProblemID=12360392&offset=next ABP O Tp E G KAssignment #3 Fundamental Problem 2.29 5 of 6 > I Review Part A Find the magnitude of the projected component of the force along the pipe AO. (Figure 1) Express your answer to three significant figures and include the appropriate units. µA FAO = Value Units Submit Request Answer Figure 4 m F = 400 N 6 m 5 m B 4 m 10:31 PM O Type here to search 2/7/2021arrow_forward
- Please solve, engineering econarrow_forwardThe first photo is the question, where the 2nd shows some problem solving strategiesarrow_forwardThe class I'm taking is physics for scientists and engineers! **** I need help with part D only***** Can you please write out the solution and not type out the solution? I had to reask this question because the last tutor typed out the solution and it was very hard for me to follow . Please and thank you for the special request. I have attached the problem. Please view attachment before answering. Thank you!arrow_forward
- You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:arrow_forwardIdentify the linesarrow_forwardYou are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial weight bearing activities. Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the yield stress for the Ti-6Al-4V…arrow_forward
- Help me solve this ENGINEERING GRAPHICS question Use 0.25 cartesian paper or 0.25 Isometric paper please.arrow_forward+ → CO A student.masteryconnect.com/?iv%3D_n5SY3Pv5S17e01Piby Gr 8 Sci Bench 1 GradeCam Rutherford TN 2021 AHMAD, ASHNA D0 3 of 35 A student develops a model of an electric motor using two pins, a wire coil, coil continues to spin with a certain speed. wire coil pins magnet tape battery How can the student increase the speed of the electric motor? O by using wider pins O by using thinner pins O by using less wire in the clil O by using more wire in the coil e Type here to search 近arrow_forwardDon't Use Chat GPT Will Upvote And Give Handwritten Solution Pleasearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY