LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

retrieval ecg signal

Solved!
Go to solution

hello everyone,

 Actually, I have sent the signal of DMM that's a dynamic data from the client to the server and, that was good , the signal  is received by server as it is sent from the client but now I need to send the ecg signal from client ecg.vi to server ecg.vi that are attached below but it is received badly and I attempt to solve this problem but I have failed so if anybody can help with this and thank you very much.

 

 

Note:I  just changed in ecg client .vi , the DMM signal by the simulate ecg only and anything in the server.

0 Kudos
Message 1 of 10
(3,935 Views)
Look at your small Express VI in the Client VI that converts the dynamic data type to an array.  It is set to convert to an array of scalars (most recent value) which means only 1 element gets sent.  You want Convert to a 1-D array of scalars - automatic or single channel.
Message Edited by Ravens Fan on 04-26-2010 12:13 AM
Message 2 of 10
(3,921 Views)

Hi khaled,

  For programming ,you can browse the examples data server.vi and data client.vi....There in examples....server willl be transmitting data and client will connect to the server and get the data..In think in your program also you need to interchange the client and server functions...where server will be transmitting the ecg data and client will be collecting the data....

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 3 of 10
(3,918 Views)

Hello,thanks for your reply. Actually, I tried all choices  mentioned with the small Express VI in the Client VI that converts the dynamic data type to an array but it doesn't work so I have to think another way but I don't know how?

And for the data client and server VIs my program is almost the same . (I have tried them but this give me the same result ).

 so if you can help me and thanks again.

Message Edited by khaled377 on 04-26-2010 03:11 AM
0 Kudos
Message 4 of 10
(3,902 Views)
Solution
Accepted by topic author khaled377

Other things you need to do.

 

1.  Use the same port number in both programs.  Right now they are different.

2.  Take out the wait function in the server.

3.  Autoscale the X axes on the charts in both programs.  The server chart has a different range, and the fact is is zoomed in more makes it look like a different signal.

Message 5 of 10
(3,871 Views)

Hi Revens,

 

 

 

I tried what you told me to do but it doesn't work. what I am thinking about is the way to convert the ecg signal before sending it and retrieved it in the server side .

  thank you.

0 Kudos
Message 6 of 10
(3,860 Views)

How is it not working?  Give us some details.

 

I was able to do all the steps I told you and everything seemed to work just fine for me.  What conversion of the ecg signal are you talking about besides the conversion from the blue dynamic wire to the array?

 

 

Post your latest VI's that have incorporated all the changes you've made since the last time so we can see what else might be missed.

Message Edited by Ravens Fan on 04-26-2010 01:11 PM
0 Kudos
Message 7 of 10
(3,853 Views)

Hi everyone , finally the problem is solved .

I want to thank everyone who has helped me solve my problems and specially Revens because of his idea that was the solution  . And I apologize for my previous reply because I didn't understand good the solution.

 

Best Regards.

 

 

 

Message Edited by khaled377 on 04-26-2010 07:30 PM
0 Kudos
Message 8 of 10
(3,844 Views)

Hei

how can i make an ECG signnal and send that signanal to run a moter depend on that . 

Can anyone help me and solve this...
james

0 Kudos
Message 9 of 10
(3,528 Views)

Well you start with a heart. Then you make an ECG amplifier. Connect the ECG amplifier to some data logging equipment. Write some code in Labview. And then you are at the end of line. Since you are from Norway I selected the simple explanation. But perhaps you can fill in with some more info. What are you trying to make. Is some sort of school project. Because ECG equipment may be Potential hazardous. But if you are under guidance of some trained person. It will be more safe. By the way is not school in Stavanger for people who want to work with med-tech equipment 

And please do NOT hijack others threads. Start You own(just do it). This thread is not very related to your problem. Besides it is sloved



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