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

📄 dio_form.frm

📁 此为用vb编写的usb高速数据采集实例 如果没有相应的驱动
💻 FRM
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Begin VB.Form DIO_Form 
   BackColor       =   &H8000000B&
   Caption         =   "开关量入出16路测控"
   ClientHeight    =   10470
   ClientLeft      =   60
   ClientTop       =   630
   ClientWidth     =   13080
   Icon            =   "DIO_Form.frx":0000
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   10470
   ScaleWidth      =   13080
   WindowState     =   2  'Maximized
   Begin VB.Timer DOTimer1 
      Interval        =   10
      Left            =   13200
      Top             =   9120
   End
   Begin VB.Timer GetDI_Timer 
      Interval        =   250
      Left            =   11520
      Top             =   8400
   End
   Begin VB.Frame Frame2 
      Caption         =   "开关量输入状态"
      Height          =   6615
      Left            =   7200
      TabIndex        =   1
      Top             =   1440
      Width           =   4815
      Begin VB.CommandButton DI15_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关15"
         Enabled         =   0   'False
         Height          =   495
         Left            =   2760
         Style           =   1  'Graphical
         TabIndex        =   33
         Top             =   5880
         Width           =   1575
      End
      Begin VB.CommandButton DI14_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关14"
         Enabled         =   0   'False
         Height          =   495
         Left            =   2760
         Style           =   1  'Graphical
         TabIndex        =   32
         Top             =   5088
         Width           =   1575
      End
      Begin VB.CommandButton DI13_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关13"
         Enabled         =   0   'False
         Height          =   495
         Left            =   2760
         Style           =   1  'Graphical
         TabIndex        =   31
         Top             =   4300
         Width           =   1575
      End
      Begin VB.CommandButton DI12_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关12"
         Enabled         =   0   'False
         Height          =   495
         Left            =   2760
         Style           =   1  'Graphical
         TabIndex        =   30
         Top             =   3512
         Width           =   1575
      End
      Begin VB.CommandButton DI11_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关11"
         Enabled         =   0   'False
         Height          =   495
         Left            =   2760
         Style           =   1  'Graphical
         TabIndex        =   29
         Top             =   2724
         Width           =   1575
      End
      Begin VB.CommandButton DI10_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关10"
         Enabled         =   0   'False
         Height          =   495
         Left            =   2760
         Style           =   1  'Graphical
         TabIndex        =   28
         Top             =   1936
         Width           =   1575
      End
      Begin VB.CommandButton DI9_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关9"
         Enabled         =   0   'False
         Height          =   495
         Left            =   2760
         Style           =   1  'Graphical
         TabIndex        =   27
         Top             =   1148
         Width           =   1575
      End
      Begin VB.CommandButton DI7_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关7"
         Enabled         =   0   'False
         Height          =   495
         Left            =   480
         Style           =   1  'Graphical
         TabIndex        =   25
         Top             =   5880
         Width           =   1575
      End
      Begin VB.CommandButton DI6_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关6"
         Enabled         =   0   'False
         Height          =   495
         Left            =   480
         Style           =   1  'Graphical
         TabIndex        =   24
         Top             =   5088
         Width           =   1575
      End
      Begin VB.CommandButton DI5_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关5"
         Enabled         =   0   'False
         Height          =   495
         Left            =   480
         MaskColor       =   &H00FFFFC0&
         Style           =   1  'Graphical
         TabIndex        =   23
         Top             =   4300
         Width           =   1575
      End
      Begin VB.CommandButton DI4_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关4"
         Enabled         =   0   'False
         Height          =   495
         Left            =   480
         Style           =   1  'Graphical
         TabIndex        =   22
         Top             =   3512
         Width           =   1575
      End
      Begin VB.CommandButton DI3_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关3"
         Enabled         =   0   'False
         Height          =   495
         Left            =   480
         Style           =   1  'Graphical
         TabIndex        =   21
         Top             =   2724
         Width           =   1575
      End
      Begin VB.CommandButton DI2_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关2"
         Enabled         =   0   'False
         Height          =   495
         Left            =   480
         Style           =   1  'Graphical
         TabIndex        =   20
         Top             =   1936
         Width           =   1575
      End
      Begin VB.CommandButton DI1_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关1"
         Enabled         =   0   'False
         Height          =   495
         Left            =   480
         Style           =   1  'Graphical
         TabIndex        =   19
         Top             =   1148
         Width           =   1575
      End
      Begin VB.CommandButton DI0_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关0"
         Enabled         =   0   'False
         Height          =   495
         Left            =   480
         Style           =   1  'Graphical
         TabIndex        =   18
         TabStop         =   0   'False
         Top             =   360
         Width           =   1575
      End
      Begin VB.CommandButton DI8_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关8"
         Enabled         =   0   'False
         Height          =   495
         Left            =   2760
         MaskColor       =   &H000080FF&
         Style           =   1  'Graphical
         TabIndex        =   26
         Top             =   360
         Width           =   1575
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "开关量输出控制"
      Height          =   6615
      Left            =   1080
      TabIndex        =   0
      Top             =   1440
      Width           =   4935
      Begin VB.CommandButton DO15_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关15[关]"
         Height          =   495
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   17
         Top             =   5880
         Width           =   1695
      End
      Begin VB.CommandButton DO14_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关14[关]"
         Height          =   495
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   16
         Top             =   5088
         Width           =   1695
      End
      Begin VB.CommandButton DO13_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关13[关]"
         Height          =   495
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   15
         Top             =   4300
         Width           =   1695
      End
      Begin VB.CommandButton DO12_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关12[关]"
         Height          =   495
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   14
         Top             =   3512
         Width           =   1695
      End
      Begin VB.CommandButton DO11_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关11[关]"
         Height          =   495
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   13
         Top             =   2724
         Width           =   1695
      End
      Begin VB.CommandButton DO10_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关10[关]"
         Height          =   495
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   12
         Top             =   1936
         Width           =   1695
      End
      Begin VB.CommandButton DO9_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关9[关]"
         Height          =   495
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   11
         Top             =   1148
         Width           =   1695
      End
      Begin VB.CommandButton DO8_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关8[关]"
         Height          =   495
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   10
         Top             =   360
         Width           =   1695
      End
      Begin VB.CommandButton DO7_Command 
         BackColor       =   &H80000016&
         Caption         =   "开关7[关]"
         Height          =   495
         Left            =   360

⌨️ 快捷键说明

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