串口问题 [英] Serial Port Problems

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

问题描述

你好

我有一个VB2005应用程序,该应用程序通过COM端口与另一个应用程序(第三方,不是vb 2005)发送和接收数据.当我在不同的计算机上运行这些应用程序时,它们运行良好,它们将所有数据相互发送,一切都很好.当我同时使用虚拟零调制解调器端口或通过零调制解调器电缆将2个硬件端口连接在一起的同一台计算机上运行它们时,它们将停止通信.他们将进行初始通信,但随后不响应任何命令.当我运行串行端口监视器时,所有数据似乎都按预期方式通过,但应用程序没有响应.通常,我会认为其中一个应用程序存在问题,但是当它们在单独的计算机上运行时,它们可以完美运行.他们正在运行的系统是win 2000,而vb 2005应用程序正在xp sp2 comp上编写,这会产生差异.任何帮助,我们将不胜感激.

I have a VB2005 application that sends and recieves data with another application (3rd party, not vb 2005) via COM port. When I run the apps on different computers they work great, they send all data to eachother and everything is fine. When I run them both on the same computer with either virtual null modem ports or with 2 hardware ports connected together via null modem cable they stop communicating. They will do their initial communication but then not respond to any commands. When I run a serial port monitor all of the data appears to be going through like its supposed to but the apps do not respond to it. Normally I would think there is a problem with one of the apps but when they are on seperate machines they run flawless. The system they are running on is win 2000 and the vb 2005 app is being written on an xp sp2 comp if that makes a diff. Any help is greatly appreciated.

谢谢

推荐答案

有人对尝试什么没有任何想法吗?感谢您的任何帮助
Doesnt anyone have any ideas on what to try? Any help is appreciated


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

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