LabVIEW LabVIEW Applications for the Applications for the Undergraduate Physiology Lab Undergraduate Physiology Lab Joseph R. Blandino, Ph. D. Joseph R. Blandino, Ph. D. James Madison University James Madison University NIWeek NIWeek Aug, 16, 2002 Aug, 16, 2002 Austin, TX Austin, TX
26
Embed
LabVIEW Applications for the Undergraduate Physiology Lab · LabVIEW Applications for the Undergraduate Physiology Lab Joseph R. Blandino, Ph. D. James Madison University NIWeek Aug,
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
LabVIEW LabVIEW Applications for the Applications for the Undergraduate Physiology LabUndergraduate Physiology Lab
Joseph R. Blandino, Ph. D.Joseph R. Blandino, Ph. D.James Madison UniversityJames Madison University
nnRelocation of Physiology Labs.Relocation of Physiology Labs.nnHiring of new faculty.Hiring of new faculty.nnNeed to continue using existing Need to continue using existing
transducers (some designed to interface transducers (some designed to interface to MAC).to MAC).
nnDesire to purchase offDesire to purchase off--thethe--shelf UL shelf UL listed amplifiers, but not proprietary listed amplifiers, but not proprietary software.software.
InfrastructureInfrastructure
nn NI PCINI PCI--MIO 16MIO 16--E4E4nn NI BNC 2090 NI BNC 2090
Terminal BlockTerminal Blocknn Tektronix CPS 250 Tektronix CPS 250 nn AM Systems Model AM Systems Model
21002100nn CB Sciences ETHCB Sciences ETH--
255 Bridge/Bio 255 Bridge/Bio AmplifierAmplifier Lab has eight stations
Development ProcessDevelopment Process
nn LabVIEWLabVIEW programmers made available programmers made available to work with Biology Faculty.to work with Biology Faculty.
nnTechnicians made available to develop Technicians made available to develop PC interface for former MAC systems.PC interface for former MAC systems.
nn InIn--house training shorthouse training short--course offered.course offered.nn “Pitched” “Pitched” Physiographs Physiographs (no turning (no turning
back!).back!).
Development ProcessDevelopment Process
nn LabVIEW LabVIEW Programming is fun!Programming is fun!–– Decide upDecide up--front what data analysis front what data analysis
students must perform.students must perform.–– Do you want all Do you want all VIs VIs to have the same lookto have the same look--
andand--feel?feel?–– Start with simple building blocks of code Start with simple building blocks of code
and add features.and add features.
Development ProcessDevelopment Process
nnExample: Example: SpirometerSpirometer Interface.Interface.–– Record the signal.Record the signal.
nn Want ability to adjust offset before recording.Want ability to adjust offset before recording.nn Each Each spirometer spirometer has unique scale factor.has unique scale factor.nn Want amplitude vs. time display.Want amplitude vs. time display.
–– Write data to spreadsheet for postWrite data to spreadsheet for post--processing by students.processing by students.
nn 00--1V output 1V output corresponds to 0corresponds to 0--100% Transmission.100% Transmission.
“Pigtail” Connector
%T = 0.6936e-7E-05t
R2 = 0.986
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
1.1
0 5000 10000 15000 20000 25000
Time (seconds)
% T
rans
mitt
ance
SummarySummary
nnApplications shown provide a starting Applications shown provide a starting point for modernizing undergraduate point for modernizing undergraduate physiology lab.physiology lab.
nnUse common program structures Use common program structures whenever possible whenever possible --make life easy on make life easy on faculty and technicians.faculty and technicians.