本文介绍了串行通信读写过程同时发生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 如何在VC ++ MFC中同时从串口写入和读取数据?如果可以,我可以使用多线程吗?请帮帮我。我在等你的回复。请来...... 首先感谢你的回复,实际上是把我的电脑连接到串口通过串行电缆和串行电缆的另一端连接FPGA板(硬件),然后我发送数据到串口,作为回应板我得到数据。但这个发送和接收操作应该同时发生。How can I write and read data from serial port simultaneously in VC++ MFC? Can I use multi threading if I can then how? please help me.I am waiting for your reply.please please......At first thanks for your reply, actually I connect my PC to Serial Port through serial cable and other end of Serial cable connected with FPGA Board(Hardware) then I send data to the serial port and in response from board I get data back.But this sending and receiving operation should be happens simultaneously.推荐答案 这篇关于串行通信读写过程同时发生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-27 06:13