01-11-2009 12:54 PM
Hi guys,
For a little project of mine, I've been building my own ECG monitor with some people. My side of the project is to analyse the ECG signal that will come through the DAQ card and into labview! I'm currently trying to implement a way of measuring certain peaks and segments of the signal to be able to compare them and see if they are normal. I have already got the Beats per minute and heart rate, I just need to get values of the peaks and segments.
That is what I'm going to be getting into Labview via DAQ and trying to sort out.
My question is, what would be the easiest way to get the values of the peaks and segments (as seen in the graph) to be able to compare to set values?
Thanks a lot guys,
Tom
01-11-2009 02:26 PM
01-11-2009 02:40 PM
I have had a search. The topics are all about how to get the ECG signal, im trying to process it. Basiclly thinking of it as a normal signal with peaks. Need to find a way of getting the details of the peaks so i can compare them to a set value (refer to original post).
Thanks for the quick reply! 🙂
01-12-2009 03:35 AM
Try these links:
LabVIEW for ECG Signal Processing
Where Can I find the ECG VI for LabVIEW
Rich
NI | UK
01-12-2009 05:02 AM - edited 01-12-2009 05:07 AM
I think the tip from rich_sills is usefull for you. But if you do not have acsess to some of the filter toolkit you may find the peak/valley detection usefull. This function is not part of the base version. But it is part of the full or pro versions. You may also find the book "Bioelectromagnetism - Principles and Applications of Bioelectric and Biomagnetic Fields" interesting. You will find this book online here http://www.bem.fi/book/ 100% free and legal
01-12-2009 05:34 AM
rich_sills wrote:Try these links:
LabVIEW for ECG Signal Processing
Where Can I find the ECG VI for LabVIEW
Rich
NI | UK
The thing is, is that i don't want to use a 'package' to do the work for me. I want to be able to do the work myself! Also those links shows it as a kind of report style where i want to just have a little guideance (i dont want to cheat) on how to be able to deteck peaks and intervals. Thanks though.
Also thank you for the book and peak/valley tips, ill look at that later.
Any other help? Thanks,
Tom
01-12-2009 06:04 AM
Tomo8281 wrote
The thing is, is that i don't want to use a 'package' to do the work for me. I want to be able to do the work myself!
Good to see, because to often in this forum. I find postings from people not asking for help but rather a complete application. Something like this "I am a student, and my project is due in a few days, can someone please send me a complete application doing this...."
Anyway I took a look at the this link posted http://zone.ni.com/devzone/cda/tut/p/id/6626 by rich_sills. I think the ECG simulator may be usefull for you
good luck
01-12-2009 11:30 AM
Hey guys,
Messing around in labview with the bio VI (thanks a bunch). Got a little unrelated ECG question!
Im trying to make a 'switch' but for 2 signals and one output so i can manualy select (on the GUI) which signal goes into the graphs and change from one input to the other. I can't for the life of me remeber what its called so i am having no luck searching for it on the forums or in Labview!
Does anyone know how to make it in labview?
Signal 1 -------------------------------->| |
|SWITCH|------------->signal i want (1 or 2)
Signal 2 -------------------------------->| |
Thanks.
Tom
01-12-2009 12:04 PM - edited 01-12-2009 12:04 PM
Select function on the Comparison palette?
01-12-2009 12:30 PM
Right, im also trying to read and write the data i get from my ECG signal. For some reason, when i 'save' the file it is all 0s and when i try to 'read' it it gives an error saying Error 4 occurred at read from measurement file ->ecg.vi Labview: End of file encountered.
I just want to save the current data being read in and to display previous recordings on the graph. Where am i going wrong? Any hints? (vi attached)
Thanks a lot,
Tom