12-11-2008 06:11 AM - edited 12-11-2008 06:13 AM

12-11-2008 07:47 PM
thanks for all that. i know i've finished my homework by my self i've try so hard to finish my project but it's stiil not work but i don't just giveup like that. my teacher says that frequency of the heart is 60 hz and the sample rate is multiple of the frequency of heart that is 2,3,5,7,9 . i try to make it but when i simulate with labview when it's pass bandstop filter and thershold detector is 0. why it happen ?
what i must use to analys the heart beat, peak detector or thershold detector. and the filter is bandstop filter or other filter?
in this forum i've been suggest from the other user to use some of them but i confuse what is really need to make this project work well?
tanx for all help bro. i'll do my best.
tanx
12-11-2008 08:57 PM
12-12-2008 01:23 PM
tanx for all that.
it's my design is correct or not through this website
http://www.ese.upenn.edu/rca/software/Labview/Cardiacvi/cardiacvi.html
how make connections with array max min use set limit?
tanx
12-12-2008 01:32 PM - edited 12-12-2008 01:33 PM
You are not listening to the people trying to help you. We told you several days ago that the way you are trying to acquire data will not work and told you to forget about everything else until you can acquire the signal. You have yet to do this and show us that you have done it. I even gave you the exact name of the MCC VIs which will allow you to acquire the signal.
The website you pointed us to doesn't look like your design, it looks like someone else's. Again, you are not even attempting to try to understand what you need to do. I have seen over several months, your posts center on theis project and always ask for someone to do it for you. You will not find someone here who will write your code and do your homework for you. We will help you. We have tried to help you. You don't want to do the work necessary. We are trying to guide you through the proper process to attack the problem. Get your signal first. Post here when you are correctly collecting data from your circuit, then tell us why you are having problems analyzing the signal with real data included. People here will be more than happy to help you if you are willing to put in some effort.
I am sure that the basics of what is on that page are correct since it is an assignment. But none of it matters because you have to signal to use.
12-13-2008 10:05 AM

12-13-2008 11:51 AM
t06afre,
Lets keep the insults out of the postings, please. I think you have crossed the line with that comment of yours.
Your ecg VI does not work. On top of that, it's password protected so no one can see what is wrong or fix it. Nor is it helpful to the op since he is NOT trying to simulate. He is trying to acquire with a DAQ board. If you have experience with this DAQ board, maybe you could post an example of that. Your comment about a 60 hz heartbeat equalling 300 beats per minute is very confusing. I'm certain the 60 hz is referring to the number of beats per minute so I don't know why you multiplied that by 5.
marp84,
I don't have the hardware you are using or the driver but start with something simple like the code below. It shows '?' because I do not have the driver and so I cannot do some of the wiring. Wire from the ouptu of ToEng to the graph outside the loop. This is a pretty crude way of taking multiple samples and the 1msec sample rate is not going to be very accurate but it will be much better than you have now. The best thing to do is use the correct function in the DAQ driver.
12-13-2008 01:50 PM
Dear Dennis I do not know your occupation. But I worked for many years at a school of engineering in Sweden. During that time I cared a lot for my students. If a student had some problems I did not hesitate using my spare time to help that student, if he/she was willing to work and learn. But a student coasting did not get much help from me. So let us say marp84 was one of my students and came to me with the problem, I can not get anything useful from my daqcard. I or someone working on the lab would have helped and advised him/she no problem at all. But I would not have served the lab assignment complete on a silver-plate. Maybe I am wrong but marp84 have all the signs of a person hoping to coasting through school of engineering. The only thing he so far has asked for is only "help can someone do my homework for me" and that makes me angry. I have no sympathy for such attitude. But I shall stop the insults I have said everything I need. And I also think the last post by Matthew K was very descriptive. I am also sorry that the ecg.vi does not work. I downloaded it from this forum and it worked well. But I am running labview 8.6. But it was saved as an 8.0 VI. It is not the first time someone have experienced problem with a VI I have saved for previous version. Which version of LV do you use Dennis? The VI was quite simple so I can make it LV 7.0 if you want. The reason I posted with password was so marp84 should get a glimpse of the solution. And hopefully get some useful hints to the finishing line. Without me actually doing his work for him. The example he posted first actually had some good thoughts. That was the reason for posting the ecg recording so he could debug this section. I am NOT the bully you think I am Dennis. But again as I had hoped, marp84 has not even posted some question regarding this. For example I was wrong of the recording length. I said it was 5 seconds it is 25 😉 Sorry for the error in my calculations. But I was watching my 3 year old nephew. He and my kids were arguing over some Lego parts so I had to act. If the hearts pump at 60 Hz so is that equal to 60*60=3600 BPM. So the 6 in 3600 was gone.
@marp84 You are a student, and as a student you are self responsible for your own learning. But as a student you have also some rights. The topic of this assignment is not to debug daq card drivers or settings. So if you really think something is wrong with the daq card, ask your teacher or someone working on the lab for help. Give them a list describing what you have done so far and the error messages you have received. That is not the same as saying "help can someone do my homework for me"

12-13-2008 02:01 PM - edited 12-13-2008 02:01 PM
Since I do have the MCC VIs, here is the VI you should be using to collect your data signal. The same one I mentioned several days ago. Integrate it into your original VI, plot the output array to see your signal.
12-13-2008 05:29 PM
The last thing I need is your VI. It has nothing to do with the LabVIEW version. It generates the error below.
I don't get the impression at all that marp84 is 'coasting'. Because he has a measurement computing DAQ board, he/she has not gotten much help in how to acquire a signal.I just think he/she is just generally confused about the principals behind LabVIEW and data acquisition.
I don't know about your school of engineering, but here in the United States, there are separate degree programs for Biomedical Engineering. The local one is part of the chemical engineering department and the students don't necessarily get much exposure to programming, etc.