基于串口的文件傳輸系統(tǒng)的設(shè)計(jì)通信.doc
約74頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
基于串口的文件傳輸系統(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們正在看...
- 分光光度法測(cè)生活用水中銅離子濃度的研究.doc
- 分公司人員架構(gòu)及薪酬方案.doc
- 分公司項(xiàng)目部食堂管理制度.doc
- 分冊(cè)1:中醫(yī)“治未脖服務(wù)技術(shù)操作規(guī)范.pdf
- 分叉病變provisional術(shù)式介紹及支架選擇.pdf
- 分子和原子教學(xué)設(shè)計(jì)及反思.doc
- 分子熱運(yùn)動(dòng)教學(xué)設(shè)計(jì)與反思.doc
- 分子生物學(xué)實(shí)驗(yàn)技術(shù).pdf
- 分子篩及其在溶劑脫水中的應(yīng)用.doc
- 分子熒光的機(jī)理和熒光探針原理.pdf