📄 串口调试1.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "DOFLY串口调试软件 技术论坛 www.doflye.net"
ClientHeight = 6000
ClientLeft = 45
ClientTop = 435
ClientWidth = 9885
FillColor = &H000000FF&
Icon = "串口调试1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 6000
ScaleWidth = 9885
Begin VB.Timer Timer1
Interval = 100
Left = 5040
Top = 4920
End
Begin VB.Frame Frame4
Caption = "打开/关闭串口"
Height = 2655
Left = 8160
TabIndex = 28
Top = 3240
Width = 1455
Begin VB.CommandButton Command5
Caption = "打开串口"
Height = 375
Left = 120
TabIndex = 30
Top = 360
Width = 975
End
Begin VB.CommandButton Command8
Caption = "清空计数"
Height = 375
Left = 120
TabIndex = 29
Top = 960
Width = 975
End
Begin VB.Shape Shape1
BorderStyle = 6 'Inside Solid
FillColor = &H00FFFFC0&
FillStyle = 0 'Solid
Height = 150
Left = 1200
Shape = 3 'Circle
Top = 480
Width = 255
End
Begin VB.Label Label8
Caption = "接收"
Height = 255
Left = 120
TabIndex = 34
Top = 1680
Width = 375
End
Begin VB.Label Label9
Caption = "发送"
Height = 255
Left = 120
TabIndex = 33
Top = 2160
Width = 375
End
Begin VB.Label Label10
Caption = "0"
Height = 255
Left = 600
TabIndex = 32
Top = 1680
Width = 735
End
Begin VB.Label Label11
Caption = "0"
Height = 255
Left = 600
TabIndex = 31
Top = 2160
Width = 735
End
End
Begin VB.Frame Frame3
Caption = "端口设置"
Height = 2655
Left = 5880
TabIndex = 17
Top = 3240
Width = 2175
Begin VB.ComboBox Combo1
Height = 300
ItemData = "串口调试1.frx":628A
Left = 840
List = "串口调试1.frx":628C
TabIndex = 22
Text = "COM1"
Top = 360
Width = 1095
End
Begin VB.ComboBox Combo2
Height = 300
Left = 840
TabIndex = 21
Text = "9600"
Top = 840
Width = 1095
End
Begin VB.ComboBox Combo3
Height = 300
ItemData = "串口调试1.frx":628E
Left = 840
List = "串口调试1.frx":6290
TabIndex = 20
Text = "无None"
Top = 1320
Width = 1095
End
Begin VB.ComboBox Combo4
Height = 300
Left = 840
TabIndex = 19
Text = "8"
Top = 1800
Width = 1095
End
Begin VB.ComboBox Combo5
Height = 300
Left = 840
TabIndex = 18
Text = "1"
Top = 2280
Width = 1095
End
Begin VB.Label Label3
Caption = "COM口"
Height = 255
Left = 120
TabIndex = 27
Top = 360
Width = 495
End
Begin VB.Label Label4
Caption = "波特率"
Height = 255
Left = 120
TabIndex = 26
Top = 840
Width = 615
End
Begin VB.Label Label5
Caption = "校验位"
Height = 255
Left = 120
TabIndex = 25
Top = 1320
Width = 615
End
Begin VB.Label Label6
Caption = "数据位"
Height = 255
Left = 120
TabIndex = 24
Top = 1800
Width = 615
End
Begin VB.Label Label7
Caption = "停止位"
Height = 255
Left = 120
TabIndex = 23
Top = 2280
Width = 615
End
End
Begin VB.Timer Timer2
Left = 8880
Top = 2640
End
Begin MSCommLib.MSComm MSComm1
Left = 5040
Top = 5280
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
RThreshold = 1
SThreshold = 1
End
Begin VB.Frame Frame2
Caption = "单字串发送区"
Height = 2775
Left = 5880
TabIndex = 6
Top = 360
Width = 3735
Begin VB.CommandButton Command7
Caption = "自动发送"
Height = 375
Left = 240
TabIndex = 15
Top = 1800
Width = 1575
End
Begin VB.CommandButton Command6
Caption = "手动发送"
Height = 375
Left = 2040
TabIndex = 14
Top = 1800
Width = 1575
End
Begin VB.TextBox Text3
Alignment = 2 'Center
Height = 270
Left = 1560
TabIndex = 13
Text = "1000"
Top = 2370
Width = 855
End
Begin VB.CommandButton Command4
Caption = "清发送区"
Height = 375
Left = 2040
TabIndex = 10
Top = 1080
Width = 1575
End
Begin VB.OptionButton Option3
Caption = "字符格式显示"
Height = 255
Left = 360
TabIndex = 9
Top = 1440
Width = 1695
End
Begin VB.OptionButton Option5
Caption = "十六进制显示"
Height = 255
Left = 360
TabIndex = 8
Top = 1080
Width = 1575
End
Begin VB.TextBox Text2
Height = 735
Left = 120
TabIndex = 7
Text = "技术论坛:www.doflye.net"
Top = 240
Width = 3495
End
Begin VB.Label Label2
Caption = "毫秒"
Height = 255
Left = 2520
TabIndex = 12
Top = 2400
Width = 855
End
Begin VB.Label Label1
Caption = "自动发送周期"
Height = 255
Left = 360
TabIndex = 11
Top = 2400
Width = 1215
End
End
Begin VB.Frame Frame1
Caption = "接收区"
Height = 4575
Left = 480
TabIndex = 2
Top = 360
Width = 5175
Begin VB.TextBox Text1
Height = 3495
Left = 120
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 16
Top = 240
Width = 4935
End
Begin VB.CommandButton Command3
Caption = "清接收区"
Height = 375
Left = 2400
TabIndex = 5
Top = 3960
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "字符格式显示"
Height = 255
Left = 600
TabIndex = 4
Top = 4200
Width = 1695
End
Begin VB.OptionButton Option1
Caption = "十六进制显示"
Height = 255
Left = 600
TabIndex = 3
Top = 3840
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -