Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,
I have One ECG Capturing Device On Client side Which IS Showing ECG on Local Machine.....?

I want To Show That Data or Live ECG on Web-application ......?
Any Idea how To Do it....?

Thanks In Advance
Posted
Updated 21-Nov-11 0:36am
v4
Comments
Reiss 21-Nov-11 4:29am    
Given that you have got the code that retrieves the data captured by the ECG, then surely your question is how can I write a web application - all you are doing is putting a different UI on a business tier.
_Tushar Patil 21-Nov-11 4:35am    
Currently VC++ Application IS Showing ECG Graph on Desktop Machine...
i want To design Asp.net Application That Will Take Data from that VC++ application.
So that any One Can See It Live On Website...?
Sergey Alexandrovich Kryukov 21-Nov-11 13:54pm    
What should be the output on a Web page? It it heavy graphics? Bitmap or vector?
--SA
_Tushar Patil 23-Nov-11 0:07am    
it will be Vector
[no name] 1-Jun-13 6:58am    
Hi tushar i need some help about showing ECG graph on asp.net page...

1 solution

Tushar_Patil wrote:
I want to design ASP.NET application that will take data from that VC++ application [capitalization fixed — SA]


Well, you cannot probably take data from "that" application, because "that" application is probably not designed to be a library, and it is not a .NET assembly.

First, you need to transform your C++ application to a DLL and export some API. You have two options.

First option is: creating the API only using primitive types, wrapping this API in a .NET assembly using P/Invoke. See http://en.wikipedia.org/wiki/P/Invoke[^].

Second option: you can re-write your legacy C++ application into C++/CLI class library. You can 1) rewrite all the code from C++ to C++/CLI, 2) you can create a mixed mode assembly (managed+unmanaged) and add some manages code "ref" classes and/or structures to your unmanaged code. On top of this DLL, you should have managed API which you can use by your ASP.NET project. You should reference this mixed-mode or pure-managed assembly as any other .NET assembly. For more detail, see: http://msdn.microsoft.com/en-us/library/x0w2664k.aspx[^].

The rest of it depends on the functionality you want get get from your Web site. (Please see my questions in my comment to the question.)

—SA
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900