Click here to Skip to main content
11,922,026 members (56,350 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# graphics
Dear All,

I'm working on a cardiology module and I need to simulate incoming signals from electrodes used to perform the ECG test. the idea is to just simulate and generate data coming from the electrodes and plot it in a graph in real time. is there a way to do that?
Posted 12-Apr-12 9:10am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Me, I'd hook up a recording scope to genuine probes and record actual info. Then feed that back into my software.
If you truly simulate it, then it may or may not be realistic.
Member 7772473 12-Apr-12 20:23pm
it's doesn't matter for now, the hardware part is for later, for now i just need something to generate data.
Bernhard Hiller 13-Apr-12 2:53am
The poor patients!
You might find some formula for generating "ideal" data, but how will you cope with the real world irregularities? Even with healthy people, the heart beat rate is not constant by the millisecond.
OriginalGriff 13-Apr-12 3:31am
Precisely why I'd record the real stuff!
Member 7772473 13-Apr-12 5:57am
For the time being i just need random data, the hardware is for later guys! the data is to just check that the graph will be generated successfully, then after that i'll do the hardware stuff. it's just temporary.
OriginalGriff 13-Apr-12 6:19am
If you just want random data, just use the Random class. I'd start with good data though - otherwise how do you know if your graph is working?
Member 7772473 13-Apr-12 6:44am
I know i could use that, but i need a random number generator that will generate realistic numbers related to the ECG test.
OriginalGriff 13-Apr-12 6:55am
There is no such thing. You would have to produce them - which mean you need to look at what "genuine" data would look like! :laugh:
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

can yoy help me?
how to input data to ECG in C#.NET ?
I want generate ECG signal in

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 568
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 173
3 Richard MacCutchan 155
4 ppolymorphe 135
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web03 | 2.8.151120.1 | Last Updated 4 Oct 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100