检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《军事交通学院学报》2014年第11期81-85,共5页Journal of Military Transportation University
摘 要:CSerialPort类是一个常见且优秀的对串口进行读写操作的C++类。利用该类可以很方便地开发串口读写应用程序,而无需直接调用复杂的Windows API函数。在具体应用时,CSerialPort类存在不能进行二进制数据写入、多串口操作不能正常关闭以及利用USB转RS232时数据不能写入的漏洞,对漏洞进行详细分析,提出修正办法。CSerialPort class is a common and outstanding C + + communication class for com-port communication. The use of this class makes developing application programs for corn-port communication much easier, without complex Windows A- PIs. However, there are still bugs, like binary data cannot be written into corn-port, multiple corn -ports cannot be closed normally and data cannot be written to corn -port via USB-RS232 method in particular applications. The paper makes de- tailed analysis on these bugs and puts forward fixing methods.
关 键 词:串口读写 CSERIALPORT类 WINDOWS API
分 类 号:TP302.2[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.170