Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» cnRs232 bug???
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: cnRs232 bug???
veket
普通灌水员
UID 67658
Digest Posts 0
Credits 51
Posts 21
点点分 51
Reading Access 10
Registered 2012-9-10
Status Offline
#1
Post at 2012-9-22 18:33
Profile
|
Blog
|
P.M.
cnRs232 bug???
环境:winxp sp3 + CB2007,使用了cnRS232控件,正确配置控件并打开串口后,在控件的OnReceiveData函数中可以正确收到串口数据。
但是将可执行程序拷贝到win7 x64系统上后,却收不到任何数据。程序都是静态连接的。于是在win7系统上安装cb2007,并在串口的OnReceiveData()事件中下断点,发现对端串口数据已经发出,但是控件的确没有收到任何的数据。用别的串口调试助手软件,用同样的串口配置,就可以正常收到对端串口的数据。因此,怀疑cnRS232控件是不是在Win7 x64下不能正常运行?
veket
普通灌水员
UID 67658
Digest Posts 0
Credits 51
Posts 21
点点分 51
Reading Access 10
Registered 2012-9-10
Status Offline
#2
Post at 2012-9-22 19:41
Profile
|
Blog
|
P.M.
估计的确是cnRS232控件的问题
因为换了另一个串口控件发送/接受就OK了,但是用这个cnRS232控件发送可以,但是就是收不到数据。串口配置应该是没问题的,握手信号啥的都是禁掉的,就是最普通的3线通信方式。奇怪的是为啥WinXP下就一切OK,但是Win7 x64下就不行。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2012-9-25 10:53
Profile
|
Blog
|
P.M.
cnvcl在64位下还没完整移植与测试,确实存在有问题的可能性。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 02:04
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007878 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats