Biomedical Measurements & Analysis
using LabVIEW
Biomedical Engineer: Andy R. Eugene
Email: [email protected]
Robert Wood Johnson Medical School
Institute for the Study of Child Development
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/
LabVIEW Programs Are Called Virtual
Instruments (VIs)
Front Panel
• Controls = Inputs
• Indicators = Outputs
Block Diagram
• Accompanying “program”
for front panel
• Components “wired”
together
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
Function
Express VI
Standard VI
Controls and Functions Palettes
Controls Palette
(Front Panel Window)
Functions Palette
(Block Diagram Window)
Status Toolbar
Run Button
Continuous Run Button
Additional Buttons on
the Diagram Toolbar
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
Wiring Tips – Block Diagram
Wiring “Hot Spot”
Use Automatic
Wire Routing
Click To Select Wires
Clean Up Wiring
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
DAQ Device
Computer
Sensors
Cable
Terminal Block
We will now write a
LabVIEW VI
Andy R. Eugene
Email: [email protected]
Advisor: Stanley M. Dunn, Ph.D.
Descargar

[Company Name] - Rutgers University School of Engineering