如何在Web应用程序中以图表形式显示实时数据(ECG/EKG)? [英] How to show Live Data (ECG/EKG)In The Form of Graph In Webapplication..?

查看:284
本文介绍了如何在Web应用程序中以图表形式显示实时数据(ECG/EKG)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我在客户端有一个ECG捕获设备,该设备在本地计算机上显示ECG .....?

我想在Web应用程序上显示该数据或实时ECG ......?
任何想法如何做到....?

在此先感谢

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

推荐答案

Tushar_Patil写道:
Tushar_Patil wrote:

我要设计ASP.NET将从该VC ++应用程序中获取数据的应用程序[固定大小写-SA]

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



好吧,您可能无法从那个"应用程序中获取数据,因为那个"应用程序可能不是设计成库,也不是.NET程序集.

首先,您需要将C ++应用程序转换为DLL并导出一些API.您有两种选择.

第一个选择是:仅使用原始类型创建API,然后使用P/Invoke将该API封装在.NET程序集中.参见 http://en.wikipedia.org/wiki/P/Invoke [ http://msdn.microsoft.com/en-us/library/x0w2664k. aspx [ ^ ].

其余部分取决于您要从网站获得的功能. (请在对问题的评论中看到我的问题.)

—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


这篇关于如何在Web应用程序中以图表形式显示实时数据(ECG/EKG)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆