1 / 18

LabView instrumentoinnissa, 55492, 3op Labview in instrumentation

LabView instrumentoinnissa, 55492, 3op Labview in instrumentation. Lecturer: Heikki Ojala, heikki.ojala@helsinki.fi , room C204a Physicum Teaching assistant: Hannu Koskenvaara, hannu.koskenvaara@helsinki.fi , room B436 Chemicum

berke
Download Presentation

LabView instrumentoinnissa, 55492, 3op Labview in 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. LabView instrumentoinnissa, 55492, 3opLabview in instrumentation • Lecturer: Heikki Ojala, heikki.ojala@helsinki.fi, room C204a Physicum • Teaching assistant: Hannu Koskenvaara, hannu.koskenvaara@helsinki.fi, room B436 Chemicum • Course webpage: http://electronics.physics.helsinki.fi/?page_id=679 • Time: Monday&Wednesday 12-14 • Place: • Lectures in D104 on 7.11., 9.11., 16.11., 23.11., 28.11., 30.11. • Excercises in D210 on 2.11., 14.11., 21.11., 5.12., 7.12., 12.12., 14.12. • Material: Lecture notes Supporting material: Learning with LabVIEW 8 (Robert H. Bishop) • Exam: Monday 19.12.

  2. Course contents • Labview basics • virtual instruments, data flow, palettes • Structures • for, while, case, ... • editing techniques • Controls&Indicators • arrays, clusters, charts, graphs • Modular programming + recording • SubVIs • File I/O • Analysis • Linear algebra, Signal processing, Mathscript • Communication between loops • Producer/Consumer, State Machine, Local variables • Instrument control • DAQ, GPIB, Serial, Data collection

  3. LabVIEW (Laboratory Virtual Instrument Engineering Workbench) • Graphical programming language • icons instead of text • dataflow programming • Virtual Instruments (VI) • measure, control, analyze, and store data • look like physical instruments • three main components: • front panel, block diagram, icon and connector

  4. LabVIEW Programs Are Called Virtual Instruments (VIs) • Each VI has2 Windows • Front Panel • User Interface (UI) • Controls = Inputs • Indicators = Outputs • Block Diagram • Graphical Code • Data travels on wires from controls through functions to indicators • Blocks execute by Dataflow • Execution elements (functions, structures, subVIs,...) are called nodes

  5. Front panel and the associated block diagram

  6. Icon and connector • specify the pathways for data to flow into and out of Vis • connect VIs to other VIs icon connector

  7. Front panel Toolbar Run Button Continuous Run Button Abort Execution Additional Buttons on the Block Diagram Toolbar Execution Highlighting Button Retain Wire Values Button Step Function Buttons

  8. (Place items on the Front Panel Window) Controls Palette(Controls & Indicators) Customize Palette View Control: Numeric Indicator: Numeric Slide

  9. Functions (and Structures) Palette (Place items on the Block Diagram Window) Structure: While Loop

  10. Context Help Window • Help»Show Context Help, press the <Ctrl+H> keys • Hover cursor over object to update window • Additional Help • Right-Click on the VI icon and choose Help, or • Choose “Detailed Help.” on the context help window

  11. Labview Help

  12. Help>>Find Examples

  13. File>>New (from template)

  14. More help & resources • NI.com • active forums with professional help

  15. Dataflow Programming • Block diagram execution • Dependent on the flow of data • Block diagram does NOT execute left to right • Node executes when data is available to ALL input terminals • Nodes supply data to all output terminals when done Example: DataflowA.vi, DataflowB.vi

  16. Keynotes

  17. Keynotes

More Related