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

📄 uport.~dfm

📁 利用DELPHI结合研华数据采集卡PCI1711对模拟量和数字量进行采集。
💻 ~DFM
字号:
object Form1: TForm1
  Left = 93
  Top = 103
  Width = 600
  Height = 400
  Caption = '端口操作'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -16
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 20
  object GroupBox_OutPut: TGroupBox
    Left = 264
    Top = 8
    Width = 209
    Height = 129
    Caption = '输出'
    TabOrder = 0
    object Label1: TLabel
      Left = 185
      Top = 59
      Width = 11
      Height = 20
      Caption = 'V'
    end
    object Label2: TLabel
      Left = 155
      Top = 29
      Width = 49
      Height = 19
      Caption = '0~4095'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = []
      ParentFont = False
    end
    object Edit_PortOutVoltage: TEdit
      Left = 91
      Top = 56
      Width = 63
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 0
      Text = '0.0 '
    end
    object Btn_PortOut: TButton
      Left = 62
      Top = 96
      Width = 72
      Height = 25
      Caption = '输出'
      TabOrder = 1
      OnClick = Btn_PortOutClick
    end
    object RadioBtn_OutputValue: TRadioButton
      Left = 16
      Top = 24
      Width = 61
      Height = 25
      Caption = '数值'
      Checked = True
      TabOrder = 2
      TabStop = True
    end
    object RadioBtn_OutputVoltage: TRadioButton
      Left = 16
      Top = 62
      Width = 73
      Height = 25
      Caption = '电压值'
      TabOrder = 3
    end
    object Edit_PortOutValue: TEdit
      Left = 91
      Top = 24
      Width = 63
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 4
      Text = '0'
    end
    object UpDown_Voltage: TUpDown
      Left = 153
      Top = 56
      Width = 23
      Height = 28
      Min = 0
      Position = 0
      TabOrder = 5
      Wrap = False
      OnClick = UpDown_VoltageClick
    end
  end
  object GroupBox_Input: TGroupBox
    Left = 16
    Top = 8
    Width = 211
    Height = 361
    Caption = '输入'
    TabOrder = 1
    object Label_Channel0: TLabel
      Left = 13
      Top = 51
      Width = 41
      Height = 20
      Caption = '通道0'
    end
    object Label_Channel1: TLabel
      Left = 13
      Top = 76
      Width = 41
      Height = 20
      Caption = '通道1'
    end
    object Label_Channel2: TLabel
      Left = 13
      Top = 102
      Width = 41
      Height = 20
      Caption = '通道2'
    end
    object Label_Channel3: TLabel
      Left = 13
      Top = 127
      Width = 41
      Height = 20
      Caption = '通道3'
    end
    object Label_Channel4: TLabel
      Left = 13
      Top = 153
      Width = 41
      Height = 20
      Caption = '通道4'
    end
    object Label_Channel5: TLabel
      Left = 13
      Top = 178
      Width = 41
      Height = 20
      Caption = '通道5'
    end
    object Label_Channel6: TLabel
      Left = 13
      Top = 204
      Width = 41
      Height = 20
      Caption = '通道6'
    end
    object Label_Channel7: TLabel
      Left = 13
      Top = 229
      Width = 41
      Height = 20
      Caption = '通道7'
    end
    object Label3: TLabel
      Left = 69
      Top = 22
      Width = 32
      Height = 20
      Caption = '数值'
    end
    object Label4: TLabel
      Left = 127
      Top = 20
      Width = 69
      Height = 20
      Caption = '电压值(V)'
    end
    object Label5: TLabel
      Left = 13
      Top = 293
      Width = 41
      Height = 20
      Caption = '通道9'
    end
    object Label6: TLabel
      Left = 13
      Top = 268
      Width = 41
      Height = 20
      Caption = '通道8'
    end
    object Edit_PortInCh0: TEdit
      Left = 61
      Top = 47
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 0
      Text = '0'
    end
    object Btn_PortIn: TButton
      Left = 65
      Top = 325
      Width = 80
      Height = 28
      Caption = '输入'
      TabOrder = 1
      OnClick = Btn_PortInClick
    end
    object Edit_PortInCh1: TEdit
      Left = 61
      Top = 72
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 2
      Text = '0'
    end
    object Edit_PortInCh2: TEdit
      Left = 61
      Top = 97
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 3
      Text = '0'
    end
    object Edit_PortInCh3: TEdit
      Left = 61
      Top = 122
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 4
      Text = '0'
    end
    object Edit_PortInCh4: TEdit
      Left = 61
      Top = 147
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 5
      Text = '0'
    end
    object Edit_PortInCh5: TEdit
      Left = 61
      Top = 173
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 6
      Text = '0'
    end
    object Edit_PortInCh6: TEdit
      Left = 61
      Top = 198
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 7
      Text = '0'
    end
    object Edit_PortInCh7: TEdit
      Left = 61
      Top = 223
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 8
      Text = '0'
    end
    object Edit_PortInCh9: TEdit
      Left = 61
      Top = 287
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 9
      Text = '0'
    end
    object Edit_PortInCh8: TEdit
      Left = 61
      Top = 260
      Width = 58
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 10
      Text = '0'
    end
  end
  object Edit_VoltageInCh0: TEdit
    Left = 152
    Top = 55
    Width = 58
    Height = 28
    ImeName = '智能ABC输入法'
    TabOrder = 2
    Text = '0'
  end
  object Edit_VoltageInCh1: TEdit
    Left = 152
    Top = 80
    Width = 58
    Height = 28
    ImeName = '智能ABC输入法'
    TabOrder = 3
    Text = '0'
  end
  object Edit_VoltageInCh2: TEdit
    Left = 152
    Top = 105
    Width = 58
    Height = 28
    ImeName = '智能ABC输入法'
    TabOrder = 4
    Text = '0'
  end
  object Edit_VoltageInCh3: TEdit
    Left = 152
    Top = 131
    Width = 58
    Height = 28
    ImeName = '智能ABC输入法'
    TabOrder = 5
    Text = '0'
  end
  object Edit_VoltageInCh4: TEdit
    Left = 152
    Top = 156
    Width = 58
    Height = 28
    ImeName = '智能ABC输入法'
    TabOrder = 6
    Text = '0'
  end
  object Edit_VoltageInCh5: TEdit
    Left = 152
    Top = 181
    Width = 58
    Height = 28
    ImeName = '智能ABC输入法'
    TabOrder = 7
    Text = '0'
  end
  object Edit_VoltageInCh6: TEdit
    Left = 152
    Top = 206
    Width = 58
    Height = 28
    ImeName = '智能ABC输入法'
    TabOrder = 8
    Text = '0'
  end
  object Edit_VoltageInCh7: TEdit
    Left = 152
    Top = 232
    Width = 58
    Height = 28
    ImeName = '智能ABC输入法'
    TabOrder = 9
    Text = '0'
  end
  object GroupBox_Status: TGroupBox
    Left = 264
    Top = 168
    Width = 209
    Height = 161
    Caption = '动作设置:'
    TabOrder = 10
    object Label7: TLabel
      Left = 20
      Top = 106
      Width = 80
      Height = 20
      Caption = '采样频率:'
    end
    object Label8: TLabel
      Left = 37
      Top = 124
      Width = 31
      Height = 20
      Caption = '(ms)'
    end
    object RadioBtn_ManIO: TRadioButton
      Left = 18
      Top = 24
      Width = 131
      Height = 33
      Caption = '手动输入/输出'
      Checked = True
      TabOrder = 0
      TabStop = True
      OnClick = RadioBtn_ManIOClick
    end
    object RadioBtn_AutoIO: TRadioButton
      Left = 18
      Top = 64
      Width = 126
      Height = 25
      Caption = '自动输入/输出'
      TabOrder = 1
      OnClick = RadioBtn_AutoIOClick
    end
    object Edit_Interval: TEdit
      Left = 102
      Top = 101
      Width = 50
      Height = 28
      ImeName = '智能ABC输入法'
      TabOrder = 2
      Text = '1000'
    end
    object UpDown_Interval: TUpDown
      Left = 150
      Top = 101
      Width = 23
      Height = 28
      Min = 5
      Position = 50
      TabOrder = 3
      Wrap = False
      OnClick = UpDown_IntervalClick
    end
  end
  object Timer_IO: TTimer
    Enabled = False
    OnTimer = Timer_IOTimer
    Left = 520
    Top = 128
  end
end

⌨️ 快捷键说明

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