LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RT Detection of Diastolic Phase from EKG Signal

Hi Everyone,
 
I'm working on a project which requires that I acquire a live EKG signal and perform "accurate" real-time detection of R and T peaks in order to determine the beginning and end of each diastolic phase.  I would greatly appreciate any expert help you might be able to provide me.
 
Best Regards,
 
Martha
0 Kudos
Message 1 of 17
(4,143 Views)
Hi Martha,

This forum was designed for LabVIEW Real-time.  When we use the term real-time we do not mean fast or live, but rather in-time control decisions.  What real-time hardware are you using?  If you are not then I would gear your question to the type of hardware you are planning to use to measure the EKG, that way the best people can help you 🙂
"If you want to succeed... Architect" - The Specialist
0 Kudos
Message 2 of 17
(4,119 Views)
For acquiring and analysing data NI LabVIEW is the right tool.

Unfortunately I don't know if too many people on this forum understand how to interpret an EKG.

Perhaps if you provide some more information on the signal you will be acquiring (voltage levels, sample rate etc.) and what exactly you want to detect.

What do you mean by R and T peaks?
Perhaps a diagram showing an EKG waveform and the parts you want to detect/measure highlighted.

Then you will likely get a plethora of suggestions.
Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 3 of 17
(4,112 Views)

It is absolutely possible to acquire and detect the peaks in the EKG signal in each diastolic phase.  Here are some good references:

http://zone.ni.com/devzone/cda/epd/p/id/5832

http://forums.ni.com/ni/board/message?board.id=170&thread.id=305721

http://zone.ni.com/devzone/cda/tut/p/id/6349

0 Kudos
Message 4 of 17
(4,111 Views)
I'm using a custom-designed EKG card to detect the signal and hand it over to an anlog input in a Poseidon board running Windows CE .Net with LVRT.  I want to detect when the heart is in diastole (between beginning of T and next Q) in order to control a custom-designed balloon system.  I jsut wanted to see if anyone had experience with analyzing EKG using LabVIEW so I don't reinvent the wheel
0 Kudos
Message 5 of 17
(4,081 Views)
Do you have LV 8.5?  If not, what version are you using?

I have some code that I can send you to process EKG files.  Maybe it will help.
Randall Pursley
0 Kudos
Message 6 of 17
(4,079 Views)


Troy K wrote:

What do you mean by R and T peaks?

Each heatbeat creates a series of peaks and valley represented by electrically by a signal.  The peaks and valley are named Q-R-S-T.
 
If memory works today, you have a small peak Q followed by a large peak R followed by a small valley S and a last small peak T.   Actually Google search will provide plenty of images showing that better than I describe it. 
 
To detect the health of the heart, there is a ratio between peaks (valey) for both hight & distances.
 

 
0 Kudos
Message 7 of 17
(4,082 Views)
 
There are tricks to look for the peaks when the values are in an array.  I unfortunately have to go to a meeting and will chack this thread later.. 🙂


Message Edited by JoeLabView on 05-12-2008 03:52 PM
0 Kudos
Message 8 of 17
(4,079 Views)
Thanks.  Do you think that HRV is capable of doing this in real time?  i.e. is it capable of telling the OS when an R or T wave occurs WHEN this wave occurs, not several milisconds later?  This is my main challenge.
0 Kudos
Message 9 of 17
(4,076 Views)
I have LV8.5 Pro.  Anything you can send would be greatly apreciated.
Thanks!
 
Martha
0 Kudos
Message 10 of 17
(4,075 Views)