⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmmain.frm

📁 显示波形的串口测试工具
💻 FRM
📖 第 1 页 / 共 5 页
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmMain 
   Caption         =   "串口测试工具 "
   ClientHeight    =   10140
   ClientLeft      =   60
   ClientTop       =   -1752
   ClientWidth     =   13776
   Icon            =   "frmMain.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   10140
   ScaleWidth      =   13776
   StartUpPosition =   2  '屏幕中心
   Tag             =   "15480"
   Begin VB.Frame fraSettings 
      Caption         =   "端口 5 设置 57600, Even, 8, 2, 字符, XOn/XOff"
      Height          =   1815
      Index           =   0
      Left            =   240
      TabIndex        =   96
      Top             =   360
      Width           =   6495
      Begin VB.Frame fraSend 
         Caption         =   "数据发送"
         Height          =   1455
         Index           =   0
         Left            =   120
         TabIndex        =   117
         Top             =   225
         Visible         =   0   'False
         Width           =   6255
         Begin VB.TextBox txtSend 
            Height          =   375
            Index           =   0
            Left            =   120
            TabIndex        =   126
            Top             =   360
            Width           =   5175
         End
         Begin VB.CommandButton cmdSend 
            Caption         =   "发送"
            Height          =   375
            Index           =   0
            Left            =   5400
            TabIndex        =   125
            Top             =   360
            Width           =   735
         End
         Begin VB.CommandButton cmdAscii 
            Caption         =   "字符码"
            Enabled         =   0   'False
            Height          =   375
            Index           =   0
            Left            =   120
            TabIndex        =   124
            Top             =   960
            Width           =   975
         End
         Begin VB.TextBox txtAscii 
            Alignment       =   2  'Center
            BeginProperty Font 
               Name            =   "MS Sans Serif"
               Size            =   9.6
               Charset         =   0
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            Height          =   375
            Index           =   0
            Left            =   1080
            MaxLength       =   3
            TabIndex        =   123
            Top             =   960
            Width           =   495
         End
         Begin VB.ComboBox cmbMultiSend 
            Height          =   315
            Index           =   0
            ItemData        =   "frmMain.frx":0442
            Left            =   3240
            List            =   "frmMain.frx":044F
            TabIndex        =   122
            Text            =   "单次"
            Top             =   1005
            Width           =   1215
         End
         Begin VB.CommandButton cmdMultiSend 
            Caption         =   "开始"
            Enabled         =   0   'False
            Height          =   375
            Index           =   0
            Left            =   4560
            TabIndex        =   121
            Top             =   960
            Width           =   735
         End
         Begin VB.TextBox txtMultiple 
            Alignment       =   2  'Center
            Enabled         =   0   'False
            Height          =   285
            Index           =   0
            Left            =   1680
            MaxLength       =   6
            TabIndex        =   120
            Text            =   "0"
            Top             =   1035
            Width           =   735
         End
         Begin VB.TextBox txtSendTime 
            Alignment       =   2  'Center
            Enabled         =   0   'False
            Height          =   285
            Index           =   0
            Left            =   2520
            MaxLength       =   5
            TabIndex        =   119
            Text            =   "0"
            Top             =   1035
            Width           =   615
         End
         Begin VB.CommandButton cmdSettings 
            Caption         =   "设置"
            Height          =   375
            Index           =   0
            Left            =   5400
            TabIndex        =   118
            Top             =   960
            Width           =   735
         End
         Begin VB.Label lblTimes 
            AutoSize        =   -1  'True
            Caption         =   "重复"
            Height          =   180
            Index           =   0
            Left            =   1725
            TabIndex        =   128
            Top             =   840
            Width           =   360
         End
         Begin VB.Label lblSendInterval 
            AutoSize        =   -1  'True
            Caption         =   "延时"
            Height          =   180
            Index           =   0
            Left            =   2565
            TabIndex        =   127
            Top             =   840
            Width           =   360
         End
      End
      Begin VB.ComboBox cmbParityReplace 
         BeginProperty Font 
            Name            =   "Courier New"
            Size            =   12
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   390
         Index           =   0
         Left            =   2160
         TabIndex        =   115
         Top             =   1192
         Width           =   1215
      End
      Begin VB.CommandButton cmdShowSend 
         Caption         =   "发送数据"
         Enabled         =   0   'False
         Height          =   495
         Index           =   0
         Left            =   5400
         TabIndex        =   114
         Top             =   1080
         Width           =   855
      End
      Begin VB.CommandButton cmdClose 
         Caption         =   "关闭"
         Enabled         =   0   'False
         Height          =   495
         Index           =   0
         Left            =   4440
         TabIndex        =   113
         Top             =   1080
         Width           =   855
      End
      Begin VB.CommandButton cmdOpen 
         Caption         =   "打开"
         Height          =   495
         Index           =   0
         Left            =   3480
         TabIndex        =   112
         Top             =   1080
         Width           =   855
      End
      Begin VB.Frame fraInputMode 
         Caption         =   "接收模式"
         Height          =   615
         Index           =   0
         Left            =   240
         TabIndex        =   109
         Top             =   960
         Width           =   1815
         Begin VB.OptionButton optBinary 
            Caption         =   "二进制"
            Height          =   255
            Index           =   0
            Left            =   870
            TabIndex        =   111
            Top             =   255
            Width           =   855
         End
         Begin VB.OptionButton optString 
            Caption         =   "字符串"
            Height          =   255
            Index           =   0
            Left            =   75
            TabIndex        =   110
            Top             =   255
            Width           =   855
         End
      End
      Begin VB.ComboBox cmbPort 
         Height          =   315
         Index           =   0
         ItemData        =   "frmMain.frx":0465
         Left            =   240
         List            =   "frmMain.frx":0467
         TabIndex        =   107
         Top             =   600
         Width           =   855
      End
      Begin VB.ComboBox cmbParity 
         Height          =   315
         Index           =   0
         ItemData        =   "frmMain.frx":0469
         Left            =   2280
         List            =   "frmMain.frx":047C
         TabIndex        =   101
         Top             =   600
         Width           =   855
      End
      Begin VB.ComboBox cmbDataBits 
         Height          =   315
         Index           =   0
         ItemData        =   "frmMain.frx":0498
         Left            =   3240
         List            =   "frmMain.frx":04AB
         TabIndex        =   100
         Top             =   600
         Width           =   735
      End
      Begin VB.ComboBox cmbStopBits 
         Height          =   315
         Index           =   0
         ItemData        =   "frmMain.frx":04BE
         Left            =   4080
         List            =   "frmMain.frx":04C8
         TabIndex        =   99
         Top             =   600
         Width           =   735
      End
      Begin VB.ComboBox cmbBaudRate 
         Height          =   315
         Index           =   0
         ItemData        =   "frmMain.frx":04D2
         Left            =   1200
         List            =   "frmMain.frx":0503
         TabIndex        =   98
         Top             =   600
         Width           =   975
      End
      Begin VB.ComboBox cmbHandShake 
         Height          =   315
         Index           =   0
         ItemData        =   "frmMain.frx":0569
         Left            =   4920
         List            =   "frmMain.frx":0579
         TabIndex        =   97
         Top             =   600
         Width           =   1335
      End
      Begin VB.Label lblParityReplace 
         AutoSize        =   -1  'True
         Caption         =   "Parity Replace"
         Height          =   195
         Index           =   0
         Left            =   2250
         TabIndex        =   116
         Top             =   975
         Width           =   1035
      End
      Begin VB.Label lblPort 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         Caption         =   "端口"
         Height          =   195
         Index           =   0
         Left            =   450
         TabIndex        =   108
         Top             =   360
         Width           =   315
      End
      Begin VB.Label lblParity 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         Caption         =   "校验"
         Height          =   180
         Index           =   0
         Left            =   2520
         TabIndex        =   106
         Top             =   360
         Width           =   360
      End
      Begin VB.Label lblDataBits 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         Caption         =   "数据位"
         Height          =   195
         Index           =   0
         Left            =   3285
         TabIndex        =   105
         Top             =   360
         Width           =   645
      End
      Begin VB.Label lblStopBits 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         Caption         =   "停止位"
         Height          =   195
         Index           =   0
         Left            =   4125
         TabIndex        =   104
         Top             =   360
         Width           =   630
      End
      Begin VB.Label lblBaudRate 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         Caption         =   "波特率"
         Height          =   195
         Index           =   0
         Left            =   1305
         TabIndex        =   103
         Top             =   360
         Width           =   765
      End
      Begin VB.Label lblHandShake 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         Caption         =   "握手协议"
         Height          =   180
         Index           =   0
         Left            =   5220
         TabIndex        =   102
         Top             =   360
         Width           =   720
      End
   End

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -