LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ecg

i've been send message 2 days ago but it's not been send yet.please see my attachment that i try to use loop.tell it's correct or incorrect?

tanx for all your help.

tanx 

0 Kudos
Message 21 of 60
(2,491 Views)
No. Why don't you use the function that Matthew mentions. You don't need a loop with that. If you want to use a loop, use the for loop like my example with some timing function in it. Your loop does not return an array with multiple points. It returns an array with a single point in it. No different than what you are doing now. You need to study some LabVIEW basics to understand how arrays are created.
0 Kudos
Message 22 of 60
(2,486 Views)

In my posting yesterday I posted two VIs. They should together form an ECG simulator. As I have mentioned before so was I a little bit busy that day so the naming was some misleading and confusing. For those of you who did not figured it out. The project_filter.vi is the main VI. It is a modified version of this Project ECG Filter.vi  posted by marp84. It is not anything wrong with these VIs. Sorry for the confusion Dennis.

@DenninsIt is correct I do not know much about the United States degree programs in Engineering. But at my school the students was never given assignments without the necessary backup in form of equipment and knowledge. An assignment always used previous course taken as an important base plate.

I am also posting one of the oldest daq examples in Labview. I always used this example if the students had problems understanding NI basic daq. After all this example was my first experience with NI and daq functions Smiley Very Happy  Please remember this example requires traditional NI-DAQ (Legacy) data acquisition driver software.

   
Message Edited by t06afre on 12-14-2008 06:24 AM


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

ok. i'll try it and i try to ude AINSCFG or AINSCBG.

tanx 

0 Kudos
Message 24 of 60
(2,417 Views)

1.i try to make the ecg with AINSCFG without loop please see this correct or not?

2.do i use looping for this?

3.what i must to do after make the acquisition?

4.my device is AD521, can i make the ecg from this circuits?

tanx before 

Download All
0 Kudos
Message 25 of 60
(2,384 Views)

You don't need a lopp unless you want to continuous aquire the ecg signal.  What you have setup will acquire the signal for some time and then you do your analysis on it.  I wouldn't worry about looping on this until you have evrything else working.

 

I would plot your data and confirm that you are correctly acquiring your signal.  But from your last question, it doesn't seem you have a signal to acquire.  You need to focus on this next and get the signal working.  You can't tell if any of your analysis is correct if you have no siganl to analyze.

0 Kudos
Message 26 of 60
(2,378 Views)

if my labview can't acquire the signal please tell me how to acquire the signal?

tanx 

0 Kudos
Message 27 of 60
(2,357 Views)
From what I can tell at this point, your code should acquire the signal.  You will know once you hook your signal up to the MCC hardware and plot your acquired signal.
0 Kudos
Message 28 of 60
(2,347 Views)
Are you familiar with the physiological phenomenon you are going to measure? Measuring ecg is a continuous phenomenon. But your program only measures 1 second. This may not be long enough to get any heart rate at all. Have you looked at the simulator i gave you? This should give you a good idea about ecg as a phenomenon. It works the same way as a hospital bedside monitor. And did you look at Cont Acq&Graph (buffered).vi I send you.  This vi do just the type of measuring you should use. Did you have any trouble with it? You ask for help for help, but somehow it seems like you insist in doing things your own way. And then you receive help, you are unable to soak up and digest the information we are handing over. Why are you acting like this? 

 



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

Well, he obviously can't try the traditional DAQ example you posted since he does not have an NI card. That's the crux of the problem.

 

Marp84,

 

Just create a VI with the data acquisition functions. Wire a graph to the output of the To Eng function. You can do some debug by clicking the Run Continuous button. You also included an image of the AD521. How is that wired? Have you tried something as basic as checking the input to the DAQ board with a scope to see if you even have a singal to acquire?

0 Kudos
Message 30 of 60
(2,309 Views)