📄 控制转速.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "机电一体化电机转速测量控制实验 南京师范大学物科院"
ClientHeight = 7950
ClientLeft = 45
ClientTop = 330
ClientWidth = 11880
FillColor = &H80000012&
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 140.229
ScaleMode = 6 'Millimeter
ScaleWidth = 209.55
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame6
Caption = "直流电机PID控制"
Height = 1455
Left = 4560
TabIndex = 28
Top = 6360
Width = 5895
Begin VB.CommandButton Command11
Caption = "停止"
Height = 495
Left = 5040
TabIndex = 44
Top = 840
Width = 735
End
Begin VB.TextBox Text11
Height = 375
Left = 3000
TabIndex = 39
Text = "Text11"
Top = 840
Width = 495
End
Begin VB.CommandButton Command9
Caption = "确认"
Height = 495
Left = 4200
TabIndex = 37
Top = 840
Width = 735
End
Begin VB.TextBox Text10
Height = 375
Left = 1080
TabIndex = 35
Text = "Text10"
Top = 840
Width = 855
End
Begin VB.TextBox Text9
Height = 375
Left = 4920
TabIndex = 32
Text = "Text9"
Top = 360
Width = 855
End
Begin VB.TextBox Text8
Height = 375
Left = 3000
TabIndex = 31
Text = "Text8"
Top = 360
Width = 855
End
Begin VB.TextBox Text7
Height = 375
Left = 1080
TabIndex = 30
Text = "Text7"
Top = 360
Width = 855
End
Begin VB.Label Label19
Caption = "×Ts"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 3600
TabIndex = 48
Top = 960
Width = 495
End
Begin VB.Label Label12
Caption = "采样间隔(倍数)"
Height = 375
Left = 2160
TabIndex = 38
Top = 960
Width = 855
End
Begin VB.Label Label11
Caption = "设定速度"
Height = 375
Left = 240
TabIndex = 36
Top = 960
Width = 855
End
Begin VB.Label Label10
Caption = "微分系数Kd"
Height = 255
Left = 3960
TabIndex = 34
Top = 480
Width = 975
End
Begin VB.Label Label9
Caption = "积分系数Ki"
Height = 255
Left = 2040
TabIndex = 33
Top = 480
Width = 975
End
Begin VB.Label Label8
Caption = "比例系数Kp"
Height = 375
Left = 120
TabIndex = 29
Top = 480
Width = 975
End
End
Begin VB.CommandButton Command1
Caption = "连续测速"
Height = 495
Left = 9480
TabIndex = 0
Top = 5640
Width = 975
End
Begin VB.Frame Frame4
Caption = "步进电机控制"
Height = 1455
Left = 240
TabIndex = 18
Top = 6360
Width = 2055
Begin VB.CommandButton Command7
Caption = "停止"
Height = 495
Left = 1080
TabIndex = 26
Top = 840
Width = 855
End
Begin VB.CommandButton Command5
Caption = "确认"
Height = 495
Left = 120
TabIndex = 21
Top = 840
Width = 855
End
Begin VB.TextBox Text4
Height = 375
Left = 960
TabIndex = 19
Text = "Text4"
Top = 360
Width = 975
End
Begin VB.Label Label4
Caption = "速度设定"
Height = 375
Left = 120
TabIndex = 20
Top = 480
Width = 735
End
End
Begin VB.CommandButton Command4
Caption = "确认"
Height = 495
Left = 9600
TabIndex = 17
Top = 2160
Width = 1695
End
Begin VB.Frame Frame1
Caption = "坐标设定"
Height = 2655
Left = 9240
TabIndex = 5
Top = 240
Width = 2415
Begin VB.TextBox Text3
Height = 375
Left = 1320
TabIndex = 10
Text = "Text3"
Top = 1320
Width = 975
End
Begin VB.TextBox Text2
Height = 375
Left = 1320
TabIndex = 9
Text = "Text2"
Top = 840
Width = 975
End
Begin VB.TextBox Text1
Height = 375
Left = 1320
TabIndex = 6
Text = "Text1"
Top = 360
Width = 975
End
Begin VB.Label Label2
Caption = "Y轴起点转速"
Height = 255
Left = 120
TabIndex = 11
Top = 1440
Width = 1095
End
Begin VB.Label Label3
Caption = "Y轴每格r/m数"
Height = 375
Left = 120
TabIndex = 8
Top = 960
Width = 1215
End
Begin VB.Label Label1
Caption = "X轴每格毫秒数"
Height = 255
Left = 120
TabIndex = 7
Top = 480
Width = 1335
End
End
Begin MSCommLib.MSComm MSComm1
Left = 7440
Top = 4680
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
BaudRate = 19200
InputMode = 1
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "控制转速.frx":0000
Left = 10560
List = "控制转速.frx":0013
TabIndex = 4
Text = "COM1"
Top = 3600
Width = 975
End
Begin VB.PictureBox Picture1
BackColor = &H80000012&
FillColor = &H000000FF&
ForeColor = &H00000000&
Height = 5415
Left = 720
ScaleHeight = 94.456
ScaleMode = 6 'Millimeter
ScaleWidth = 147.373
TabIndex = 3
Top = 360
Width = 8415
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 50
Left = 6600
Top = 4920
End
Begin VB.CommandButton Command3
Caption = "打开串口"
Height = 495
Left = 9600
TabIndex = 2
Top = 3960
Width = 1695
End
Begin VB.CommandButton Command2
Caption = "退出实验"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1335
Left = 10560
TabIndex = 1
Top = 6480
Width = 1095
End
Begin VB.Frame Frame2
Caption = "串口操作"
Height = 1455
Left = 9240
TabIndex = 12
Top = 3120
Width = 2415
Begin VB.Label Label5
Caption = "选择串口"
Height = 255
Left = 240
TabIndex = 13
Top = 480
Width = 1215
End
End
Begin VB.Frame Frame3
Caption = "测速控制"
Height = 1455
Left = 9240
TabIndex = 14
Top = 4800
Width = 2415
Begin VB.CommandButton Command10
Caption = "暂停"
Height = 495
Left = 1320
TabIndex = 40
Top = 840
Width = 975
End
Begin VB.TextBox Text5
Height = 375
Left = 1440
TabIndex = 15
Text = "Text5"
Top = 360
Width = 495
End
Begin VB.Label Label18
Caption = "ms"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2040
TabIndex = 47
Top = 360
Width = 255
End
Begin VB.Label Label6
Caption = "测速时间间隔Ts"
Height = 255
Left = 120
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -