登录
首页 » Visual Basic » CommTest485

CommTest485

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

  • VC++Delaunay
    采用序列化对象CArchive读入原始数据构建Delaunay三角网的VC++代码。可以鼠标点击加新点进行构网,包括二维、三维。还可以进行设色、光照等。(Serializing objects using CArchive read the raw data to build Delaunay triangulation VC++ Code. Mouse clicks can add new points structure network, including the two-dimensional, three-dimensional. Can also be used for colors, light and so on.)
    2021-04-08 12:49:01下载
    积分:1
  • liushuizuoye
    这是基于VC++的一个简单的流水作业程序(动态规划法)(This is based on the VC a simple routine procedure (Dynamic Programming))
    2007-05-10 00:54:02下载
    积分:1
  • keshe
    是基于vc6.0的课程设计。学数据结构的时候做的,有源码和课设分析。(Vc6.0 curriculum design is based. Data structure when done with meta-analysis of the source code and classes.)
    2014-01-01 14:56:59下载
    积分:1
  • SOC
    SOC的可测性设计策略 The SOC design for test strategy(The SOC design for test strategy)
    2011-04-25 19:54:51下载
    积分:1
  • UDP
    基于UDP的串口通信,与TCP不同的是UDP利用的是广播技术,和服务端并没有建立可靠的连接(jiyuudpdechuankoutongxin)
    2009-07-08 13:04:26下载
    积分:1
  • cPP
    很好的c++编程指导教材,使你认识到自己的编程细节问题,成为真正的编程高手!(IT is a good book which will help you improve your ability!)
    2011-09-26 22:43:53下载
    积分:1
  • win32Tread
    说明:  基于 win32 的线程函数 ! 比较简洁 !( win32 thread function !)
    2010-04-20 22:10:50下载
    积分:1
  • 756245245
    VB校园即时通聊天软件源代码,有需要的就下载吧。(VB Campus Messenger chat software source code, there is a need to download it.)
    2013-08-04 15:29:41下载
    积分:1
  • ProcessHandles
    This program list all the remote process handles by type wise and closes them selectively by duplicating
    2013-12-27 18:37:14下载
    积分:1
  • Hello
    MFC 程序设计 第二章源码这一章主要讲绘图,包含两个Project,一个是绘制表格,另一个是绘画直尺。(MFC Programming Chapter II of this chapter is about drawing source, consists of two Project, a table is drawn, the other is painting a ruler.)
    2010-06-08 08:07:56下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载