⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diform.vb

📁 使用研华DAQ和VB.net实现研华数据采集卡的多种功能.包括数据输入输出。内含多个源码
💻 VB
📖 第 1 页 / 共 5 页
字号:
        '
        Me.chkBit_5.BackColor = System.Drawing.SystemColors.Control
        Me.chkBit_5.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkBit_5.Enabled = False
        Me.chkBit_5.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkBit_5.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkBit_5.Location = New System.Drawing.Point(248, 64)
        Me.chkBit_5.Name = "chkBit_5"
        Me.chkBit_5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkBit_5.Size = New System.Drawing.Size(9, 17)
        Me.chkBit_5.TabIndex = 42
        '
        'chkBit_4
        '
        Me.chkBit_4.BackColor = System.Drawing.SystemColors.Control
        Me.chkBit_4.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkBit_4.Enabled = False
        Me.chkBit_4.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkBit_4.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkBit_4.Location = New System.Drawing.Point(208, 64)
        Me.chkBit_4.Name = "chkBit_4"
        Me.chkBit_4.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkBit_4.Size = New System.Drawing.Size(9, 17)
        Me.chkBit_4.TabIndex = 41
        '
        'chkBit_3
        '
        Me.chkBit_3.BackColor = System.Drawing.SystemColors.Control
        Me.chkBit_3.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkBit_3.Enabled = False
        Me.chkBit_3.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkBit_3.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkBit_3.Location = New System.Drawing.Point(168, 64)
        Me.chkBit_3.Name = "chkBit_3"
        Me.chkBit_3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkBit_3.Size = New System.Drawing.Size(9, 17)
        Me.chkBit_3.TabIndex = 40
        '
        'chkBit_2
        '
        Me.chkBit_2.BackColor = System.Drawing.SystemColors.Control
        Me.chkBit_2.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkBit_2.Enabled = False
        Me.chkBit_2.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkBit_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkBit_2.Location = New System.Drawing.Point(128, 64)
        Me.chkBit_2.Name = "chkBit_2"
        Me.chkBit_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkBit_2.Size = New System.Drawing.Size(9, 17)
        Me.chkBit_2.TabIndex = 39
        '
        'chkBit_1
        '
        Me.chkBit_1.BackColor = System.Drawing.SystemColors.Control
        Me.chkBit_1.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkBit_1.Enabled = False
        Me.chkBit_1.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkBit_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkBit_1.Location = New System.Drawing.Point(88, 64)
        Me.chkBit_1.Name = "chkBit_1"
        Me.chkBit_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkBit_1.Size = New System.Drawing.Size(9, 17)
        Me.chkBit_1.TabIndex = 38
        '
        'chkBit_0
        '
        Me.chkBit_0.BackColor = System.Drawing.SystemColors.Control
        Me.chkBit_0.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkBit_0.Enabled = False
        Me.chkBit_0.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkBit_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkBit_0.Location = New System.Drawing.Point(48, 64)
        Me.chkBit_0.Name = "chkBit_0"
        Me.chkBit_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkBit_0.Size = New System.Drawing.Size(9, 17)
        Me.chkBit_0.TabIndex = 37
        '
        '_Label7_9
        '
        Me._Label7_9.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_9.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_9.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_9.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_9.Location = New System.Drawing.Point(8, 88)
        Me._Label7_9.Name = "_Label7_9"
        Me._Label7_9.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_9.Size = New System.Drawing.Size(32, 17)
        Me._Label7_9.TabIndex = 35
        Me._Label7_9.Text = "High"
        '
        '_Label7_8
        '
        Me._Label7_8.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_8.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_8.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_8.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_8.Location = New System.Drawing.Point(8, 104)
        Me._Label7_8.Name = "_Label7_8"
        Me._Label7_8.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_8.Size = New System.Drawing.Size(25, 17)
        Me._Label7_8.TabIndex = 34
        Me._Label7_8.Text = "Low"
        '
        '_Label7_7
        '
        Me._Label7_7.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_7.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_7.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_7.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_7.Location = New System.Drawing.Point(128, 48)
        Me._Label7_7.Name = "_Label7_7"
        Me._Label7_7.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_7.Size = New System.Drawing.Size(24, 17)
        Me._Label7_7.TabIndex = 33
        Me._Label7_7.Text = "Bit2"
        '
        '_Label7_6
        '
        Me._Label7_6.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_6.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_6.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_6.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_6.Location = New System.Drawing.Point(168, 48)
        Me._Label7_6.Name = "_Label7_6"
        Me._Label7_6.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_6.Size = New System.Drawing.Size(24, 17)
        Me._Label7_6.TabIndex = 32
        Me._Label7_6.Text = "Bit3"
        '
        '_Label7_5
        '
        Me._Label7_5.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_5.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_5.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_5.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_5.Location = New System.Drawing.Point(208, 48)
        Me._Label7_5.Name = "_Label7_5"
        Me._Label7_5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_5.Size = New System.Drawing.Size(24, 17)
        Me._Label7_5.TabIndex = 31
        Me._Label7_5.Text = "Bit4"
        '
        '_Label7_4
        '
        Me._Label7_4.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_4.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_4.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_4.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_4.Location = New System.Drawing.Point(248, 48)
        Me._Label7_4.Name = "_Label7_4"
        Me._Label7_4.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_4.Size = New System.Drawing.Size(24, 17)
        Me._Label7_4.TabIndex = 30
        Me._Label7_4.Text = "Bit5"
        '
        '_Label7_3
        '
        Me._Label7_3.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_3.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_3.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_3.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_3.Location = New System.Drawing.Point(288, 48)
        Me._Label7_3.Name = "_Label7_3"
        Me._Label7_3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_3.Size = New System.Drawing.Size(24, 17)
        Me._Label7_3.TabIndex = 29
        Me._Label7_3.Text = "Bit6"
        '
        '_Label7_2
        '
        Me._Label7_2.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_2.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_2.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_2.Location = New System.Drawing.Point(328, 48)
        Me._Label7_2.Name = "_Label7_2"
        Me._Label7_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_2.Size = New System.Drawing.Size(24, 17)
        Me._Label7_2.TabIndex = 28
        Me._Label7_2.Text = "Bit7"
        '
        '_Label7_1
        '
        Me._Label7_1.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_1.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_1.Location = New System.Drawing.Point(88, 48)
        Me._Label7_1.Name = "_Label7_1"
        Me._Label7_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_1.Size = New System.Drawing.Size(24, 17)
        Me._Label7_1.TabIndex = 27
        Me._Label7_1.Text = "Bit1"
        '
        '_Label7_0
        '
        Me._Label7_0.BackColor = System.Drawing.SystemColors.Control
        Me._Label7_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label7_0.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label7_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Label7_0.Location = New System.Drawing.Point(48, 48)
        Me._Label7_0.Name = "_Label7_0"
        Me._Label7_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label7_0.Size = New System.Drawing.Size(24, 17)
        Me._Label7_0.TabIndex = 26
        Me._Label7_0.Text = "Bit0"
        '
        'Frame5
        '
        Me.Frame5.BackColor = System.Drawing.SystemColors.Control
        Me.Frame5.Controls.Add(Me.cmdEventScan)
        Me.Frame5.Controls.Add(Me.cmdEventStop)
        Me.Frame5.Controls.Add(Me.txtScanTime)
        Me.Frame5.Controls.Add(Me.cmdBitStop)
        Me.Frame5.Controls.Add(Me.cmdBitScan)
        Me.Frame5.Controls.Add(Me.cmdByteStop)
        Me.Frame5.Controls.Add(Me.cmdByteScan)
        Me.Frame5.Controls.Add(Me.Label6)
        Me.Frame5.Controls.Add(Me.Label5)
        Me.Frame5.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Frame5.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame5.Location = New System.Drawing.Point(256, 96)
        Me.Frame5.Name = "Frame5"
        Me.Frame5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Frame5.Size = New System.Drawing.Size(184, 161)
        Me.Frame5.TabIndex = 31
        Me.Frame5.TabStop = False
        Me.Frame5.Text = "ByteScan or BitScan"
        '
        'cmdEventScan
        '
        Me.cmdEventScan.BackColor = System.Drawing.SystemColors.Control
        Me.cmdEventScan.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdEventScan.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdEventScan.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdEventScan.Location = New System.Drawing.Point(16, 120)
        Me.cmdEventScan.Name = "cmdEventScan"
        Me.cmdEventScan.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdEventScan.Size = New System.Drawing.Size(72, 25)
        Me.cmdEventScan.TabIndex = 78
        Me.cmdEventScan.Text = "Event Scan"
        '
        'cmdEventStop
        '
        Me.cmdEventStop.BackColor = System.Drawing.SystemColors.Control
        Me.cmdEventStop.Cursor = System.Windows.Forms.Cursors.Default

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -