Date post: | 27-Dec-2015 |
Category: |
Documents |
Upload: | dorthy-murphy |
View: | 215 times |
Download: | 1 times |
Biomedical Engineer: Andy R. Eugene Email: [email protected]
Robert Wood Johnson Medical SchoolInstitute for the Study of Child Development
Biomedical Measurements & Analysis using LabVIEW
Why LabVIEW?• LabVIEW is a program development application, much like C or FORTRAN.
•Other programming systems use text-based languages to create lines of code, while LabVIEW uses a graphical programming language, G, to create programs in block diagram form.
•LabVIEW includes libraries for data acquisition, data analysis, data presentation, and data storage.
•A LabVIEW program is called a virtual instrument (VI) because it’s appearance and operation can imitate an actual instrument.
http://egweb.mines.edu/eggn350/labview/
Front Panel• Controls = Inputs• Indicators = Outputs
Block Diagram• Accompanying “program”
for front panel• Components “wired”
together
LabVIEW Programs Are Called Virtual Instruments (VIs)
Express VIs, VIs and Functions
• Express VIs: interactive VIs with configurable dialog page• Standard VIs: modularized VIs customized by wiring• Functions: fundamental operating elements of
LabVIEW; no front panel or block diagram
Express VIExpress VI Standard VIStandard VI
FunctionFunction
Controls and Functions Palettes
Controls Palette (Front Panel Window)
Functions Palette (Block Diagram Window)
Run Button
Continuous Run Button
Abort Execution
Pause/Continue Button
Text Settings
Align Objects
Distribute Objects
Reorder
Resize front panel objects
Execution Highlighting Button Step Into Button
Step Over Button
Step Out Button
Additional Buttons on the Diagram Toolbar
Status Toolbar
Wiring Tips – Block Diagram
Wiring “Hot Spot”
Clean Up WiringUse Automatic Wire Routing
Click To Select Wires
Help Options
Context Help• Online help• Lock help• Simple/Complex Diagram help• Ctrl + H
Online reference• All menus online• Pop up on functions in diagram to access online info directly
Data Acquisition
Computer
DAQ Device
Terminal Block
Cable
Sensors
Andy R. Eugene Email: [email protected]
Advisor: Stanley M. Dunn, Ph.D.
We will now write a LabVIEW VI