1 / 14

336540 Design of Bio-Medical Virtual Instrumentation

336540 Design of Bio-Medical Virtual Instrumentation. Tutorial 1. Course information. Dr. Eugene Konyukhov: eugene@bm.technion.ac.il , BM room 342 , Tel: 054-7891895 Tal Gilboa: talh@tx.technion.ac.il , Emerson building 6 th floor, Tel: 5103

mirit
Download Presentation

336540 Design of Bio-Medical Virtual Instrumentation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 336540 Design of Bio-Medical Virtual Instrumentation Tutorial 1

  2. Course information Dr. Eugene Konyukhov: eugene@bm.technion.ac.il , BM room 342 , Tel: 054-7891895 Tal Gilboa: talh@tx.technion.ac.il , Emerson building 6th floor, Tel: 5103 Shir Paluch: shirp@tx.technion.ac.il , BM room 330, Tel: 4127 Reception hours: By appointment Grading: • 20% Homework (~5 HW assignments) • 80% Project

  3. Outline Navigating LabVIEW • Front panel window • Controls, Indicators and constants • Block diagram window • Data flow

  4. LabVIEWLaboratory Virtual Instrumentation Engineering Workbench • LabVIEW programs are called VIs (virtual instruments) • LabVIEW VIs contain two main components: • The front panel window • The block diagram window LabVIEW– graphical programming environment which can be used to create applications with professional user interfaces

  5. Front Panel • The front panel window is the user interface for the VI

  6. Run the VI If the arrow is broken it mean that we have an error in our program Run continuously Stop Pause Design buttons

  7. Controls Indicators and Constants Controls: • Controls are the interactive input terminals of the VI. They stimulate input devices and supply data to the block diagram. • Controls are: knobs, push buttons etc. Indicators: • Indicators are the interactive output terminals of the VI. They display data the block diagram acquires or generates. • Indicators are graphs, LEDs etc. Constants - values that the user doesn’t need to change or access.

  8. Controls palette Use the Controls palette to place controls and indicators on the front panel View » Controls Palette or right-click the front panel workspace to display the Controls palette

  9. Controls and Indicators Every control or indicator has a data type associated with is: • Numeric Controls and Indicators – represent numbers of various types • Boolean Controls and Indicators- represent data that has only two possible states • String Controls and Indicators – sequence of ASCII characters

  10. Block Diagram • The Block Diagram window contains the graphical source code Terminal Constant

  11. Functions palette Use the Functions palette to build the block diagram View » Functions Palette or right-click the block diagram workspace to display the Functions palette To display the Context Help window select Help » Show Context Help or press the <Ctrl-H> keys

  12. Exercise 1 • Create a VI which gets the height and base of a triangle from the user, computes the area of the triangle and presents it

  13. Exercise 2 Create a VI which: • Gets two numbers from the user • Sums, divides and multiplies them • subtracts 1 from one of the numbers • Presents all the results

  14. Data flow • LabVIEW follows a dataflow model for running VIs • A block diagram node executes when it receives all required inputs • Which function executes first: Add or subtract? • Which function executes first: Random number, subtract or add? • Which function executes first: Random number, divide or add? • Which function executes last: Random number, subtract or add?

More Related