📄 addma1.frm
字号:
VERSION 5.00
Begin VB.Form frmSelDev
AutoRedraw = -1 'True
BorderStyle = 1 'Fixed Single
Caption = "Advantech Demo: Device selection and initialization for Analog Input /DMA transfer"
ClientHeight = 3945
ClientLeft = 180
ClientTop = 1455
ClientWidth = 9360
DrawMode = 5 'Not Copy Pen
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
PaletteMode = 1 'UseZOrder
ScaleHeight = 3945
ScaleWidth = 9360
Begin VB.CommandButton ComGainList
Caption = "&Gain List"
Enabled = 0 'False
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 720
TabIndex = 0
Top = 3360
Width = 1335
End
Begin VB.TextBox DataCounts
Height = 375
Left = 7680
TabIndex = 25
Text = "2048"
Top = 2640
Width = 975
End
Begin VB.TextBox EditFIFO
Height = 375
Left = 7680
TabIndex = 24
Text = "1"
Top = 2160
Width = 975
End
Begin VB.Frame Frame4
Caption = "Trigger source"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 3360
TabIndex = 16
Top = 1680
Width = 2535
Begin VB.TextBox SpeedRate
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1080
TabIndex = 19
Text = "2000"
Top = 960
Width = 735
End
Begin VB.OptionButton TrigMode
Caption = "Internal trigger"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 0
Left = 240
TabIndex = 18
Top = 600
Value = -1 'True
Width = 2055
End
Begin VB.OptionButton TrigMode
Caption = "External trigger"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 1
Left = 240
TabIndex = 17
Top = 240
Width = 2055
End
Begin VB.Label Hz
Caption = "Hz"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1920
TabIndex = 21
Top = 1080
Width = 375
End
Begin VB.Label Speed
Caption = "Speed:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 20
Top = 1080
Width = 855
End
End
Begin VB.Frame Frame3
Caption = "Gain option"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1575
Left = 120
TabIndex = 13
Top = 1560
Width = 3015
Begin VB.ListBox ListGain
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 780
Left = 120
TabIndex = 15
Top = 600
Width = 2775
End
Begin VB.CheckBox ChkGainCde
Caption = "Use overall gain code"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 14
Top = 240
Value = 1 'Checked
Width = 2415
End
End
Begin VB.Frame Frame2
Caption = "Action methods"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 6120
TabIndex = 10
Top = 120
Width = 3015
Begin VB.CheckBox chkFloatData
Caption = "Get floating data"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 12
Top = 960
Value = 1 'Checked
Width = 2535
End
Begin VB.CheckBox chkCyclic
Caption = "Cyclic accessing data"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 11
Top = 360
Width = 2535
End
End
Begin VB.Frame Frame1
Caption = "Scanning channel"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 3360
TabIndex = 4
Top = 120
Width = 2535
Begin VB.ComboBox CombStartCh
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 1560
Style = 2 'Dropdown List
TabIndex = 7
Top = 360
Width = 855
End
Begin VB.ComboBox CombChCount
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 1560
Style = 2 'Dropdown List
TabIndex = 6
Top = 840
Width = 855
End
Begin VB.Label Label1
Caption = "Start channel"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
TabIndex = 9
Top = 360
Width = 1215
End
Begin VB.Label Label3
Caption = "Channel count"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
TabIndex = 8
Top = 840
Width = 1455
End
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -