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

📄 frmmain.dfm

📁 usb4711A数据采集卡的DI转换通道程序
💻 DFM
字号:
object Form1: TForm1
  Left = 292
  Top = 183
  BorderStyle = bsDialog
  Caption = 'Form1'
  ClientHeight = 313
  ClientWidth = 521
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label12: TLabel
    Left = 8
    Top = 248
    Width = 177
    Height = 13
    Caption = 'Hint : This example for PCI-1730 only.'
  end
  object Label13: TLabel
    Left = 32
    Top = 264
    Width = 227
    Height = 13
    Caption = 'Events / S => Interrupt Event count per Second'
  end
  object Label14: TLabel
    Left = 32
    Top = 280
    Width = 117
    Height = 13
    Caption = 'Event_Cnt => 1 ~ 10000'
  end
  object Label15: TLabel
    Left = 32
    Top = 296
    Width = 284
    Height = 13
    Caption = 'Interrupt Occured in Hardware = Event_Cnt  * (  Events / S )'
  end
  object GroupBox1: TGroupBox
    Left = 8
    Top = 8
    Width = 409
    Height = 57
    Caption = 'Device Selection'
    TabOrder = 0
    object editDevName: TEdit
      Left = 8
      Top = 24
      Width = 289
      Height = 21
      Enabled = False
      TabOrder = 0
    end
    object btnSelDev: TButton
      Left = 312
      Top = 22
      Width = 81
      Height = 25
      Caption = 'Select &Device'
      TabOrder = 1
      OnClick = btnSelDevClick
    end
  end
  object GroupBox2: TGroupBox
    Left = 424
    Top = 8
    Width = 89
    Height = 57
    Caption = 'Port'
    TabOrder = 1
    object scrollChanSpin: TScrollBar
      Left = 64
      Top = 21
      Width = 17
      Height = 25
      Kind = sbVertical
      Max = 17
      PageSize = 0
      TabOrder = 0
      OnChange = scrollChanSpinChange
    end
    object editChan: TEdit
      Left = 8
      Top = 24
      Width = 49
      Height = 21
      TabOrder = 1
    end
  end
  object GroupBox3: TGroupBox
    Left = 8
    Top = 80
    Width = 169
    Height = 161
    Caption = 'Digital Input Scan'
    TabOrder = 2
    object Label1: TLabel
      Left = 8
      Top = 31
      Width = 60
      Height = 13
      Caption = 'Scan Time : '
    end
    object Label2: TLabel
      Left = 144
      Top = 31
      Width = 15
      Height = 13
      Caption = 'mS'
    end
    object Label3: TLabel
      Left = 36
      Top = 63
      Width = 29
      Height = 13
      Caption = 'Data :'
    end
    object editScanTime: TEdit
      Left = 72
      Top = 31
      Width = 65
      Height = 21
      TabOrder = 0
    end
    object editScanData: TEdit
      Left = 72
      Top = 63
      Width = 65
      Height = 21
      Enabled = False
      TabOrder = 1
    end
    object btnStart: TButton
      Left = 8
      Top = 112
      Width = 65
      Height = 25
      Caption = '&Start'
      TabOrder = 2
      OnClick = btnStartClick
    end
    object btnStop: TButton
      Left = 96
      Top = 112
      Width = 65
      Height = 25
      Caption = 'St&op'
      Enabled = False
      TabOrder = 3
      OnClick = btnStopClick
    end
  end
  object GroupBox4: TGroupBox
    Left = 192
    Top = 80
    Width = 321
    Height = 161
    Caption = 'Interrupt Event'
    TabOrder = 3
    object Label4: TLabel
      Left = 8
      Top = 16
      Width = 17
      Height = 13
      Caption = 'No.'
    end
    object Label5: TLabel
      Left = 48
      Top = 16
      Width = 50
      Height = 13
      Caption = 'Event_Cnt'
    end
    object Label6: TLabel
      Left = 128
      Top = 16
      Width = 54
      Height = 13
      Caption = 'Events / S '
    end
    object Label7: TLabel
      Left = 8
      Top = 36
      Width = 23
      Height = 13
      Caption = 'IDI 0'
    end
    object Label8: TLabel
      Left = 8
      Top = 60
      Width = 23
      Height = 13
      Caption = 'IDI 1'
    end
    object Label9: TLabel
      Left = 8
      Top = 85
      Width = 17
      Height = 13
      Caption = 'DI0'
    end
    object Label10: TLabel
      Left = 8
      Top = 109
      Width = 17
      Height = 13
      Caption = 'DI1'
    end
    object Label11: TLabel
      Left = 8
      Top = 136
      Width = 302
      Height = 13
      Caption = 'WARNING : DI Interrupt Occured Frequency range : 0 ~ 30KHz'
    end
    object editCount_IDI0: TEdit
      Left = 48
      Top = 32
      Width = 65
      Height = 21
      TabOrder = 0
    end
    object editCount_IDI1: TEdit
      Left = 48
      Top = 56
      Width = 65
      Height = 21
      TabOrder = 1
    end
    object editCount_DI0: TEdit
      Left = 48
      Top = 80
      Width = 65
      Height = 21
      TabOrder = 2
    end
    object editCount_DI1: TEdit
      Left = 48
      Top = 104
      Width = 65
      Height = 21
      TabOrder = 3
    end
    object editIntCount_DI1: TEdit
      Left = 120
      Top = 104
      Width = 65
      Height = 21
      Enabled = False
      TabOrder = 4
    end
    object editIntCount_DI0: TEdit
      Left = 120
      Top = 80
      Width = 65
      Height = 21
      Enabled = False
      TabOrder = 5
    end
    object editIntCount_IDI1: TEdit
      Left = 120
      Top = 56
      Width = 65
      Height = 21
      Enabled = False
      TabOrder = 6
    end
    object editIntCount_IDI0: TEdit
      Left = 120
      Top = 32
      Width = 65
      Height = 21
      Enabled = False
      TabOrder = 7
    end
    object btnEnable1: TButton
      Left = 200
      Top = 32
      Width = 49
      Height = 17
      Caption = '&Enable'
      TabOrder = 8
      OnClick = btnEnable1Click
    end
    object btnEnable2: TButton
      Left = 200
      Top = 56
      Width = 49
      Height = 17
      Caption = '&Enable'
      TabOrder = 9
      OnClick = btnEnable2Click
    end
    object btnEnable3: TButton
      Left = 200
      Top = 80
      Width = 49
      Height = 17
      Caption = '&Enable'
      TabOrder = 10
      OnClick = btnEnable3Click
    end
    object btnEnable4: TButton
      Left = 200
      Top = 104
      Width = 49
      Height = 17
      Caption = '&Enable'
      TabOrder = 11
      OnClick = btnEnable4Click
    end
    object btnDisable4: TButton
      Left = 256
      Top = 104
      Width = 49
      Height = 17
      Caption = '&Disable'
      Enabled = False
      TabOrder = 12
      OnClick = btnDisable4Click
    end
    object btnDisable3: TButton
      Left = 256
      Top = 80
      Width = 49
      Height = 17
      Caption = '&Disable'
      Enabled = False
      TabOrder = 13
      OnClick = btnDisable3Click
    end
    object btnDisable2: TButton
      Left = 256
      Top = 56
      Width = 49
      Height = 17
      Caption = '&Disable'
      Enabled = False
      TabOrder = 14
      OnClick = btnDisable2Click
    end
    object btnDisable1: TButton
      Left = 256
      Top = 32
      Width = 49
      Height = 17
      Caption = '&Disable'
      Enabled = False
      TabOrder = 15
      OnClick = btnDisable1Click
    end
  end
  object btnClose: TButton
    Left = 440
    Top = 264
    Width = 73
    Height = 25
    Caption = '&Close'
    TabOrder = 4
    OnClick = btnCloseClick
  end
  object Timer1: TTimer
    Enabled = False
    OnTimer = Timer1Timer
    Left = 344
    Top = 264
  end
end

⌨️ 快捷键说明

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