📄 vb9112d.frm
字号:
VERSION 4.00
Begin VB.Form dma9112
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "9112 Double-Buffered DMA"
ClientHeight = 4980
ClientLeft = 1080
ClientTop = 1620
ClientWidth = 7665
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 5385
Left = 1020
LinkTopic = "Form1"
ScaleHeight = 4980
ScaleWidth = 7665
Top = 1275
Width = 7785
Begin VB.CommandButton btnExit
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Exit"
Height = 500
Left = 3720
TabIndex = 5
Top = 4320
Width = 1000
End
Begin VB.CommandButton btnStop
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Stop"
Enabled = 0 'False
Height = 500
Left = 2520
TabIndex = 4
Top = 4320
Width = 1000
End
Begin VB.CommandButton btnStart
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Start"
Height = 500
Left = 1320
TabIndex = 3
Top = 4320
Width = 1000
End
Begin VB.Frame frmData
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Buffer Size"
ForeColor = &H00FF0000&
Height = 615
Left = 1920
TabIndex = 2
Top = 3500
Width = 1935
Begin VB.ComboBox cobData
Appearance = 0 'Flat
Height = 315
Left = 120
Style = 2 'Dropdown List
TabIndex = 18
Top = 240
Width = 975
End
Begin VB.Label labData
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Samples"
ForeColor = &H0000FFFF&
Height = 255
Left = 1155
TabIndex = 19
Top = 255
Width = 720
End
End
Begin VB.Frame frmSample
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Sampling Rate"
ForeColor = &H00FF0000&
Height = 615
Left = 120
TabIndex = 1
Top = 3500
Width = 1700
Begin VB.ComboBox cobSample
Appearance = 0 'Flat
Height = 315
Left = 120
Style = 2 'Dropdown List
TabIndex = 17
Top = 240
Width = 975
End
Begin VB.Label Label1
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "KHz"
ForeColor = &H0000FFFF&
Height = 255
Left = 1150
TabIndex = 20
Top = 260
Width = 450
End
End
Begin VB.Frame dmaFrame
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "DMA Input(A/D)"
ForeColor = &H00FF0000&
Height = 3375
Left = 120
TabIndex = 0
Top = 120
Width = 7455
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Range"
ForeColor = &H00FF0000&
Height = 615
Left = 5880
TabIndex = 8
Top = 2640
Width = 1380
Begin VB.ComboBox cobRange
Appearance = 0 'Flat
Height = 315
Left = 100
Style = 2 'Dropdown List
TabIndex = 16
Top = 240
Width = 1200
End
End
Begin VB.Frame frmChannel
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "AD Channel"
ForeColor = &H00FF0000&
Height = 1755
Left = 5880
TabIndex = 7
Top = 240
Width = 1380
Begin VB.OptionButton optChn
Caption = "7"
Height = 315
Index = 7
Left = 720
TabIndex = 28
Top = 1260
Width = 495
End
Begin VB.OptionButton optChn
Caption = "6"
Height = 315
Index = 6
Left = 720
TabIndex = 27
Top = 960
Width = 495
End
Begin VB.OptionButton optChn
Caption = "5"
Height = 315
Index = 5
Left = 720
TabIndex = 26
Top = 660
Width = 495
End
Begin VB.OptionButton optChn
Caption = "4"
Height = 315
Index = 4
Left = 720
TabIndex = 25
Top = 360
Width = 495
End
Begin VB.OptionButton optChn
Caption = "3"
Height = 315
Index = 3
Left = 120
TabIndex = 24
Top = 1260
Width = 495
End
Begin VB.OptionButton optChn
Caption = "2"
Height = 315
Index = 2
Left = 120
TabIndex = 23
Top = 960
Width = 495
End
Begin VB.OptionButton optChn
Caption = "1"
Height = 315
Index = 1
Left = 120
TabIndex = 22
Top = 660
Width = 495
End
Begin VB.OptionButton optChn
Caption = "0"
Height = 315
Index = 0
Left = 120
TabIndex = 21
Top = 360
Value = -1 'True
Width = 495
End
End
Begin VB.PictureBox picScreen
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H00000000&
ForeColor = &H80000008&
Height = 2700
Left = 720
ScaleHeight = 178
ScaleMode = 3 'Pixel
ScaleWidth = 331
TabIndex = 6
Top = 480
Width = 5000
End
Begin VB.Label labValue
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "-5.00"
ForeColor = &H0000FFFF&
Height = 255
Index = 4
Left = 120
TabIndex = 15
Top = 3045
Width = 600
End
Begin VB.Label labValue
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "-2.50"
ForeColor = &H0000FFFF&
Height = 255
Index = 3
Left = 120
TabIndex = 14
Top = 2400
Width = 600
End
Begin VB.Label labValue
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "0.00"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -