?? 控制轉速.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 + -