📄 frmmain.frm
字号:
VERSION 5.00
Begin VB.Form frmMain
BorderStyle = 1 'Fixed Single
Caption = "USB HID Oscilloscope"
ClientHeight = 9975
ClientLeft = 240
ClientTop = 315
ClientWidth = 10665
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 9975
ScaleWidth = 10665
Begin VB.OptionButton optionUSMS
Caption = "ms"
Height = 255
Index = 1
Left = 9960
TabIndex = 38
Top = 840
Value = -1 'True
Width = 495
End
Begin VB.OptionButton optionUSMS
Caption = "us"
Height = 255
Index = 0
Left = 9960
TabIndex = 37
Top = 600
Width = 495
End
Begin VB.TextBox txtGetADCms
Height = 285
Left = 9240
TabIndex = 36
Text = "1"
Top = 720
Width = 615
End
Begin VB.CommandButton cmdGetADCDataUSMS
Caption = "Get ADC Data"
Default = -1 'True
Height = 375
Left = 6360
TabIndex = 34
Top = 600
Width = 1575
End
Begin VB.Timer timerContinuous
Enabled = 0 'False
Interval = 1
Left = 4800
Top = 0
End
Begin VB.CheckBox chkContinuous
Caption = "Continuous Read"
Height = 255
Left = 6360
TabIndex = 33
Top = 1080
Width = 1575
End
Begin VB.Frame frameDebug
Caption = "Debug"
Height = 1455
Left = 120
TabIndex = 13
Top = 8400
Width = 10455
Begin VB.ComboBox comboDFT
Height = 315
Left = 4080
TabIndex = 30
Top = 1080
Width = 975
End
Begin VB.CheckBox chkDFT
Caption = "Show DFT"
Height = 195
Left = 2160
TabIndex = 29
Top = 1080
Width = 1155
End
Begin VB.CommandButton cmdOnce
Caption = "Read/Write"
Height = 372
Left = 8880
TabIndex = 24
Top = 240
Width = 1452
End
Begin VB.TextBox txtByte
Height = 285
Index = 0
Left = 1440
TabIndex = 23
Text = "255"
Top = 360
Width = 495
End
Begin VB.TextBox txtByte
Height = 285
Index = 1
Left = 2160
TabIndex = 22
Text = "255"
Top = 360
Width = 495
End
Begin VB.TextBox txtByte
Height = 285
Index = 2
Left = 2880
TabIndex = 21
Text = "255"
Top = 360
Width = 495
End
Begin VB.TextBox txtByte
Height = 285
Index = 3
Left = 3600
TabIndex = 20
Text = "255"
Top = 360
Width = 495
End
Begin VB.TextBox txtByte
Height = 285
Index = 4
Left = 4320
TabIndex = 19
Text = "255"
Top = 360
Width = 495
End
Begin VB.TextBox txtByte
Height = 285
Index = 5
Left = 5040
TabIndex = 18
Text = "255"
Top = 360
Width = 495
End
Begin VB.TextBox txtByte
Height = 285
Index = 6
Left = 5760
TabIndex = 17
Text = "255"
Top = 360
Width = 495
End
Begin VB.TextBox txtByte
Height = 285
Index = 7
Left = 6480
TabIndex = 16
Text = "255"
Top = 360
Width = 495
End
Begin VB.TextBox txtArraySize
Enabled = 0 'False
Height = 285
Left = 1440
TabIndex = 15
Text = "256"
Top = 1080
Width = 495
End
Begin VB.CommandButton cmdGetData
Caption = "Get RAM Data"
Height = 375
Left = 8880
TabIndex = 14
Top = 720
Width = 1455
End
Begin VB.Label Label4
Alignment = 1 'Right Justify
Caption = "DFT N:"
Height = 255
Left = 3360
TabIndex = 32
Top = 1080
Width = 615
End
Begin VB.Label labelDFT
Height = 255
Left = 5160
TabIndex = 31
Top = 1080
Width = 1935
End
Begin VB.Label lblReadData
Height = 255
Left = 1440
TabIndex = 28
Top = 720
Width = 4575
End
Begin VB.Label Label3
Alignment = 1 'Right Justify
Caption = "Read Data:"
Height = 255
Left = 240
TabIndex = 27
Top = 720
Width = 1095
End
Begin VB.Label Label2
Alignment = 1 'Right Justify
Caption = "Send Data:"
Height = 255
Left = 240
TabIndex = 26
Top = 360
Width = 1095
End
Begin VB.Label Label5
Alignment = 1 'Right Justify
Caption = "Sample Size:"
Height = 255
Left = 240
TabIndex = 25
Top = 1080
Width = 1095
End
End
Begin VB.CheckBox chkUseCRC
Caption = "Use CRC"
Height = 255
Left = 6360
TabIndex = 12
Top = 1320
Value = 1 'Checked
Width = 1395
End
Begin VB.CommandButton cmdGetADCData
Caption = "Get ADC Data"
Height = 375
Left = 6360
TabIndex = 11
Top = 120
Width = 1575
End
Begin VB.TextBox txtInput
Height = 1935
Left = 0
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 8
Top = 6360
Width = 10635
End
Begin VB.PictureBox Picture1
AutoRedraw = -1 'True
BackColor = &H00000000&
Height = 4695
Left = 0
ScaleHeight = 309
ScaleMode = 3 'Pixel
ScaleWidth = 705
TabIndex = 7
Top = 1620
Width = 10635
End
Begin VB.HScrollBar scrollVLine1
Height = 315
LargeChange = 10
Left = 60
Max = 500
TabIndex = 6
Top = 840
Width = 2955
End
Begin VB.HScrollBar scrollVLine2
Height = 315
LargeChange = 10
Left = 60
Max = 500
TabIndex = 5
Top = 1200
Width = 2955
End
Begin VB.HScrollBar scrollHLine2
Height = 315
LargeChange = 10
Left = 3180
Max = 255
TabIndex = 4
Top = 1200
Width = 2955
End
Begin VB.HScrollBar scrollHLine1
Height = 315
LargeChange = 10
Left = 3180
Max = 255
TabIndex = 3
Top = 840
Width = 2955
End
Begin VB.Timer timerDraw
Interval = 50
Left = 4320
Top = 0
End
Begin VB.CheckBox chkPauseRedraw
Caption = "Pause Redraw"
Height = 255
Left = 9120
TabIndex = 2
Top = 1320
Width = 1395
End
Begin VB.Timer timerCheckConnection
Interval = 2000
Left = 3840
Top = 0
End
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -