远程访问串口 [英] Accessing Serial Port Remotely

查看:167
本文介绍了远程访问串口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我写了一个应用程序,它可以从Pinpad(带有RS-232的设备,使用串行端口)发送和接收数据,并在完成对应用程序的测试后开始测试该应用程序.计算机,我将其上载到服务器计算机以进行另一项测试,但是当我从客户端计算机运行该应用程序时,它无法识别针垫,但是当我从计算机运行该应用程序时,它可以正常工作.我的问题是,有什么办法可以远程访问针垫?

谢谢

Hello Everyone,

I wrote an application which send and receive data from a pinpad(device with RS-232 which use serial port) and i start testing the application, when i finised testing the application on my computer, I upload it to the server machine to do another test but when I run the application from client computers it does not recognize the pin pad, but when I run the application from my computer it works properly. My question is that is there any way I can access the pin pad remotely?

Thanks

推荐答案

Liya Kebede写道:
Liya Kebede wrote:

我可以通过任何方式远程访问针垫吗?

is there any way I can access the pin pad remotely?



我不这么认为:我认为您需要实现tcp/ip网络层位于串行端口和网络之间,并从您的应用程序发送命令.

我们使用eftpos设备执行此操作-通过tcp/ip从集中式网关向它们发送指令,并在客户端上PC与com端口接口(通过eftpos公司提供的Activex控件)..(好,所以那里有一个Activex控件,但没什么大不了的)

那里提供预制工具包来执行此操作的公司-只需快速搜索即可找到:-

http://www.serial-port-communication.com/serial-over-tcpip/ [ http://www.fabulatech.com/network-serial-port-kit.html [ ^ ]

哦..想到一个想法,也许citrix可以做到,但这就是另一种范式

''g''



I dont think so : I think you need to implement a tcp/ip network layer to sit between the serial port and the network and send it commands from your application.

We do this with eftpos devices - they are sent instructions from a centralised gateway via tcp/ip, and the client on the pc interfaces to the com port (via an activex control supplied by the eftpos company) .. (ok, so there''s an activex control there, but it doesnt really matter that much)

There are commercial companies out there that offer pre-made toolkits to do this - just a quick search gives :-

http://www.serial-port-communication.com/serial-over-tcpip/[^]


http://www.fabulatech.com/network-serial-port-kit.html[^]

oh .. a thought comes to mind, maybe citrix can do it, but thats a different paradigm

''g''


这篇关于远程访问串口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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