📄 formmain.dfm
字号:
object frmMain: TfrmMain
Left = 303
Top = 211
Width = 517
Height = 320
Caption = 'Synchronize Analog Output'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object GroupBox1: TGroupBox
Left = 5
Top = 5
Width = 500
Height = 49
Caption = 'Device Name:'
TabOrder = 0
object labDeviceName: TStaticText
Left = 8
Top = 18
Width = 349
Height = 21
AutoSize = False
BorderStyle = sbsSunken
TabOrder = 0
end
object btnSelectDevice: TButton
Left = 376
Top = 16
Width = 106
Height = 25
Caption = 'Select &Device'
TabOrder = 1
OnClick = btnSelectDeviceClick
end
end
object cmdStart: TButton
Left = 412
Top = 130
Width = 73
Height = 25
Caption = 'S&tart'
TabOrder = 1
OnClick = cmdStartClick
end
object cmdStop: TButton
Left = 412
Top = 170
Width = 75
Height = 25
Caption = 'St&op'
Enabled = False
TabOrder = 2
OnClick = cmdStopClick
end
object btnClose: TBitBtn
Left = 404
Top = 228
Width = 97
Height = 33
TabOrder = 3
Kind = bkClose
end
object GroupBox2: TGroupBox
Left = 4
Top = 63
Width = 390
Height = 52
Caption = '&Kind of Output'
TabOrder = 4
object optVoltageOut: TRadioButton
Left = 11
Top = 22
Width = 126
Height = 17
Caption = '0 - 5 V &Voltage Out'
Checked = True
TabOrder = 0
TabStop = True
end
object optCurrentOut0: TRadioButton
Left = 128
Top = 19
Width = 127
Height = 22
Caption = '&0 - 20 mA Current Out'
TabOrder = 1
end
object optCurrentOut4: TRadioButton
Left = 263
Top = 21
Width = 125
Height = 18
Caption = '&4 - 20 mA Current Out'
TabOrder = 2
end
end
object GroupBox3: TGroupBox
Left = 4
Top = 121
Width = 391
Height = 168
Caption = 'AO Con&figure'
TabOrder = 5
object Label1: TLabel
Left = 211
Top = 29
Width = 144
Height = 13
Caption = 'Scan &Time : mS'
end
object chkSyncAOEnable: TCheckBox
Left = 15
Top = 25
Width = 147
Height = 22
Caption = 'S&ynchronously AO Enable'
TabOrder = 0
OnClick = chkSyncAOEnableClick
end
object txtScanTime: TEdit
Left = 268
Top = 25
Width = 60
Height = 21
TabOrder = 1
Text = '1000'
OnChange = txtScanTimeChange
end
object GroupBox4: TGroupBox
Left = 6
Top = 57
Width = 192
Height = 105
Caption = 'Sync. AO'
TabOrder = 2
object chkSyncEnable0: TCheckBox
Left = 9
Top = 22
Width = 84
Height = 20
Caption = 'Ch. 0 Enable'
Enabled = False
TabOrder = 0
end
object chkSyncEnable1: TCheckBox
Left = 9
Top = 40
Width = 84
Height = 20
Caption = 'Ch. 1 Enable'
Enabled = False
TabOrder = 1
end
object chkSyncEnable2: TCheckBox
Left = 9
Top = 57
Width = 84
Height = 20
Caption = 'Ch. 2 Enable'
Enabled = False
TabOrder = 2
end
object chkSyncEnable3: TCheckBox
Left = 9
Top = 75
Width = 84
Height = 20
Caption = 'Ch. 3 Enable'
Enabled = False
TabOrder = 3
end
object chkSyncEnable4: TCheckBox
Left = 101
Top = 22
Width = 84
Height = 20
Caption = 'Ch. 4 Enable'
Enabled = False
TabOrder = 4
end
object chkSyncEnable5: TCheckBox
Left = 101
Top = 40
Width = 84
Height = 20
Caption = 'Ch. 5 Enable'
Enabled = False
TabOrder = 5
end
object chkSyncEnable6: TCheckBox
Left = 101
Top = 57
Width = 84
Height = 20
Caption = 'Ch. 6 Enable'
Enabled = False
TabOrder = 6
end
object chkSyncEnable7: TCheckBox
Left = 101
Top = 74
Width = 84
Height = 20
Caption = 'Ch. 7 Enable'
Enabled = False
TabOrder = 7
end
end
object GroupBox5: TGroupBox
Left = 203
Top = 57
Width = 182
Height = 105
Caption = 'Async. AO'
TabOrder = 3
object optAsyncEnable0: TRadioButton
Left = 8
Top = 22
Width = 83
Height = 17
Caption = 'Ch. 0 Enable'
Checked = True
Enabled = False
TabOrder = 0
TabStop = True
end
object optAsyncEnable1: TRadioButton
Left = 8
Top = 40
Width = 83
Height = 17
Caption = 'Ch. 1 Enable'
Enabled = False
TabOrder = 1
end
object optAsyncEnable2: TRadioButton
Left = 8
Top = 58
Width = 83
Height = 17
Caption = 'Ch. 2 Enable'
Enabled = False
TabOrder = 2
end
object optAsyncEnable3: TRadioButton
Left = 8
Top = 76
Width = 83
Height = 17
Caption = 'Ch. 3 Enable'
Enabled = False
TabOrder = 3
end
object optAsyncEnable4: TRadioButton
Left = 94
Top = 23
Width = 83
Height = 17
Caption = 'Ch. 4 Enable'
Enabled = False
TabOrder = 4
end
object optAsyncEnable5: TRadioButton
Left = 94
Top = 41
Width = 83
Height = 17
Caption = 'Ch. 5 Enable'
Enabled = False
TabOrder = 5
end
object optAsyncEnable6: TRadioButton
Left = 94
Top = 59
Width = 83
Height = 17
Caption = 'Ch. 6 Enable'
Enabled = False
TabOrder = 6
end
object optAsyncEnable7: TRadioButton
Left = 94
Top = 77
Width = 83
Height = 17
Caption = 'Ch. 7 Enable'
Enabled = False
TabOrder = 7
end
end
end
object editOutput: TEdit
Left = 408
Top = 80
Width = 81
Height = 21
ReadOnly = True
TabOrder = 6
Text = 'Output Value'
end
object ScanTimer: TTimer
Enabled = False
OnTimer = ScanTimerTimer
Left = 436
Top = 200
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -