登录
首页 » Visual Basic » CommTest485

CommTest485

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

  • 5734527476
    VB保存窗体退出时的大小,具有记忆功能.(VB saved when exiting the size of the form, with memory function.)
    2013-07-25 07:17:03下载
    积分:1
  • 0
    说明:  USB Spread Source Cod In Visual Basic
    2013-09-01 17:41:02下载
    积分:1
  • GATSP
    利用遗传算法优化TSP问题,较好的一个例程,在VC++平台下开发(use GA optimize TSP problem under VC++)
    2010-03-01 16:33:56下载
    积分:1
  • student0
    一个简易的班级成绩统计系统,可以在此基础上做一个完善的统计处理系统.(a simple statistics system, we can complete a integrated statistics processing system )
    2005-05-20 17:58:57下载
    积分:1
  • ruizai-EA-explain
    给MT4系统EA编程的入门级详细源码解说,力求让更多的MT4爱好者通过这个源码走进EA的时间。(EA for MT4 system programming code entry level detailed explanation, to allow more fans through this source into the MT4 EA time.)
    2020-06-30 17:00:02下载
    积分:1
  • src
    说明:  steganography challenge in c++
    2020-05-08 21:52:36下载
    积分:1
  • mytest
    可以通过此程序进行工业控制软件的开发,可以开发出西门子plc的通讯程序,实现类似于阻态软件的功能.(This procedure can be carried out industrial control software development, can develop a communications program of Siemens plc, to achieve similar to the resistance state of the software functionality.)
    2009-10-25 11:01:51下载
    积分:1
  • BingJue-Communications-Test(110303)
    VB开发的IP测试程序,这是在我工作中写的调试程序,在配置文件中只需要写上相应的IP,程序就会循环测试IP地址是否在线,不在线的话就会报警提醒(VB development of IP test program, which is written in my work debugger, just write in the configuration file on the corresponding IP, the program will loop test IP address is online, not online, then it will alarm to remind)
    2014-01-27 13:56:19下载
    积分:1
  • debuggingresources
    摘要:VC/C++源码,随书源码,书籍源码 advanced windows debugging一书的完整代码,不多介绍了,是书中的源码例子,学习C++有用处。(Summary: VC/C++ source, source books, books advanced windows debugging source code for a complete book, little introduction, is the source code examples in the book, learning C++ useful.)
    2014-04-27 14:37:38下载
    积分:1
  • FX3Uoutput-control
    用MSCOMM控件控制FXPLC全部输出/全部关闭/单独输出(MSCOMM control with full output control FXPLC/All off/single output)
    2013-10-26 10:53:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载