登录
首页 » Visual Basic » CommTest485

CommTest485

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

  • TextView_VC6_Project
    Sample Visual Studio C++ 6 source code for building a text file viewer named, TextView. May be used as a replacement for Microsoft s Notepad utility.
    2014-05-07 11:42:19下载
    积分:1
  • lock_hungry
     给出进程需求矩阵C、资源向量R以及一个进程的申请序列。使用进程启动拒绝和资源分配拒绝(银行家算法)模拟该进程组的执行情况。要求: 初始状态没有进程启动 计算每次进程申请是否分配?如:计算出预分配后的状态情况(安全状态、不安全状态),如果是安全状态,输出安全序列。 每次进程申请被允许后,输出资源分配矩阵A和可用资源向量V。 每次申请情况应可单步查看,如:输入一个空格,继续下个申请 (The  gives processes demand matrix C resource vector R as well as the application of a process sequence. Using the process starts refused to reject and resource allocation (the bankers algorithm) analog implementation of the process group. Requirements: initial state process starts calculated each time the process is whether the application is assigned? : Calculate a state after the pre-allocated (safe state, unsafe state), if it is a safe state, the output safety sequence. Each process the application is allowed, the the output resource allocation matrix A and the resources available vector V. Each application should be able to single-step view, such as: type a space, continue to the next application)
    2021-01-17 00:38:45下载
    积分:1
  • vb-updata-exe
    vb编写的自动更新程序,可用来定期检查更新。(vb prepared by the automatic update program can be used to periodically check for updates)
    2012-07-26 13:09:17下载
    积分:1
  • Mpg2.VB.051200
    图像采集卡编程的vb实例,演示如何驱动采集卡程序(Image acquisition card programming vb instance, demonstrates how to drive acquisition card program)
    2012-11-07 16:17:09下载
    积分:1
  • qichekaiti
    汽车零部件管理开题报告,有价值可供大家参考,更多论文请见www.bysjaid.com(Car parts management opening report, valuable for your reference, more papers see www.bysjaid.com)
    2013-10-23 16:32:08下载
    积分:1
  • sjx
    一般地,把三角形的三个角A,B,C和它们的对边a,b,c叫做三角形的元素。已知三角形的几个元素求其他元素的过程叫做解三角形。解三角形,常用到正弦定理和余弦定理和面积公式等。正弦定理a/sinA=b/sinB=c/sinC=2R(2R在同一个三角形中是恒(The Triangle software, wrote)
    2015-05-09 18:15:28下载
    积分:1
  • NormSInv
    Excel里NormSInv()函数的vb版(Excel Lane NormSInv () function vb version)
    2009-02-12 10:10:06下载
    积分:1
  • VSFlexGrid
    VSFlexGrid 控件使用常见问题及解决方法对策(VSFlexGrid use questions)
    2013-10-08 15:41:53下载
    积分:1
  • QRMaker1.3
    使用控件直接生成,vb二维码生成代码。。(Use the controls directly generate, vb the two-dimensional code generated code.)
    2021-03-10 10:59:27下载
    积分:1
  • BRAS
    BRAS的简述文档。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。(BRAS a brief description of the document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .)
    2009-04-01 18:16:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载