如何从PC的超级终端中检索数据 [英] How to retrieve data from PC's Hyperterminal

查看:31
本文介绍了如何从PC的超级终端中检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们将构建一个工具,通过它我们可以从外部硬件设备向 PC 发送一些信息,即.微控制器.信息将显示在PC的超级终端"上.我们可以将微控制器连接到PC,输出可能会显示在PC的超级终端上.我们的要求是,我们需要从超级终端"中提取数据在网站上展示这个.那么,有什么方法可以让我们从超级终端中获取数据并将其放到网站上.我的猜测是,我们必须进行一些编码,通过这些编码,我们可以从超级终端"停止应用程序中收集数据,并将其放在 Web 应用程序上.我们不清楚在这种情况下选择哪种编程语言最好.我们是PHP、Flex和C的开发者,但是我们有一个两难的问题,那就是需要用.net/java来创建一个destop应用程序,还是有一个超级终端的API接口可以使用.

We will be building a facility by which we can send some information to the PC from external Hardware device ie. Microcontroller .The information will be displayed on the "Hyper Terminal" of the PC .We can interface a microcontroller to the PC and the output could be possibly displayed on the PC's Hyperterminal .Our requirement is , we need to extract the data from "Hyperterminal" show this on a website. So, is there any way by which we can we can get the data from the Hyperterminal and put it to the website. My guess is , we have to do some coding through which we can collect data from "Hyperterminal" destop application and need to put it on web application . We are unclear about the programming language selection that would preferably suite and serve the best in this situation . We are developers in PHP , Flex and C but we are in dilemma , that is it required to create a destop application using .net / java , or there is a API interface of the hyperterminal which can be used .

如果您建议可以使用哪些编程技术来实现上述目标,我将不胜感激,这将对我们有很大帮助.我请求您对我们需要考虑的方法和技术有所了解.

I will be very grateful and it will be a great help to us , if you suggest which programming techniques that can be used to achieve the aforesaid objective . I request you to put some light on the methodologies , technologies involved that we need to take into consideration .

推荐答案

连接到微控制器(通过 RS232 或您如何操作)并创建可用于超级终端连接的套接字的中间代理"应用程序怎么样.该应用程序必须充当一个简单的桥梁,并将数据从 MC 连接传输到套接字,反之亦然.此应用程序还可以收集所有必要的数据并将其写入数据库.Web 应用程序从 DB 读取数据.

What about intermediate "proxy" application, that connects to microcontroller (via RS232 or how you do it) and creates socket that may be used for hyperterminal connection. This application must act as a simple bridge and transmit data from MC connection to socket and vice versa. Also this application can collect all necessary data and write it to database. Web application reads data from DB.

这篇关于如何从PC的超级终端中检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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