10
Biomedical Engineer: Andy R. Eugene Email: [email protected] Robert Wood Johnson Medical School Institute for the Study of Child Development 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 Biomedical

Embed Size (px)

Citation preview

Page 1: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

Biomedical Engineer: Andy R. Eugene Email: [email protected]

Robert Wood Johnson Medical SchoolInstitute for the Study of Child Development

Biomedical Measurements & Analysis using LabVIEW

Page 2: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

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/

Page 3: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

Front Panel• Controls = Inputs• Indicators = Outputs

Block Diagram• Accompanying “program”

for front panel• Components “wired”

together

LabVIEW Programs Are Called Virtual Instruments (VIs)

Page 4: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

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

Page 5: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

Controls and Functions Palettes

Controls Palette (Front Panel Window)

Functions Palette (Block Diagram Window)

Page 6: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

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

Page 7: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

Wiring Tips – Block Diagram

Wiring “Hot Spot”

Clean Up WiringUse Automatic Wire Routing

Click To Select Wires

Page 8: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

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

Page 9: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

Data Acquisition

Computer

DAQ Device

Terminal Block

Cable

Sensors

Page 10: Biomedical Engineer: Andy R. Eugene Email: andyeugene@yahoo.com Robert Wood Johnson Medical School Institute for the Study of Child Development Biomedical

Andy R. Eugene Email: [email protected]

Advisor: Stanley M. Dunn, Ph.D.

We will now write a LabVIEW VI