从Comm事件上的MSComm读取确切的数据包 [英] Read the exact packet from MSComm On Comm Event
本文介绍了从Comm事件上的MSComm读取确切的数据包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在开发VB应用程序,它从MSCOMM读取确切的数据包.
数据包是:
Hi All,
I am developing on VB Application it reads the exact packet from the MSCOMM.
The Packet is :
"#SP101PACE_TEST1231111142600073123012109712345678240101080987654302400219876543048111113579246155246813570003."
该数据包的长度为110.我应该如何找到要解析的数据包?我不必错过任何一个小包.
请帮我.谢谢.
And length of that packet is 110 . How should i find my packet for parsing? I need not to miss any single packet.
Please help me. Thanks.
推荐答案
MSComm只是在某些数据到达时显示一个事件-不再有帮助.
我知道SuperCom串行ActiveX提供了一个数据包收集器,该收集器可以在后台收集完整的数据包,并通过报告事件来呈现它们.缺点是它不是免费的.
MSComm just presents an event when some data arrived - no more help then.
I know of the SuperCom Serial ActiveX offering a data packet collector that collects complete data packets in background and presents them by reporting an event. Drawback, its not free.
这篇关于从Comm事件上的MSComm读取确切的数据包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文