基于串口的文件傳輸系統(tǒng)的設(shè)計(jì)通信.doc
約74頁DOC格式手機(jī)打開展開
基于串口的文件傳輸系統(tǒng)的設(shè)計(jì)通信,????±ê×?word??ê???°? 74ò3?aòa±?′?±?òμéè??ê??úwindows?μí3??à?ó?vc++?a·¢1¤????DD?a·¢£??÷òa?úèYê??ùóú′??úμ????t′?ê??μí3μ?éè???£?úéè??1y3ì?D£?×?á?ò???????·???μ?1¤×÷...


內(nèi)容介紹
此文檔由會(huì)員 莎士比亞 發(fā)布
????±ê×?WORD??ê???°? 74ò3
?aòa
±?′?±?òμéè??ê??úWindows?μí3??à?ó?VC++?a·¢1¤????DD?a·¢£??÷òa?úèYê??ùóú′??úμ????t′?ê??μí3μ?éè???£?úéè??1y3ì?D£?×?á?ò???????·???μ?1¤×÷£?ê×?è£???óú′??úí¨D?μ?ó|ó??°?°?¢êμ?êòaò???DD?òμ¥μ???ਣ???′?£???±?′?éè??òaó?μ?μ?Win32 APIoˉêyoíMSComm???t??DD?ééü£?êì?¤?÷??oˉêyμ?1|?ü?¢òaò?£??ù′?£???éè??·?°?o?àíD?oí1¤3ìó|ó????μ??DD?ê??μ?2?ê?£???ó?μ?μ???ê???DD?ééü£???′??úí¨D?μ?ì?μ?£??úì??¨áìóòμ?ó|ó?oí?a·¢???é??DD?èê?£?×?oó£???3?±?′?±?òμéè??μ?3ìDò′ú??£?1??á??2????£
′??úí¨D??ú?÷??DDòμ?D??óD1?·oμ?ó|ó??£í¨1y±?′?±?òμéè????VC++?a·¢?·?3?áóD?üêìá·μ?????£???óúêì?¤?a·¢′??úí¨D?μ??ù±??-àí£???′??ú?úí¨D?2ú?·?Dμ?ó|ó??áóD?ü?óé??ìμ?è?ê?£?2¢?ù?Yêμ?êó|ó?Dè?ó??DDêêμ±μ?à??1?£
1??ü×?£oWin32 API,???t′?ê?£?′??úí¨D?£?MSComm???t£?VC++
Abstract
This graduation design is developed with VC++ in Windows system, the main content is file transfer system based on Serial port. In the design process, we made the following aspects: First, to present the prospects for Serial port communications applications, a summation of the engineering significance; Secondly, to present the Win32 API function and MSComm controls; Again, to present the practical and the worth of scheme, and Serial port communications features in the application and development skills in specific areas to be describe; Finally, to give the code of current design for the reader reference.
Serial port communication have broad applications in various fields .We can understand the basic principles of Serial port communication in engineering applications and communications products ,and master the development tools VC++ through this design.
Keywords: Win32 API,File Transfer, Serial port communications, MSComm, VC++
????
?aòa 1
μúò??? D÷?? 4
1.1±?′?±?òμéè??μ???ìa±3?°oíó|ó??°?° 4
1.2 Windows??ì¨??2ù×÷?μí3??′??úμ?1üàí 8
1.2.1 VC++?D???à??3ìμ??§3? 8
1.2.2?à??3ì?ú′??úí¨D??Dμ?ó|ó? 9
1.2.3 ′??úí¨D?μ???μtI/O·?ê? 10
1.3?ùóú′??úμ????t′?ê??μí3éè??μ??÷òa?úèY 10
1.4 ????£¨éè??£?μ???ì??á11 10
μú?t?? ′??úí¨D?3ìDò?a·¢?ù′??aê? 11
2.1 ′??úí¨D???ê? 11
2.2 ′?DDí¨D??ù′??aê? 12
2.2.1 ′?DDí¨D?μ?ó?μ? 12
2.2.2 ′?DDí¨D?1¤×÷·?ê? 13
2.2.3 ′?DDí¨D??ì′íó??à′í 14
2.2.4 ′?DDí¨D?μ??ù?êó?′?ê??àà? 14
2.2.5 ′?DDí¨D?D-òé 15
2.2.6 ′??úí¨D?1¤×÷?-àí 16
2.3 ±???D??á 18
μúèy?? ′??ú?úí¨D?2ú?·?Dμ?ó|ó??°?a·¢′??ú3ìDòμ?·?·¨ 19
3.1 ′??ú?ú?÷??í¨D?2ú?·?Dμ?1|?ü 19
3.1.1 ′??ú?úμ¥???ú?Dμ?ó|ó? 19
3.1.2 é????úó?PLCà?ó?′??úí¨D? 21
3.1.3 ′??ú?úMODEM?Dμ?ó|ó? 21
3.2 à?ó?VC++?a·¢′??úí¨D?3ìDòμ?·?·¨oíì?μ? 22
3.2.1 MSComm???t?ééü 23
3.2.2 Windowsμ?APIoˉêy?ééü 36
3.3 ±???D??á 43
μú???? ±?′????t′?ê??μí3éè??·?°? 44
4.1 í¨D?D-òé·??? 44
4.1.1 í¨D?á÷3ì 44
4.1.2 êy?Y°ü??ê? 45
4.2 í¨D?êμ?????· 46
4.2.1 í¨D?ê??tμ?′|àí·?·¨ 47
4.2.2 ?÷??2ù×÷×′ì?μ?o?ò? 49
4.3 ????éè?? 50
4.3.1 ?÷????éè?? 51
4.3.2 2?êyéè?????°?òéè?? 53
4.4 3ìDòá÷3ìí?éè?? 54
4.4.1 ·¢?í2ù×÷?÷ì?á÷3ìí? 54
4.4.2 ?óê?2ù×÷?÷ì?á÷3ìí? 57
4.5 ′??ú?????t′?ê?μ?ì?μ? 59
4.5.1 í¨D?1¤×÷·?ê? 59
4.5.2 ???ú??′??úí¨D?·?ê?±è?? 60
4.6 ???t′?ê??μí3éè??ó?μ?μ?±à3ì??ê? 62
4.7 3ìDò??DDμ??á1?·??? 64
4.8 3ìDò??′??úé??é?@@???′í?óμ?′|àí 68
4.9 ±???D??á 68
μú???? ±?òμéè????è?×ü?á 70
??D? 72
2??????× 73
???? 74
?aòa
±?′?±?òμéè??ê??úWindows?μí3??à?ó?VC++?a·¢1¤????DD?a·¢£??÷òa?úèYê??ùóú′??úμ????t′?ê??μí3μ?éè???£?úéè??1y3ì?D£?×?á?ò???????·???μ?1¤×÷£?ê×?è£???óú′??úí¨D?μ?ó|ó??°?°?¢êμ?êòaò???DD?òμ¥μ???ਣ???′?£???±?′?éè??òaó?μ?μ?Win32 APIoˉêyoíMSComm???t??DD?ééü£?êì?¤?÷??oˉêyμ?1|?ü?¢òaò?£??ù′?£???éè??·?°?o?àíD?oí1¤3ìó|ó????μ??DD?ê??μ?2?ê?£???ó?μ?μ???ê???DD?ééü£???′??úí¨D?μ?ì?μ?£??úì??¨áìóòμ?ó|ó?oí?a·¢???é??DD?èê?£?×?oó£???3?±?′?±?òμéè??μ?3ìDò′ú??£?1??á??2????£
′??úí¨D??ú?÷??DDòμ?D??óD1?·oμ?ó|ó??£í¨1y±?′?±?òμéè????VC++?a·¢?·?3?áóD?üêìá·μ?????£???óúêì?¤?a·¢′??úí¨D?μ??ù±??-àí£???′??ú?úí¨D?2ú?·?Dμ?ó|ó??áóD?ü?óé??ìμ?è?ê?£?2¢?ù?Yêμ?êó|ó?Dè?ó??DDêêμ±μ?à??1?£
1??ü×?£oWin32 API,???t′?ê?£?′??úí¨D?£?MSComm???t£?VC++
Abstract
This graduation design is developed with VC++ in Windows system, the main content is file transfer system based on Serial port. In the design process, we made the following aspects: First, to present the prospects for Serial port communications applications, a summation of the engineering significance; Secondly, to present the Win32 API function and MSComm controls; Again, to present the practical and the worth of scheme, and Serial port communications features in the application and development skills in specific areas to be describe; Finally, to give the code of current design for the reader reference.
Serial port communication have broad applications in various fields .We can understand the basic principles of Serial port communication in engineering applications and communications products ,and master the development tools VC++ through this design.
Keywords: Win32 API,File Transfer, Serial port communications, MSComm, VC++
????
?aòa 1
μúò??? D÷?? 4
1.1±?′?±?òμéè??μ???ìa±3?°oíó|ó??°?° 4
1.2 Windows??ì¨??2ù×÷?μí3??′??úμ?1üàí 8
1.2.1 VC++?D???à??3ìμ??§3? 8
1.2.2?à??3ì?ú′??úí¨D??Dμ?ó|ó? 9
1.2.3 ′??úí¨D?μ???μtI/O·?ê? 10
1.3?ùóú′??úμ????t′?ê??μí3éè??μ??÷òa?úèY 10
1.4 ????£¨éè??£?μ???ì??á11 10
μú?t?? ′??úí¨D?3ìDò?a·¢?ù′??aê? 11
2.1 ′??úí¨D???ê? 11
2.2 ′?DDí¨D??ù′??aê? 12
2.2.1 ′?DDí¨D?μ?ó?μ? 12
2.2.2 ′?DDí¨D?1¤×÷·?ê? 13
2.2.3 ′?DDí¨D??ì′íó??à′í 14
2.2.4 ′?DDí¨D?μ??ù?êó?′?ê??àà? 14
2.2.5 ′?DDí¨D?D-òé 15
2.2.6 ′??úí¨D?1¤×÷?-àí 16
2.3 ±???D??á 18
μúèy?? ′??ú?úí¨D?2ú?·?Dμ?ó|ó??°?a·¢′??ú3ìDòμ?·?·¨ 19
3.1 ′??ú?ú?÷??í¨D?2ú?·?Dμ?1|?ü 19
3.1.1 ′??ú?úμ¥???ú?Dμ?ó|ó? 19
3.1.2 é????úó?PLCà?ó?′??úí¨D? 21
3.1.3 ′??ú?úMODEM?Dμ?ó|ó? 21
3.2 à?ó?VC++?a·¢′??úí¨D?3ìDòμ?·?·¨oíì?μ? 22
3.2.1 MSComm???t?ééü 23
3.2.2 Windowsμ?APIoˉêy?ééü 36
3.3 ±???D??á 43
μú???? ±?′????t′?ê??μí3éè??·?°? 44
4.1 í¨D?D-òé·??? 44
4.1.1 í¨D?á÷3ì 44
4.1.2 êy?Y°ü??ê? 45
4.2 í¨D?êμ?????· 46
4.2.1 í¨D?ê??tμ?′|àí·?·¨ 47
4.2.2 ?÷??2ù×÷×′ì?μ?o?ò? 49
4.3 ????éè?? 50
4.3.1 ?÷????éè?? 51
4.3.2 2?êyéè?????°?òéè?? 53
4.4 3ìDòá÷3ìí?éè?? 54
4.4.1 ·¢?í2ù×÷?÷ì?á÷3ìí? 54
4.4.2 ?óê?2ù×÷?÷ì?á÷3ìí? 57
4.5 ′??ú?????t′?ê?μ?ì?μ? 59
4.5.1 í¨D?1¤×÷·?ê? 59
4.5.2 ???ú??′??úí¨D?·?ê?±è?? 60
4.6 ???t′?ê??μí3éè??ó?μ?μ?±à3ì??ê? 62
4.7 3ìDò??DDμ??á1?·??? 64
4.8 3ìDò??′??úé??é?@@???′í?óμ?′|àí 68
4.9 ±???D??á 68
μú???? ±?òμéè????è?×ü?á 70
??D? 72
2??????× 73
???? 74
TA們正在看...
- 01.1四時(shí)田園雜興課堂教學(xué)教案教學(xué)設(shè)計(jì)(部編版).doc
- 01.2稚子弄冰課堂教學(xué)教案教學(xué)設(shè)計(jì)(部編版).doc
- 01.3村晚課堂教學(xué)教案教學(xué)設(shè)計(jì)(部編版).doc
- 02冬陽·童年·駱駝隊(duì)公開課優(yōu)秀教案教學(xué)設(shè)計(jì)(五年...doc
- 02冬陽·童年·駱駝隊(duì)最新教研教案教學(xué)設(shè)計(jì)(部編版...doc
- 02冬陽·童年·駱駝隊(duì)課堂教學(xué)教案教學(xué)設(shè)計(jì)(部編版).doc
- 03祖父的園子公開課優(yōu)秀教案教學(xué)設(shè)計(jì)(五年級(jí)下冊(cè)).doc
- 03祖父的園子最新教研教案教學(xué)設(shè)計(jì)(部編版五年級(jí)下...doc
- 03祖父的園子課堂教學(xué)教案教學(xué)設(shè)計(jì)(部編版).doc
- 04草船借箭公開課優(yōu)秀教案教學(xué)設(shè)計(jì)(五年級(jí)下冊(cè)).doc