是德科技
直播中

郑雅颖

8年用户 198经验值
私信 关注
[问答]

数据怎么从COM端口到另一个端口

大家好。我现在已经使用Vee pro 7.5用于som eyears并且已经完成了许多小程序,我从各种构造中读取了一些com端口,GPIB等数据。我曾经有过一些有趣的超时问题但能够立即完成工作
我得到了VEE 9.0并试图学习这个通信接口。我已经将TCPIP串行设备连接到PC内部comport。
用超级终端测试它。如果我从TCPIP通过VEE发送到超级期限的com 1,它可以工作并且反之亦然。所以我必须得出结论,配置是正确的。问题是当我想读取从中发送的数据时
com 1 to com 2 ..我得到了811超时。认为我已经尝试过了,并且不知道下一步该做什么。在VEE 9中我需要做些什么特别的事情与VEE 7.5相比吗?ThanksAnders B. Jensen

以上来自于谷歌翻译


     以下为原文

  Hi all.
I have used Vee pro 7.5 for som eyears now and have done many many small programs where i read data on some com port, GPIB etc. from various constructions.
Some funny timeout problems i have had but able to make work arrounds
Now i got VEE 9.0 and trying to learn this comm interface.
I have hooked up a TCPIP serial device to the PCs internal comport. Tested it with hyper terminal.
If i send from TCPIP via VEE to com 1 on hyper term, it works and visa versa.
So i must conclude the config of the comports are right.
The problem is when i want to read the data send from com 1 to com 2.. i got the 811 timeout.
Think i have tried everthing and dont know what to do next.

Is there something special i need to do in VEE 9 compaired to VEE 7.5 ?

Thanks
Anders B. Jensen  

回帖(1)

李麒

2019-3-15 08:21:45
假设您有2个物理COM端口,您可以将物理设备连接到两者,请确保您具有正确的接线,RX和TX线路已正确连接。-mk

以上来自于谷歌翻译


     以下为原文

  Assuming you have 2 physical COM port where you can connect physical device to both, make sure you have the proper wiring, RX and TX lines are correctly connected.

-mk
举报

更多回帖

发帖
×
20
完善资料,
赚取积分