LabVIEW Applications for the Undergraduate Physiology Lab · LabVIEW Applications for the...
Transcript of LabVIEW Applications for the Undergraduate Physiology Lab · LabVIEW Applications for the...
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
NIWeek NIWeek Aug, 16, 2002Aug, 16, 2002Austin, TXAustin, TX
AcknowledgementAcknowledgement
nnKimberly PooleKimberly PoolennW.C. SheetsW.C. Sheets
OverviewOverviewnn Introduction/MotivationIntroduction/Motivationnn InfrastructureInfrastructurenn Development ProcessDevelopment Processnn ApplicationsApplications
–– ReflexReflex–– Muscle TwitchMuscle Twitch–– ECGECG–– Enzyme ReactionsEnzyme Reactions
nn SummarySummary
Introduction/MotivationIntroduction/Motivation
nn Why bother with NI?Why bother with NI?
Handy Storage Compartments
Wheels for portability
Sturdy Construction
Proven analog electronics
Refillable ink wells(color compatible)
Un-corruptable storage media
Introduction/MotivationIntroduction/Motivation
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.
ApplicationsApplicationsnn Muscle TwitchMuscle Twitch
–– Force Measurement Force Measurement
nn ReflexReflex–– Simple Electronic Simple Electronic GoniometerGoniometer..
nn ECGECG–– Amplifier interface.Amplifier interface.
nn Enzyme ReactionEnzyme Reaction–– Interface for Interface for Spectronic Spectronic 20 Spectrophotometer.20 Spectrophotometer.
Applications: ReflexApplications: Reflex
nn SuppliesSupplies–– Impact Hammer (for Impact Hammer (for
triggering)triggering)–– PotentiometerPotentiometer–– Straps (for Straps (for
attachment)attachment)
Applications: ReflexApplications: Reflex
nn Potentiometer Potentiometer requires external requires external power supply (5V)power supply (5V)
Tektronix CPS250Tektronix CPS250
Applications: Muscle TwitchApplications: Muscle Twitch
nn SuppliesSupplies–– PhysiogripPhysiogrip–– Power SupplyPower Supply–– Flat ElectrodeFlat Electrode–– Electrode probeElectrode probe–– Electrically Electrically
conductive gelconductive gel
Application: Muscle TwitchApplication: Muscle Twitch
Applications: ECGApplications: ECG
nn SuppliesSupplies–– Electrode Electrode
leads/interfaceleads/interface–– Electrodes “PreElectrodes “Pre--
gelled”gelled”–– Electrically Electrically
Conductive GelConductive Gel–– Pulse Transducer Pulse Transducer
(optional)(optional)
Applications:ECGApplications:ECG
nn Use Plenty of Gel!Use Plenty of Gel!nn Give students Give students
guidance on guidance on electrode placementelectrode placement
Applications: Enzyme ReactionApplications: Enzyme Reaction
nn SuppliesSupplies–– Spectronic Spectronic 2020–– CuvettesCuvettes–– “Pigtail” Connector “Pigtail” Connector –– DeionizedDeionized waterwater–– Potatoes Potatoes –– CatecholCatechol–– BlenderBlender–– StrainerStrainer–– Assorted glassware and Assorted glassware and
cuvettecuvette racksracks
Applications: Enzyme ReactionApplications: Enzyme Reaction
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.
nnStart simple, add features/analysis tools Start simple, add features/analysis tools as needed.as needed.
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.