Web应用程序中的串口通信 [英] Serial Port Communication in Web Application
问题描述
大家好,
我正在开发一个网络应用程序,我必须与其中一台称重秤(数字机)机器进行通信,它给出了回复inn ASCII字符。
如何在Web应用程序中使用它。是服务器和本地机器不在同一个地方,如果它是!!!我没有问题它的工作正常但需要帮助,如果服务器和本地机器在不同的地方。
我可以在桌面应用程序中执行,因为我的服务器和本地计算机是相同的。但是当我的服务器和本地机器不同时无法做到,因为称重机与本地机器连接而且我的应用程序托管在服务器和服务器以及本地机器中不在同一个地方。
如果对问题有任何疑问,请发表评论。
提前致谢
Hello everyone,
I am developing a web application in that I have to communicate with one of the weigh scale ( digital machine)machine , Its give a response inn ASCII Character.
How it is possible in web application. were Server and local machine are not at a Same place, if it is !!!than I have no problem its working fine but need help for if server and local machine are at different place.
I am able to do in desktop application because my server and local machine are same. But not able to do while my Server and local machine are different,
because a weigh machine is attached with a local machine and my application hosted in server and server and local machine are not at a same place.
lets comment if any query regarding question.
Thanks in advance
推荐答案
除非您将体重秤实际连接到Web服务器计算机,否则您的本地计算机必须将收集的数据上传到Web服务器(例如数据库)。
Unless you physically connect the weight scale to the Web Server machine, your 'local machine' must upload collected data to the Web Server one (say on a database).
这篇关于Web应用程序中的串口通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!