登录
首页 » Visual Basic » CommTest485

CommTest485

于 2015-07-23 发布 文件大小:19KB
0 215
下载积分: 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 个回复

  • CampusManagementInformatonSystemBasedonCOMofGIS
    介绍了组件式GIS技术,探讨了基于组件式GIS校园管理系统的组成。(Introduce a component-based GIS technology to explore the component-based GIS-based management system for the composition of the campus.)
    2009-03-31 22:27:02下载
    积分:1
  • Winio_8254
    直接用LPT对8254 IO端口访问用winio的程序源码(Direct LPT 8254 IO port access winio program source code)
    2013-04-29 00:41:57下载
    积分:1
  • TextToDbf
    将.list后缀(地质学中常用的一种格式)的纯文本文件转换成dbf格式的vf数据库文件。 采用超线程技术,对于大尺寸的文件操作不会使界面卡死,稍作修改可成为通用的文本文件导入数据库的程序。(Will. List suffix (geology used in a format), plain text file into dbf format database file vf. The use of Hyper-Threading Technology for the large size of the file operations interface card does not die, with some slight modifications can be a text file to import generic database procedures.)
    2007-08-07 14:01:51下载
    积分:1
  • 时间控制
    说明:  时间控制,可以自己随意得控制自己的时间,把时间任意延长(time control, it has to control their own free time, the arbitrary extension of the time)
    2006-02-07 15:20:14下载
    积分:1
  • LibClient
    说明:  图书馆客户端,基于MFC的vc++源码,请参考(Library Client Xi said he hopes that the two countries will earnestly implement the consensus reached by him and Trump during the U.S. president's visit to China last November.)
    2018-05-09 15:31:46下载
    积分:1
  • CDDoor
    实现打开和关闭光驱功能,调用API实现,实现打开和关闭光驱功能,调用API实现(To achieve open and close the CD-ROM features, API calls, achieving open and close the CD-ROM features, API calls to achieve)
    2013-09-15 19:57:57下载
    积分:1
  • SOCKET
    Chat program using socket
    2013-02-23 20:46:18下载
    积分:1
  • 基于VB语言的最短路径计算
    基于“邻接点”概念,研究了最短路径的快速计算方法,并利用VB语言编写了计算所需的核心模块,最终实现了从一个节点到另一个节点的所有最短路径的快速查询和显示。(The best traveling line among many distribution nodes is searched by calculating the shortest path between two nodes based on basic principle of adjacency node, the core module is writted with VB, the shortest path from one node to the other node is quickly found and showed.)
    2019-03-15 02:37:34下载
    积分:1
  • pi
    说明:  使用Openmp的分别用1、2、3、4核计算π值,对比四核所用时间的关系,同时检测四核是否能工作(Openmp is used to calculate the relationship between 1 cores, 2, 3 and 4 cores, respectively, to compare the relationship between the four cores' time and check whether the four cores work.)
    2018-04-06 00:01:18下载
    积分:1
  • Science-and-engineering
    科学与工程数值算法(Visual C++版),原书配套vc++6.0实现代码(Science and engineering numerical algorithm (Visual C++ version))
    2015-08-06 15:46:36下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载