📄 2205dma.frm
字号:
VERSION 5.00
Begin VB.Form dma2205
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H00C0C0C0&
Caption = "2205/2206 AI DMA"
ClientHeight = 6855
ClientLeft = 1020
ClientTop = 1650
ClientWidth = 7665
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
LinkTopic = "Form1"
PaletteMode = 1 'UseZOrder
ScaleHeight = 6855
ScaleWidth = 7665
Begin VB.Frame Frame2
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Channels"
ForeColor = &H00FF0000&
Height = 615
Left = 120
TabIndex = 35
Top = 4500
Width = 2055
Begin VB.ComboBox cobChn
Appearance = 0 'Flat
Height = 315
Left = 180
Style = 2 'Dropdown List
TabIndex = 36
Top = 240
Width = 1575
End
End
Begin VB.Frame Frame3
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Post Trigger Count"
ForeColor = &H00FF0000&
Height = 615
Left = 120
TabIndex = 24
Top = 5160
Width = 2055
Begin VB.TextBox txtPostCount
Alignment = 1 'Right Justify
Height = 285
Left = 180
TabIndex = 25
Text = "500"
Top = 240
Width = 975
End
End
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Trigger"
ForeColor = &H00FF0000&
Height = 2415
Left = 2280
TabIndex = 16
Top = 3840
Width = 2655
Begin VB.ComboBox cobTrigL_Level
Height = 315
Left = 900
TabIndex = 38
Text = "cobTrigL_Lev"
Top = 1920
Width = 1635
End
Begin VB.ComboBox cobTrigLevel
Appearance = 0 'Flat
Height = 315
Left = 900
Style = 2 'Dropdown List
TabIndex = 32
Top = 1500
Width = 1635
End
Begin VB.ComboBox cobTrigPol
Appearance = 0 'Flat
Height = 315
Left = 900
Style = 2 'Dropdown List
TabIndex = 21
Top = 1080
Width = 1635
End
Begin VB.ComboBox cobTrigSrc
Appearance = 0 'Flat
Height = 315
Left = 900
Style = 2 'Dropdown List
TabIndex = 18
Top = 660
Width = 1635
End
Begin VB.ComboBox cobTrigMode
Appearance = 0 'Flat
Height = 315
Left = 900
Style = 2 'Dropdown List
TabIndex = 17
Top = 240
Width = 1635
End
Begin VB.Label Label1
Caption = "L_Level:"
Height = 255
Left = 120
TabIndex = 37
Top = 1920
Width = 735
End
Begin VB.Label Label7
Caption = "H_Level:"
Height = 195
Left = 120
TabIndex = 23
Top = 1560
Width = 735
End
Begin VB.Label Label6
Caption = "Polarity:"
Height = 195
Left = 120
TabIndex = 22
Top = 1140
Width = 735
End
Begin VB.Label Label5
Caption = "Source:"
Height = 195
Left = 120
TabIndex = 20
Top = 720
Width = 735
End
Begin VB.Label Label4
Caption = "Mode:"
Height = 195
Left = 120
TabIndex = 19
Top = 300
Width = 675
End
End
Begin VB.CommandButton btnStart
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Start"
Height = 375
Left = 3000
TabIndex = 3
Top = 6360
Width = 1005
End
Begin VB.Frame frmData
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Scan Count (samples)"
ForeColor = &H00FF0000&
Height = 615
Left = 120
TabIndex = 2
Top = 3840
Width = 2055
Begin VB.ComboBox cobDataSize
Appearance = 0 'Flat
Height = 315
Left = 180
TabIndex = 12
Text = "cobDataSize"
Top = 240
Width = 1395
End
End
Begin VB.Frame frmSample
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Clock"
ForeColor = &H00FF0000&
Height = 1095
Left = 5040
TabIndex = 1
Top = 3840
Width = 2475
Begin VB.ComboBox cobClkSrc
Appearance = 0 'Flat
Height = 315
Left = 900
Style = 2 'Dropdown List
TabIndex = 15
Top = 240
Width = 1515
End
Begin VB.ComboBox cobRate
Appearance = 0 'Flat
Height = 315
Left = 1440
Style = 2 'Dropdown List
TabIndex = 11
Top = 720
Width = 975
End
Begin VB.Label Label3
Caption = "Source:"
Height = 195
Left = 180
TabIndex = 14
Top = 300
Width = 675
End
Begin VB.Label Label2
Caption = "Scan Interv:"
Height = 195
Left = 180
TabIndex = 13
Top = 720
Width = 1095
End
End
Begin VB.Frame dmaFrame
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "DMA Input(A/D)"
ForeColor = &H00FF0000&
Height = 3735
Left = 120
TabIndex = 0
Top = 0
Width = 7395
Begin VB.HScrollBar scrollView
Height = 255
LargeChange = 10
Left = 720
TabIndex = 33
Top = 3360
Width = 5655
End
Begin VB.PictureBox picScreen
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H00000000&
ForeColor = &H80000008&
Height = 2595
Left = 720
ScaleHeight = 171
ScaleMode = 3 'Pixel
ScaleWidth = 375
TabIndex = 4
Top = 480
Width = 5655
End
Begin VB.Image TriggerPos
Height = 120
Left = 6300
Picture = "2205dma.frx":0000
Top = 330
Visible = 0 'False
Width = 120
End
Begin VB.Label Label10
Caption = "3"
Height = 195
Index = 3
Left = 6840
TabIndex = 31
Top = 1800
Width = 435
End
Begin VB.Label Label10
Caption = "2"
Height = 195
Index = 2
Left = 6840
TabIndex = 30
Top = 1380
Width = 315
End
Begin VB.Label Label10
Caption = "1"
Height = 195
Index = 1
Left = 6840
TabIndex = 29
Top = 960
Width = 435
End
Begin VB.Label Label10
Caption = "0"
Height = 195
Index = 0
Left = 6840
TabIndex = 28
Top = 540
Width = 435
End
Begin VB.Shape shpColor
BackColor = &H00008000&
BackStyle = 1 'Opaque
Height = 255
Index = 3
Left = 6600
Top = 1740
Width = 195
End
Begin VB.Shape shpColor
BackColor = &H000000FF&
BackStyle = 1 'Opaque
Height = 255
Index = 2
Left = 6600
Top = 1320
Width = 195
End
Begin VB.Shape shpColor
BackColor = &H00FF0000&
BackStyle = 1 'Opaque
Height = 255
Index = 1
Left = 6600
Top = 900
Width = 195
End
Begin VB.Shape shpColor
BackColor = &H0000FFFF&
BackStyle = 1 'Opaque
BorderColor = &H00000000&
Height = 255
Index = 0
Left = 6600
Top = 480
Width = 195
End
Begin VB.Label lblLeft
Caption = "0"
Height = 195
Left = 660
TabIndex = 27
Top = 3120
Width = 795
End
Begin VB.Label lblRight
Alignment = 1 'Right Justify
Caption = "0"
Height = 195
Left = 5520
TabIndex = 26
Top = 3120
Width = 915
End
Begin VB.Label labValue
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "-10.0"
ForeColor = &H0000FFFF&
Height = 255
Index = 4
Left = 45
TabIndex = 10
Top = 2940
Width = 600
End
Begin VB.Label labValue
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "-5.00"
ForeColor = &H0000FFFF&
Height = 255
Index = 3
Left = 45
TabIndex = 9
Top = 2280
Width = 600
End
Begin VB.Label labValue
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "0.00"
ForeColor = &H0000FFFF&
Height = 255
Index = 2
Left = 45
TabIndex = 8
Top = 1680
Width = 600
End
Begin VB.Label labValue
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "5.00"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -