LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ecg

please help me to finish this project (ecg) see the attachment file. i try to view the graph of heart beat in heart rate history from DAQ that connect with some circuit but it never show up. why the value from the filter and the threshold sometime is 0, can you explain that?

can you help me, anyone?and maybe any suggest to make this project or any evaluations for this project too.

please help me please.....

tanx before... 

0 Kudos
Message 1 of 60
(6,112 Views)
I don't see how you can get any results at all. You are doing a single acquisition so the sample rate/sample freq/cut off frequencies do not have any meaning. You are only passing a single values to the filter even if you are making an array. The only way you can get multiple samples is with the run continuous button and that is not a normal way to run a VI. Even if you had a loop, with the DAQ function you are dependent on software timing which is going to be extremely variable. There should be a hardware timed analog acquisition from the das library that will return an array of values. Then you can use the hardware timed specifications for the filtering and have some data to plot.
Message 2 of 60
(6,099 Views)

 A quick look at your program tells my two things

1) You can not have invested more than a few programming hours in your project up to now.

2)  Your program has not, and will never give you any useful data

We have all sometime been a Labview greenhorn once. To be honest, today I am very glad some of my LV 3.1 can not be opened in newer version of Labview. I can not solve your project for you. This is your job. But I can give some advice. First of all take a deep dive into all examples concerning your project. This is a treasure chest just waiting for you to open it. Just remember to use the “save as” function so you do not destroy them. Check out the peak detection function and the appurtenant examples (By giving you this tip I have almost solved your project)

 

Message Edited by t06afre on 12-08-2008 03:43 AM


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 3 of 60
(6,069 Views)

can you give the ecg with peak detector project or sample?

tanx 

0 Kudos
Message 4 of 60
(6,027 Views)

The MCC AIn only takes one measurement at a time.  You will either need to do the AIn in a loop to collect several measurements, or better yet use the AInScBg or AInScFg to get an array of voltages at a known sample rate over a known period of time.  The easiest to start with is the AInScFg.

 

As you are trying to get this to work you should plot your data so you can see what the signal looks like.  There are several exaples in the NI Examples that came with LabVIEW for peak detection and filtering.

Message Edited by Matthew Kelton on 12-09-2008 12:07 AM
0 Kudos
Message 5 of 60
(6,023 Views)

do you ever make ecg project with MCC, maybe can you send the file?

tanx 

0 Kudos
Message 6 of 60
(6,019 Views)

No, I haven't.  You are not going to find anyone here who will do your project for you.  Focus on the components.  Collect the signal first, plot it and see that it makes sense.  Then use the filtering and peak detection.  Depending on your circuitry, you may not even need to filter in LabVIEW.  As I stated, there are several examples which ship with LabVIEW that cover filtering and peak detection.  Your big problem right now is that you are not sampling your signal correctly.

 

People here will help you, but you need to make the effort and do most of the work.

0 Kudos
Message 7 of 60
(6,017 Views)

Some years ago I worked on a project measuring blood pressure and extracting heart beat from this signal. The programming was straight forward. No pitfall as I remember. Use a least 1KHz as sample rate. The ECG signal has sharp leading and trailing edges. The heart rate itself do not change so rapidly so an update every second is OK. But you can ofcourse plot the heart beat as beat to beat intervals if you prefer 

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 8 of 60
(5,994 Views)

i just new person that use labview then i try to make some ecg for my homework, so i try to make it but it doesn't work well. maybe someone can help me to give some project that is try to analys the heart beat or ecg with threshold or peak detection. i wonder to know how must i do to make the ecg, how process to analys the heart beat, and maybe the flow diagram for ecg process.

Ever someone make this project and succesfull? coz i get confused for this project.

tanx so much... 

0 Kudos
Message 9 of 60
(5,956 Views)
As mentioned, you have a basic flaw in how you are acquiring the data. It does no good to try to analyze it until you have the basic acquisition. Either place your current Ain in a loop (i.e. a timed loop/while loop/for loop) so that you acquire multiple samples that are software timed or use the das function for acquirimg mulitple hardware timed samples.
0 Kudos
Message 10 of 60
(5,952 Views)