Lab 2 EE 1106 - 001
Popular in ELECTRICAL ENGINEERING FRESHMAN PRACTICUM
Popular in Electrical Engineering
This 0 page Class Notes was uploaded by Kumar Jyoti on Sunday December 27, 2015. The Class Notes belongs to EE 1106 - 001 at University of Texas at Arlington taught by Gregory K Turner in Fall 2015. Since its upload, it has received 61 views. For similar materials see ELECTRICAL ENGINEERING FRESHMAN PRACTICUM in Electrical Engineering at University of Texas at Arlington.
Reviews for Lab 2
Report this Material
What is Karma?
Karma is the currency of StudySoup.
You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!
Date Created: 12/27/15
Name Kumar Aman Jyoti Lab Report 2 UTA Id Number 1001241332 EE1106 Introduction to Electrical Engineering Practicum Lab Report Grading Rubric To be attached as a coversheet to EVERY report FORMATTING see comments in graded report for more explaination Formatting Evaluation Kev Lab 1 2 3 4 0 Absent 1 Extremely Lacking 2 Poor 3 Fair 4 Good 5 Excellent Formatting Evaluation Kev Lab 5 and all succeeding labs 0 Extremely Lacking 1 Poor 2 Fair 3 Good 4 Excellent 5 Perfect Primary Structure Proper marginsspacing is used throughout the report IEEE format Proper formatting of section titles and subtitles IEEE format Proper font and font size IEEE format Overall consistency of formatting throughout the report FiguresTables Figurestables are appropriately named and numbered IEEE format Figurestables are appropriately sized and spaced Screenshots are neatly cropped and clear Spelling Grammar and Writing Style Spelling Passive voice is used throughout the ENTIRE report Sentence Structure Paragraph Structure IEEE format References IEEE Format CONTENT see comments in graded report for more explanation Content Evaluation Key 0 Absent 1 Extremely Lacking 2 Poor 3 Fair 4 Good 5 Excellent Abstract provides endtoend coverage of the obj ectives and purpose of the lab experiment Introduction demonstrates a working understanding of major theoretical concepts required for the experiment Procedure is sufficiently detailed and clearly describes all steps taken during the lab experiment Results are sufficiently detailed and data is neatly organized Discussion is a thoughtful analysis of all experimental results and data Discussion demonstrates a working understanding of the purpose of the experiment performed Conclusion sums up the overall accomplishments of the experiment Conclusion sums up the benefits to the student of performing the experiment Total Grade Lab Report 2 Introduction to MyDAQ and LabView Kumar Jyoti Electrical Engineering University of Texas at Arlington Arlington Texas kumarjyotimavsutaedu Abstract This paper is about learning Lab View programing Tool which can build any measurement or control system in dramatically less time unlike generalpurpose tools We are also going to Debugg and Handle Errors Data Types and Struct ures Execution Structures and learn about arrays controls and Indicators Apart from this we will also build some conversation tables using the VI and define important terms I INTRODUCTION LabVIEW includes a compiler that produces native code for the CPU platform The graphical code is translated into executable machine code by interpreting the syntax and by compilation Here we are going to 0 Design a Temperature Convertor using the Case St ructure Enum and While Loop data structures 0 Design a VI that calculates the area of a triangle us ing math operators 0 Design a VI that displays a 1D and a 2D array and displays user defined elements from those arrays 11 PROCEDURE 0 Temperature Conversation Design a VI that utilizes an Enum Case Structure and While Loop to do the following conversions l Celsius to Fahrenheit 2 Fahrenheit to Celsius 3 Celsius to Kelvin 4 Fahrenheit to kelvin For conversation from Celsius to Fahrenheit On the front panel add a Numeric Control and label it Temp 99 In a Boolean Push Button labeled Enum and a Numeric Indicator labeled Temp Out Organize your front panel with the controls on the left and indicators on the right as shown in Fig 1 Now we built the block diagram as shown in the figure below You will need to add the Select Function from the Comparison palette and the Add and Multiply Functions from the Numeric palette The formula for the conversion from Celsius to Fahrenheit is CX95 32 F F 32 X 59 C m1viiBliock Diagram quot lit Wew Project 39Dperate quotlinens Windmill Help 53 E933 Lou 13 1 3 I lSptAppl icatinnant iv ll pvll vll gvlnm A El X 391 a r Jyoti 39 a I 3 11 2 Replace Select39 Editing A rchquot Vt Numeric EizillEr PM E quotF 31 3 939321115 Figure 2 Block diagram of Temperature Conversation system Similarly we converted rest of the conversation by using the respective formulas Tm Tm 32 x 59 Tm Tm 27315 T T F 45967 x 59 Hie Edit New P39rejiect 39DPEITEIIEE quotIieat mutilate Heip Edit l i pthppl icatiert Pent f ED 711 E armarr11 vi Frer39rt Panel El l quot1 Search Let View 2 lrrtr d11ttiurmte Let View 2 Temperature Converter Ku mar Jyr 1100112114115 iimrput 1 l u iNllLlliliIEITIC r J i Emum iii 1 gt It Figure 1 Plot of Front Panel Window of Temperature Conversation Area of Triangle Here we are going to build a VI that calculates the area of a triangle which is given by A 12Base Height Where A represents Area of Triangle As you can see in the Fig 3 which is the Plot of Front Panel Window for area of triangle we have created two numeric controls basically Height and Base along with the area Now In Fig 4 we have multiplied the Height and base along with the constant 05 to get the area of triangle Controls indicators and constants behave as input s and outputs of the block diagram algorithm Consider the implementation of the algorithm fort he area of a triangle the user will not change or access the constant 5 s o it will not appear on the front panel unless includ ed as documentation of the algorithm a romp ra115rab239rrimgieu 1 Front Panel Hie Edi rt WE W Project 39Dperate TDnlis Mn im Help 0E iSPtAppl icationiant 1v IIEDVIITIEIEV Lab 2 introduction tn Lab View 2 Area Of triangle Area at a Triangle Kumar Jyoti AH 3 1001241332 51 391 E Area cm Z u T Base cm i gr 0 1 a quotEase 5 lt Figure 3 Plot of Front Panel Window for area of triangle Figure 4 Block Diagram Window for area of triangle 4 r I JohnPeralleglLibEjriariQElEmi Block lji39agmm A r39Fi39E ViEWF39rUjeciUperata LLTEI PIS Window Help 7 r OE i 15ptApplicatinr1antj in Er Heightkm 0 VI to display a 1D and 2D array of Prime Numbers Area cml l To make a 1D and 2D array is quite similar the only difference is that that the first one has a 1D array and the latter has a 3D array 2D arrays only A had an extra demotions added giving you rows and columns as compared the single row from a 1D array The indexed array range from 0 to nl 5 so selecting the first row would be row 0The figures are given below the fifth one is of 1D array Fig 6 f 1 S a Jahn P39eransilLahZ72Diamraly Ji Front Panel W ne Edit menu Prajecl Operame Tools mm Henp OEH SM Font Tn7m 3quot Lab 27 Introduction to Lab Views 2 E John P eraillE57Lab271 Dianna 133 Frauan Panel quot Two D Array Kumar Jyoti I le Edi mew Project Operate Tools wanderquot Help 1001241332 OEI 15m Armcation ram Iv II as quotTnm I Array f 3 i a a o 3 9 Lab 2 MnitrOduction to Lab View 2 a 39 9 A g n a 39 9 o 0 a a 1 3 Array Kumar chrtl a a 9 3 3 1001241332 3 3 9 9 L Saleclol n 39 2nd Rm Array 7 a39 3 3 i 39 D 3 3 3399 a 5 3 7 r 3 d ml 4th a umn orth a a 0 Index n ow 33 III Index um Index col 3370 Figure 4 Two D array Evalua un lt E O 23 7395 7 3939quotu39 391quot 39 Figure 4 One D array 111 CONCLUSION After doing this Lab Work we were able to learn about LabVIEW Programming Tools Debugging and Handling Errors Data Types and Structures and Execution Structures Also learned about Arrays Controls and Indicators also with Howt0 Designa Temperature Converterusing the Case Structure Enum and While Loop data structures And How to Design a VI that calculates the area of a triangle using math operators Finally Design a VI that displays a 1D and a 2D array and displays user defined elements from those arrays IV REFERENCES 1 Rapidtablescom 39Celsius to Fahrenheit formula How to convert Celsius to Fahrenheit39 2015 Online Available httpwwwrapidtablescomconverttemperature howcelsiustofahrenheithtm Accessed 09 Sep 2015 2 Rapidtablescom 39Fahrenheit to Celsius converter Temperature conversion39 2015 Online Available 6 7 8 9 10 11 12 13 14 15 16 Appendix 17 String The sting function in LabView is used to display text in the LabView program It can also be used as an input for text information such as first name last names and other text information Floating point number There is no fixed number of digits before or after the decimal meaning the decimal point can oat When programing with oating points numbers the program can have a hard time giving you the correct answer so the numbers are entered in scientific notation to fix this Integer httpwwwrapidtablescomconverttemperature fahrenheittocelsiushtm Accessed 09 Sep 2015 3 Rapidtablescom 39How to convert Celsius to Kelvin39 2015 Online Available http wwwrapidtablescomc onverttemperaturehowcelsiustokelvinhtm Accessed 09 Sep 2015 4 Rapidtablescom 39How to convert Fahrenheit to Kelvin39 2015 Online Available http wwwrapidtablescomc onverttemperaturehowfahrenheitto kelvinhtm Accessed 09 Sep 2015 5 Nicom 39Tutorial Arrays and Clusters National Instruments392015 Online Available http wwwni comWhite paper7571en Accessed 09 Sep 2015 Whole numbers ranging from to numbers When LabView rounds oating point numbers it rounds them to whole integers Double Doubleprecision is the default format for numeric objects in LabView Unsigned Integer Are numbers that do not have a negative sign so any number from 0 and up is considered an unsigned integer Array Can either be a control or an indicator and is a collection of similar data arranged in other a row or a column depending on the type of array it could contain both a rows and columns Matrix Is very similar to a 2D array it has rows and columns for numerical data and it can also be converted to a 2D array and vice versa Cluster Used to group elements of multiple data types such as string functions numeric functions and Boolean functions Local vs Global variable Local variables can be used in the same VI and can be used when wiring two parts a VI are not possible A local variable can be used when you have two different types of loops or even the same loop but running at a different pace A local variable can be used to control both at the same time The only difference with a global variable is that it can be used in two separate VI 18
Are you sure you want to buy this material for
You're already Subscribed!
Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'