目 录
1 引言.............................................................................................................................................................. ...1
1.1 问题的提出...........................................................................................................................................1
1.2 国内外研究的现状...............................................................................................................................1
1.5 任务与分析...........................................................................................................................................2
1.5.1 主要任务............................................................................................................................................2
1.5.2 分析....................................................................................................................................................2
2 程序的主要功能.............................................................................................................................................2
2.1 参数设置功能.......................................................................................................................................2
2.2 参数显示功能.......................................................................................................................................2
2.3 打开串口功能.......................................................................................................................................2
2.4 关闭串口功能.......................................................................................................................................3
2.5 接收数据功能.......................................................................................................................................3
2.6 发送数据功能.......................................................................................................................................3
2.7 清空数据接收区和数据发送区功能....................................................................................................3
2.8 任何数据、汉字或字符等显示功能....................................................................................................3
3 程序运行平台.................................................................................................................................................3
4 总体设计...................................................................................................................................................... ...6
5 程序类的说明.................................................................................................................................................6
6 模块分析...................................................................................................................................................... ...7
6.1 系统初始化模块...................................................................................................................................7
6.2 参数设置和显示模块...........................................................................................................................8
6.3 发送数据模块.......................................................................................................................................9
6.4 清空数据接收区和数据发送区模块....................................................................................................9
6.5 关闭主窗口模块...................................................................................................................................9
7 系统测试.......................................................................................................................................................10
7.1 测试.....................................................................................................................................................10
7.2 总结.....................................................................................................................................................14
8 结论...............................................................................................................................................................14
参考文献..........................................................................................................................................................15