📄 frmm.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmm
BackColor = &H00FFFFC0&
Caption = "数据接收程序"
ClientHeight = 7665
ClientLeft = 60
ClientTop = 390
ClientWidth = 9675
LinkTopic = "Form1"
ScaleHeight = 7665
ScaleWidth = 9675
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton receiveallcmd
Caption = "开始接收"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2640
TabIndex = 1
Top = 2640
Width = 2055
End
Begin VB.CommandButton strsettingcmd
Caption = "设置参数"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 360
TabIndex = 0
Top = 2640
Width = 2055
End
Begin MSCommLib.MSComm mm
Left = 9120
Top = 0
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
Begin VB.Frame f1
Appearance = 0 'Flat
BackColor = &H00FFFFC0&
Caption = "电机控制"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 4455
Left = 0
TabIndex = 2
Top = 3240
Width = 9735
Begin VB.TextBox maxadmittxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1080
TabIndex = 29
Top = 3840
Width = 1575
End
Begin VB.CommandButton commonspeedcmd
Caption = "常速"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 5040
TabIndex = 26
Top = 3120
Width = 1335
End
Begin VB.CommandButton paracmd
Caption = "参数表"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 6480
TabIndex = 25
Top = 480
Width = 1335
End
Begin VB.CommandButton resetcmd
Caption = "归位"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 6480
TabIndex = 24
Top = 1800
Width = 1335
End
Begin VB.TextBox bunumbertxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1080
TabIndex = 23
Top = 3120
Width = 1575
End
Begin VB.TextBox bulenthtxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1080
TabIndex = 22
Top = 2400
Width = 1575
End
Begin VB.CommandButton zerocmd
Caption = "清零"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 6480
TabIndex = 18
Top = 3120
Width = 1335
End
Begin VB.TextBox firstspeedtxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 495
Left = 1080
TabIndex = 15
Top = 960
Width = 1575
End
Begin VB.TextBox axestxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1080
TabIndex = 13
Text = "1"
Top = 240
Width = 1575
End
Begin VB.CommandButton exitcmd
Caption = "退出"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 765
Left = 8040
TabIndex = 6
Top = 3120
Width = 1455
End
Begin VB.CommandButton startcmd
Caption = "启动"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 8040
TabIndex = 5
Top = 480
Width = 1455
End
Begin VB.CommandButton stopcmd
Caption = "停止"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 8040
TabIndex = 4
Top = 1800
Width = 1455
End
Begin VB.TextBox distxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1080
TabIndex = 3
Top = 1680
Width = 1575
End
Begin VB.Label maxadmitlbl
BackStyle = 0 'Transparent
Caption = "最大误差"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 0
TabIndex = 28
Top = 3960
Width = 1335
End
Begin VB.Label Label1
Caption = "Label1"
Height = 15
Left = 2400
TabIndex = 27
Top = 4080
Width = 15
End
Begin VB.Label bunumberlbl
BackStyle = 0 'Transparent
Caption = "步数"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 615
Left = 240
TabIndex = 21
Top = 3240
Width = 1335
End
Begin VB.Label bulenthlbl
BackStyle = 0 'Transparent
Caption = "步长"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 240
TabIndex = 20
Top = 2520
Width = 855
End
Begin VB.Label positionshowlbl
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF00FF&
Height = 495
Left = 4080
TabIndex = 17
Top = 480
Width = 1695
End
Begin VB.Label firstspeedlbl
BackStyle = 0 'Transparent
Caption = "初速度"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 120
TabIndex = 14
Top = 1080
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -