登录
首页 » Visual Basic » CommTest485

CommTest485

于 2015-07-23 发布 文件大小:19KB
0 205
下载积分: 1 下载次数: 1

代码说明:

  测试com口程序Private Sub Form_Load() Dim I As Integer Dim Msg As String Me.Enabled = False Msg = 串行端口通讯测试 V & App.Major & . & App.Minor & App.Revision cboCommSettings.Text = GetSetting(App.EXEName, frmCommTest , CommSettings , 2400,N,8,1 ) Me.Show Me.Refresh With MSComm1 For I = 1 To 16 Me.Caption = Msg & - 测试通讯端口:COM & I & ... Me.Refresh Delay 100 On Error Resume Next .CommPort = I .Settings = 2400,N,8,1 .PortOpen = True .PortOpen = False If Err = 0 Then cboCommPort.AddItem COM & Trim(I) Next I End With cboCommPort.ListIndex = 0 optCommData(0).Value = True Me.Caption = Msg & (Programming by WJY) Me.Refresh If cboCommPort.ListCount = 0 Then MsgBox 程序检测不到可用的串行端口! Me.Enabled = True End Sub (test com port)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ComWave
    Visual Studio 2010 CLR 编程电子书(Visual Studio 2010 CLR programming ebook)
    2013-02-28 01:52:01下载
    积分:1
  • Expression-evaluation
    bo3-1.cpp 顺序栈(存储结构由c3-1.h定义)的基本操作(9个) algo3-6.cpp 表达式求值(输入、输出和中间结果均只能是0~9)(Bo3-1.cpp order of the stack (storage structure defined by the c3-1.h) basic operations (9) Algo3-6.cpp expression evaluation (input, output, and intermediate results are only 0 to 9))
    2014-02-11 18:14:56下载
    积分:1
  • RadarSimulation
    自己写的雷达MFC编程,适用于刚学习C++做雷达相关的MFC编程新人,(Write my own radar MFC programming for doing just learning C++ MFC programming related to the new radar,)
    2014-12-02 23:53:10下载
    积分:1
  • SummaryDataGridViewSource
    是datagridview自动添加会总行 并跟随滚动条滚动(Is the datagridview will automatically add the head office and follow the scroll bar to scroll)
    2010-12-15 14:52:09下载
    积分:1
  • DBCViewNewV1.1
    DBCView对汽车电子行业的dbc文件进行解析,并进行拓扑图显示。DBCView清晰实现对dbc文件的解析,并以友好的界面展示CAN信号,Node,signal,MSG之间的关系的软件。对初入汽车电子行业的新人非常适合,能快速掌握dbc的结构。(dbc文件是vector公司定义的,用来描述单一CAN网络中各逻辑节点信息,依据该文件可以开发出来监视和分析CAN网络中所有逻辑节点的运行状态,也可以是有针对性的ECU通信应用软件。)(DBCView is a parser for dbc file and topology view to display. By the DBCView, user could quickly understand the links between node, message, signal and can bus. DBCView is support training tool for fresh person.(by the way, If you want to know dbc, you could get help from vector ))
    2018-01-28 15:51:01下载
    积分:1
  • VB.programming.model.designed.font.dialog.window
    VB api编程模块字体对话窗口设计VB api programming model designed font dialog window (VB api programming model designed font dialog window )
    2010-10-27 10:32:08下载
    积分:1
  • equalvalueline
    使用Visual C++,MFC类库绘制等值线(Visual C++, MFC class library to draw contour)
    2013-04-03 20:45:23下载
    积分:1
  • monituihuo
    本人在网站开发gis,游自编的最短路径查询程序,速度特快,3万节点,35000条路全部遍历,只需1秒。(I am in the site development gis, shortest path query self tour programs, speed express, 30,000 nodes, 35,000 road all the traverse, just 1 second.)
    2011-01-08 19:09:36下载
    积分:1
  • JK_CENTER
    说明:  建立了TCP服务器,可以监听本地端口,通信后可以读出客户端的IP地址和相应端口。(The establishment of a TCP server, you can monitor the local port, communications can be read out after the client' s IP address and corresponding port.)
    2009-08-21 13:20:41下载
    积分:1
  • CompactAccess
    VB编程实现Access数据库压缩功能,VB编程的朋友可以借鉴一下,压缩的效果还是很明显的,虽然不是很完美,但至少可以借鉴一下,为以后的编程思路提供参考。(VB Programming compression Access database, VB programming can learn from a friend about the effect of compression is very obvious, though not perfect, but at least you can learn from, programming ideas for future reference.)
    2009-05-11 03:24:08下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载