登录
首页 » Visual Basic » CommTest485

CommTest485

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

  • Notify-Icon
    This control add your applications icon in the system tray.It also support baloon type tool tip. It s cool Control.
    2013-09-20 07:04:01下载
    积分:1
  • dsp28069
    全部是28069芯片的LED灯闪烁、fpu浮点算法、ecan环路自测模式,spia自测模式,sci的环路自检模式(All LED lights flashing, 28069 chip FPU floating-point arithmetic, the ECAN loop self testing mode, SPIA mode of self testing, loop checking mode SCI)
    2013-10-26 21:50:04下载
    积分:1
  • sam4618
    说明:  这是一个有趣的正弦曲线的例子,当鼠标移动的时候他会显示鼠标的坐标1(This is an interesting example of the sine curve, when the movement of the mouse when he shows the coordinates of a mouse)
    2006-03-23 21:43:05下载
    积分:1
  • CE-exam
    VC 经典案例 30例子 已经使用 华为等机考(VC classic case 30 examples have been used)
    2013-11-02 10:00:18下载
    积分:1
  • DlgIniTest
    由于现代软件中,很多时候需要保留一些配置信息,而ini文件就是其中的方法之一,该工程简单而详细体现了ini文件的读写调用方式(Because of modern software, often need to retain some configuration information, and the ini file is one of the ways that the project reflects the simple and detailed invocation ini file read and write)
    2013-11-03 15:52:15下载
    积分:1
  • hqwyyzm
    通过此软件可以获取网页验证码,用于研究软件来控制网页中的元素信息.(With this software, you can access to the website code, used to study the software to control elements of the website information.)
    2013-10-11 15:47:03下载
    积分:1
  • rlc
    行程编码的基本原理是:用一个符号值或串长代替具有相同值的连续符号(连续符号构成了一段连续的“行程”。行程编码因此而得名),使符号长度少于原始数据的长度。只在各行或者各列数据的代码发生变化时,一次记录该代码及相同代码重复的个数,从而实现数据的压缩。(The basic principle of run length coding is: a symbolic value or string length instead of having the same value of consecutive symbols that symbol length less than the length of the original data (consecutive symbols constitute a period of continuous stroke run-length encoding, hence the name.) . Only when the code for each row or each column of data is changed, the recording time code and the same number of code duplication, in order to achieve compressed data.)
    2014-12-13 00:24:00下载
    积分:1
  • biaoshifu
    用vc++实现的有关编译原理中的标识符问题,希望对大家有所帮助!(vc used to achieve the principle of compiler identifier, we hope to help!)
    2007-04-09 10:23:16下载
    积分:1
  • 73562472624
    VB采用UDP远程唤醒主机一例,有需要的就下。(VB uses UDP remote wakeup host one case, there is a need on the next.)
    2013-07-28 08:24:04下载
    积分:1
  • tstReadMem
    实现内存的读取,程序有详细代码,还有涉及一些Unicode编程(Reading achievement of memory, the program code in detail, but also involves a number of Unicode Programming)
    2009-05-12 12:43:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载