-
Notifications
You must be signed in to change notification settings - Fork 0
/
DataComm.dfm
393 lines (393 loc) · 8.37 KB
/
DataComm.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
object DataComm: TDataComm
Left = 343
Top = 144
Width = 831
Height = 547
Caption = 'Data communications'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnClose = OnCloseForm
OnCreate = OnCreateForm
OnDestroy = OnDestroyForm
PixelsPerInch = 96
TextHeight = 16
object grpConfig: TGroupBox
Left = 16
Top = 8
Width = 172
Height = 432
Caption = 'Configuration'
TabOrder = 3
object lblVPI: TLabel
Left = 16
Top = 24
Width = 98
Height = 16
Caption = 'Virtual port index'
end
object lblProtocol: TLabel
Left = 16
Top = 80
Width = 50
Height = 16
Caption = 'Protocol'
end
object lbl1: TLabel
Left = 16
Top = 144
Width = 14
Height = 16
Caption = '#1'
end
object lbl2: TLabel
Left = 16
Top = 192
Width = 14
Height = 16
Caption = '#2'
end
object lbl3: TLabel
Left = 16
Top = 240
Width = 14
Height = 16
Caption = '#3'
end
object lbl4: TLabel
Left = 16
Top = 288
Width = 14
Height = 16
Caption = '#4'
end
object lbl5: TLabel
Left = 16
Top = 336
Width = 14
Height = 16
Caption = '#5'
end
object lbl6: TLabel
Left = 16
Top = 384
Width = 14
Height = 16
Caption = '#6'
end
object comboVPI: TComboBox
Left = 16
Top = 40
Width = 121
Height = 24
DropDownCount = 32
ItemHeight = 16
TabOrder = 1
OnChange = OnChangeText
end
object editProtocol: TEdit
Left = 16
Top = 96
Width = 120
Height = 24
Hint = 'What hardware and software used for data acquisition and control'
TabStop = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 0
Text = 'protocol'
end
object edit1: TEdit
Left = 16
Top = 160
Width = 120
Height = 24
TabStop = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
Text = '#1'
end
object edit2: TEdit
Left = 16
Top = 208
Width = 120
Height = 24
TabStop = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
Text = '#2'
end
object edit3: TEdit
Left = 16
Top = 256
Width = 120
Height = 24
TabStop = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
Text = '#3'
OnChange = OnChangeText
end
object edit4: TEdit
Left = 16
Top = 304
Width = 120
Height = 24
TabStop = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 5
Text = '#4'
end
object edit5: TEdit
Left = 16
Top = 352
Width = 120
Height = 24
TabStop = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 6
Text = '#5'
end
object edit6: TEdit
Left = 16
Top = 400
Width = 65
Height = 24
TabStop = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 7
Text = '#6'
end
object btnTimeoutApply: TButton
Left = 88
Top = 400
Width = 49
Height = 25
Caption = 'Apply'
TabOrder = 8
OnClick = OnClickButton
end
end
object grpErrstats: TGroupBox
Left = 188
Top = 8
Width = 609
Height = 432
Caption = 'Data acquisition && control error statistics'
TabOrder = 4
object memoStats: TMemo
Left = 0
Top = 56
Width = 609
Height = 376
TabStop = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Courier'
Font.Pitch = fpFixed
Font.Style = []
Lines.Strings = (
'memoStat')
ParentFont = False
ScrollBars = ssBoth
TabOrder = 0
WordWrap = False
end
object rbType: TRadioButton
Left = 32
Top = 24
Width = 97
Height = 17
Caption = 'By &type'
Checked = True
TabOrder = 1
TabStop = True
OnClick = OnClickRadio
end
object rbAddr: TRadioButton
Left = 144
Top = 24
Width = 97
Height = 17
Caption = 'By a&ddress'
TabOrder = 2
OnClick = OnClickRadio
end
object btnRaw: TButton
Left = 472
Top = 20
Width = 121
Height = 25
Caption = 'Ra&w data flow'
TabOrder = 3
OnClick = OnClickButton
end
end
object grpRaw: TGroupBox
Left = 188
Top = 8
Width = 609
Height = 432
Caption = 'Data acquisition && control raw data flow'
TabOrder = 5
Visible = False
object memoRaw: TMemo
Left = 0
Top = 56
Width = 609
Height = 376
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Courier'
Font.Pitch = fpFixed
Font.Style = []
Lines.Strings = (
'memoRaw')
MaxLength = 30000000
ParentFont = False
ScrollBars = ssBoth
TabOrder = 0
WordWrap = False
end
object btnCopy: TButton
Left = 3
Top = 20
Width = 119
Height = 25
Hint = 'Copy memoRaw window contents to clipboard'
Caption = 'Copy to Clipboard'
ParentShowHint = False
ShowHint = True
TabOrder = 4
OnClick = OnClickButton
end
object cbPause: TCheckBox
Left = 328
Top = 24
Width = 65
Height = 17
Hint = 'Pause display of raw data flow'
Caption = '&Pause'
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnClick = OnClickCheck
end
object btnClear: TButton
Left = 400
Top = 20
Width = 65
Height = 25
Hint = 'Click here if display stops scrolling (may be full)'
Caption = 'Cle&ar'
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnClick = OnClickButton
end
object btnStats: TButton
Left = 472
Top = 20
Width = 121
Height = 25
Hint = 'Return to error statistics display'
Caption = '&Error statistics'
ParentShowHint = False
ShowHint = True
TabOrder = 3
OnClick = OnClickButton
end
end
object btnCancel: TBitBtn
Left = 713
Top = 454
Width = 85
Height = 25
Hint = 'Exit the data communications window'
Caption = '&Cancel'
ParentShowHint = False
ShowHint = True
TabOrder = 6
OnClick = OnClickButton
Kind = bkCancel
end
object btnUpdate: TButton
Left = 613
Top = 454
Width = 85
Height = 25
Hint = 'Load current error statistics (refresh display)'
Caption = '&Update'
Default = True
ParentShowHint = False
ShowHint = True
TabOrder = 0
OnClick = OnClickButton
end
object btnReset: TButton
Left = 513
Top = 454
Width = 85
Height = 25
Hint = 'Zero (clear) the error statistics'
Caption = '&Reset'
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnClick = OnClickButton
end
object cbErrlog: TCheckBox
Left = 17
Top = 454
Width = 265
Height = 17
Hint = 'Data acquisition and control errors will be logged to disk'
Caption = '&Log errors to '
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnClick = OnClickCheck
end
end