mainform.frm
来自「16 relay output channels and 16 isolated」· FRM 代码 · 共 1,060 行 · 第 1/3 页
FRM
1,060 行
VERSION 5.00
Begin VB.Form MainForm
Caption = "Digital Output With Watchdog function for PCI-1758"
ClientHeight = 6705
ClientLeft = 60
ClientTop = 345
ClientWidth = 6105
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 6705
ScaleWidth = 6105
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton cmdWatchDoValue
Caption = "Set"
Height = 375
Left = 5280
TabIndex = 70
Top = 2640
Width = 615
End
Begin VB.CommandButton cmdSet
Caption = "Set"
Height = 375
Left = 5280
TabIndex = 69
Top = 1560
Width = 615
End
Begin VB.TextBox txtWatchdogDOValue
Height = 285
Index = 1
Left = 4200
TabIndex = 53
Text = "AAAA"
Top = 3120
Width = 615
End
Begin VB.TextBox txtPresetValue
Height = 285
Index = 1
Left = 4200
TabIndex = 36
Text = "AAAA"
Top = 2040
Width = 615
End
Begin VB.CommandButton cmdExit
Caption = "Exit"
Height = 495
Left = 4800
TabIndex = 32
Top = 240
Width = 975
End
Begin VB.Frame Frame5
Caption = "Watchdog"
Height = 1455
Left = 120
TabIndex = 6
Top = 5160
Width = 5895
Begin VB.Timer AutoTimer
Enabled = 0 'False
Interval = 200
Left = 3720
Top = 720
End
Begin VB.TextBox txtCounter
Height = 285
Left = 1920
TabIndex = 17
Text = "Text2"
Top = 1080
Width = 975
End
Begin VB.CommandButton cmdStop
Caption = "Stop"
Height = 375
Left = 4920
TabIndex = 15
Top = 720
Width = 855
End
Begin VB.CommandButton cmdStart
Caption = "Start"
Height = 375
Left = 4920
TabIndex = 14
Top = 240
Width = 855
End
Begin VB.CommandButton cmdFeed
Caption = "Feed"
Height = 375
Left = 3840
TabIndex = 13
Top = 240
Width = 855
End
Begin VB.TextBox txtTimer
Height = 285
Left = 2400
TabIndex = 11
Text = "200"
Top = 720
Width = 735
End
Begin VB.CheckBox chkAuto
Caption = "Auto feed the watchdog"
Height = 255
Left = 360
TabIndex = 10
Top = 720
Width = 2055
End
Begin VB.Label WatchdogStatus
BorderStyle = 1 'Fixed Single
ForeColor = &H000000FF&
Height = 375
Left = 1800
TabIndex = 33
Top = 240
Width = 975
End
Begin VB.Label Label7
Caption = "ms"
Height = 255
Left = 4320
TabIndex = 20
Top = 1080
Width = 495
End
Begin VB.Label LabTimer
Height = 255
Left = 3600
TabIndex = 19
Top = 1080
Width = 735
End
Begin VB.Label Label5
Caption = "* 0.1us ="
Height = 255
Left = 2880
TabIndex = 18
Top = 1080
Width = 735
End
Begin VB.Label Label4
Caption = " Watchdog Counter:"
Height = 255
Left = 360
TabIndex = 16
Top = 1080
Width = 1575
End
Begin VB.Label Label3
Caption = "ms"
Height = 255
Left = 3240
TabIndex = 12
Top = 720
Width = 375
End
Begin VB.Label Label2
Caption = "Watchdog Status"
Height = 255
Left = 360
TabIndex = 9
Top = 360
Width = 1455
End
End
Begin VB.Frame Frame4
Caption = "Digital Output Value"
Height = 1455
Left = 120
TabIndex = 5
Top = 3600
Width = 5895
Begin VB.TextBox txtDOStatus
Height = 285
Left = 2880
TabIndex = 34
Text = "00"
Top = 240
Width = 855
End
Begin VB.CheckBox chkDI
Caption = "DI07"
Height = 255
Index = 7
Left = 480
TabIndex = 30
Top = 1080
Width = 735
End
Begin VB.CheckBox chkDI
Caption = "DI06"
Height = 255
Index = 6
Left = 1320
TabIndex = 29
Top = 1080
Width = 735
End
Begin VB.CheckBox chkDI
Caption = "DI05"
Height = 255
Index = 5
Left = 2160
TabIndex = 28
Top = 1080
Width = 735
End
Begin VB.CheckBox chkDI
Caption = "DI04"
Height = 255
Index = 4
Left = 3000
TabIndex = 27
Top = 1080
Width = 735
End
Begin VB.CheckBox chkDI
Caption = "DI03"
Height = 255
Index = 3
Left = 480
TabIndex = 26
Top = 720
Width = 735
End
Begin VB.CheckBox chkDI
Caption = "DI02"
Height = 255
Index = 2
Left = 1320
TabIndex = 25
Top = 720
Width = 735
End
Begin VB.CheckBox chkDI
Caption = "DI01"
Height = 255
Index = 1
Left = 2160
TabIndex = 24
Top = 720
Width = 735
End
Begin VB.CheckBox chkDI
Caption = "DI00"
Height = 255
Index = 0
Left = 3000
TabIndex = 23
Top = 720
Width = 735
End
Begin VB.ComboBox cmbPort
Height = 315
Left = 1200
TabIndex = 22
Text = "Combo1"
Top = 240
Width = 1215
End
Begin VB.CommandButton cmdRead
Caption = "Read Back"
Height = 375
Left = 4200
TabIndex = 8
Top = 960
Width = 975
End
Begin VB.CommandButton cmdWrite
Caption = "Write Byte"
Height = 375
Left = 4200
TabIndex = 7
Top = 480
Width = 975
End
Begin VB.Label Label8
Caption = "DO Port"
Height = 255
Left = 480
TabIndex = 21
Top = 360
Width = 735
End
End
Begin VB.Frame Frame3
Caption = "DO Watchdog "
Height = 1095
Left = 120
TabIndex = 4
Top = 2520
Width = 5895
Begin VB.TextBox txtWatchdogDOValue
Height = 285
Index = 7
Left = 480
TabIndex = 59
Text = "AAAA"
Top = 600
Width = 615
End
Begin VB.TextBox txtWatchdogDOValue
Height = 285
Index = 6
Left = 1080
TabIndex = 58
Text = "AAAA"
Top = 600
Width = 615
End
Begin VB.TextBox txtWatchdogDOValue
Height = 285
Index = 5
Left = 1680
TabIndex = 57
Text = "AAAA"
Top = 600
Width = 615
End
Begin VB.TextBox txtWatchdogDOValue
Height = 285
Index = 4
Left = 2280
TabIndex = 56
Text = "AAAA"
Top = 600
Width = 615
End
Begin VB.TextBox txtWatchdogDOValue
Height = 285
Index = 3
Left = 2880
TabIndex = 55
Text = "AAAA"
Top = 600
Width = 615
End
Begin VB.TextBox txtWatchdogDOValue
Height = 285
Index = 2
Left = 3480
TabIndex = 54
Text = "AAAA"
Top = 600
Width = 615
End
Begin VB.TextBox txtWatchdogDOValue
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?