完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好伙伴Vee-ers;我有一个Vee程序,通过115K的串口发送和接收字节。
我的桌面有一个真正的COM端口,它可以很好地工作。 但是我尝试过的每个u***到com端口适配器(我需要在笔记本电脑上运行)会在一些随机间隔给我一个BSOD(蓝屏死机)。 我尝试了3种不同品牌的Uarts /适配器,我确信我使用的是最新的驱动程序,但我仍然无法让它变得可靠。 如果我使用u***适配器,它也可以在我的桌面上执行此操作(但不是在使用真正的COM端口时)。另一个问题当然是速度。 当程序运行时使用u***-serial适配器非常慢。 由于USB比串行速度快得多,我不希望出现瓶颈,但确实如此。这是我的问题:这里有谁知道USB-Serial适配器最可靠的品牌是什么? 有最好的驱动程序等?我正在使用WIndows XP Pro和Vee 9.0I尝试过Silicon Labs(CP2103)和Keyspan适配器。 我也尝试了第三个,但没有它,不记得它是什么品牌。任何帮助将不胜感激。 以上来自于谷歌翻译 以下为原文 Hello fellow Vee-ers; I have a Vee program that sends and receives bytes over a serial port at 115K. I have it working great with my desktop that has a real com port. But every u*** to com port adapter I have tried (I need this to run on a laptop) gives me a BSOD (blue screen of death) at some random interval. I have tried 3 different brands of Uarts/adapters and I made sure I was using the latest drivers, but I still cant get it reliable. It also does this on my desktop if I use the u*** adapter (but not when using a real com port). The other issue is of course the speed. When the program is running is it very slow using the u***-serial adapter. Since USB is much faster than serial, I wouldnt expect a bottleneck, but it sure does. Here is my question: Does anyone here know what brand USB-Serial adapter is the most reliable? Has the best drivers etc? I am using WIndows XP Pro and Vee 9.0 I have tried a Silicon Labs (CP2103) and a Keyspan adapter. I also tried a third one but don't have it around and don't remember what brand it was. Any help would be appreciated. |
|
相关推荐
4个回答
|
|
115000。
哇,从没用过那么高的东西。 我不是专家,但您似乎没有得到任何其他响应。任何USB串行驱动程序都是一个仿真过程,因此无论如何都会有速度损失。 是否可以降低设备的波特率? 以上来自于谷歌翻译 以下为原文 115k. wow, never used anything that high. I'm no expert, but you don't seem to be getting any other responses. Any USB-serial driver is an emulation process, so there will be speed loss regardless. Is it possible to tone down the baud rate on the device? |
|
|
|
你试过FTDI的适配器吗?
它们工作非常可靠,并提供“虚拟COM端口”和“DLL”访问方法。 由于您的高速,DLL方法可能会更好地工作。您的零售适配器可能是基于FTDI的。 FTDI驱动程序还允许您在设备管理器中的com端口预测下调整设备本身的延迟,默认值为16ms,这可能会导致问题。您使用的串行电缆有多长? 你是如何通过VEE连接到COM端口的? 我们使用通过虚拟COM端口进行通信的商业activex控件,该控件运行良好。 当你得到一个蓝屏时,它会出现什么模块,你应该看到列出的某种DLL,也可以在事件查看器中找到有关故障发生位置的任何线索。 以上来自于谷歌翻译 以下为原文 Have you tried FTDI's adapters? they work very reliably and offer both a "Virtual Com Port" and "DLL" method of access. The DLL method may work better due to your high speed. your retail adapters may be FTDI based. FTDI drivers also allow you to adjust the latency of the device itself under the com port propteries in device manager the default is 16ms which may be causing problems. How long is the serial cable you are using? How are you interfacing to the COM port through VEE? We use a commercial activex control communicating through the virtual com port which works quite well. When you get a blue screen, what module is it occuring in, you should see some kind of DLL listed, also look in the event viewer to any clues as to where the fault is occuring. |
|
|
|
感谢回复。我使用115K卡住了,因为我接口的测试夹具是旧版本,我无法更改其中的固件。我目前只使用内置的Vee Direct IO功能发送
我在下一次获得BSOD时,我会更好地了解哪个模块出现故障。我只是在串口上使用1米电缆,所以我希望这不是问题。 我将看看FTDI。 我认为最好的方法是转向DLL方法。 “虚拟”com端口的东西有点依赖于他们对驱动程序的执行情况。再次,感谢输入。 如果我取得任何进展,我会再次参加。斯科特 以上来自于谷歌翻译 以下为原文 Thanks for the replies. I am stuck using the 115K because the test fixture I am interfacing with is an old legacy one and I have no way of changing the firmware in it. I am currently just using the built in Vee Direct IO functions to send and receive bytes on the the com port. The next time I get the BSOD, Ill take a better note of what module is failing. I am only using a 1 meter cable on the serial side, so I hope that is not an issue. I will take a look at the FTDI. I think the best way would be to move to the DLL method. The "virtual" com port stuff is a bit to reliant on how well they did the drivers. Again, thanks for the input. I'll pst again when if I make any progress. Scott |
|
|
|
尝试在System下使用.NEt SerialPort对象。
这解决了我在USAB上使用VEE串口的一个奇怪的悬挂问题。 以上来自于谷歌翻译 以下为原文 Try using the .NEt SerialPort object under System. That solved a strange hanging problem i had using the VEE serialport over USAB. |
|
|
|
只有小组成员才能发言,加入小组>>
1296 浏览 0 评论
2378 浏览 1 评论
2199 浏览 1 评论
2068 浏览 5 评论
2955 浏览 3 评论
1137浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
759浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
946浏览 0评论
1297浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 03:53 , Processed in 1.153732 second(s), Total 51, Slave 45 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号