-
Notifications
You must be signed in to change notification settings - Fork 2
/
vm205_1.lfm
625 lines (625 loc) · 11.6 KB
/
vm205_1.lfm
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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
object Form1: TForm1
Left = 283
Height = 655
Top = 4
Width = 850
Caption = 'VM205'
ClientHeight = 655
ClientWidth = 850
Font.Height = -11
Font.Name = 'Sans'
OnCreate = FormCreate
LCLVersion = '0.9.30.4'
object Panel1: TPanel
Left = 8
Height = 259
Top = 8
Width = 804
BevelOuter = bvLowered
BevelWidth = 2
ClientHeight = 259
ClientWidth = 804
ParentColor = False
TabOrder = 0
object Image1: TImage
Left = 2
Height = 256
Top = 2
Width = 800
OnMouseDown = Image1MouseDown
OnMouseMove = Image1MouseMove
OnMouseUp = Image1MouseUp
end
end
object GroupBox1: TGroupBox
Left = 8
Height = 146
Top = 504
Width = 248
Caption = 'Volts/Div'
ClientHeight = 132
ClientWidth = 246
TabOrder = 1
object Volt5: TSpeedButton
Tag = 1
Left = 46
Height = 28
Top = 0
Width = 56
Caption = '5V'
GroupIndex = 1
NumGlyphs = 0
OnClick = VoltClick
end
object PositionY: TTrackBar
Left = 3
Height = 128
Top = 0
Width = 35
Frequency = 16
Max = 255
OnChange = PositionYChange
Orientation = trVertical
Position = 128
TickMarks = tmTopLeft
TabOrder = 0
end
object Volt2: TSpeedButton
Tag = 2
Left = 110
Height = 28
Top = 0
Width = 56
Caption = '2V'
Down = True
GroupIndex = 1
NumGlyphs = 0
OnClick = VoltClick
end
object Volt1: TSpeedButton
Tag = 3
Left = 174
Height = 28
Top = 0
Width = 56
Caption = '1V'
GroupIndex = 1
NumGlyphs = 0
OnClick = VoltClick
end
object Volt05: TSpeedButton
Tag = 4
Left = 46
Height = 28
Top = 32
Width = 56
Caption = '0.5V'
GroupIndex = 1
NumGlyphs = 0
OnClick = VoltClick
end
object Volt02: TSpeedButton
Tag = 5
Left = 110
Height = 28
Top = 32
Width = 56
Caption = '0.2V'
GroupIndex = 1
NumGlyphs = 0
OnClick = VoltClick
end
object Volt01: TSpeedButton
Tag = 6
Left = 174
Height = 28
Top = 32
Width = 56
Caption = '0.1V'
GroupIndex = 1
NumGlyphs = 0
OnClick = VoltClick
end
object Label2: TLabel
Left = 61
Height = 14
Top = 80
Width = 50
Caption = 'Coupling'
ParentColor = False
end
object Label1: TLabel
Left = 38
Height = 14
Top = 106
Width = 46
Caption = 'Position'
ParentColor = False
end
object CouplingAC: TSpeedButton
Tag = 1
Left = 110
Height = 28
Top = 72
Width = 56
Caption = 'AC'
GroupIndex = 2
NumGlyphs = 0
OnClick = CouplingClick
end
object CouplingDC: TSpeedButton
Tag = 2
Left = 174
Height = 28
Top = 72
Width = 56
Caption = 'DC'
Down = True
GroupIndex = 2
NumGlyphs = 0
OnClick = CouplingClick
end
end
object GroupBox2: TGroupBox
Left = 264
Height = 146
Top = 504
Width = 179
Caption = 'Time/Div'
ClientHeight = 132
ClientWidth = 177
TabOrder = 2
OnClick = TimeClick
object Time200: TSpeedButton
Tag = 1
Left = 6
Height = 24
Top = 0
Width = 48
Caption = '200ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time100: TSpeedButton
Tag = 2
Left = 62
Height = 24
Top = 0
Width = 48
Caption = '100ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time50: TSpeedButton
Tag = 3
Left = 118
Height = 24
Top = 0
Width = 48
Caption = '50ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time20: TSpeedButton
Tag = 4
Left = 6
Height = 24
Top = 24
Width = 48
Caption = '20ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time10: TSpeedButton
Tag = 5
Left = 62
Height = 24
Top = 24
Width = 48
Caption = '10ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time5: TSpeedButton
Tag = 6
Left = 118
Height = 24
Top = 24
Width = 48
Caption = '5ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time2: TSpeedButton
Tag = 7
Left = 6
Height = 24
Top = 48
Width = 48
Caption = '2ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time1: TSpeedButton
Tag = 8
Left = 62
Height = 24
Top = 48
Width = 48
Caption = '1ms'
Down = True
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time05: TSpeedButton
Tag = 9
Left = 118
Height = 24
Top = 48
Width = 48
Caption = '0.5ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time02: TSpeedButton
Tag = 10
Left = 6
Height = 24
Top = 72
Width = 48
Caption = '0.2ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time01: TSpeedButton
Tag = 11
Left = 62
Height = 24
Top = 72
Width = 48
Caption = '0.1ms'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time005: TSpeedButton
Tag = 12
Left = 118
Height = 24
Top = 72
Width = 48
Caption = '50us'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time6: TSpeedButton
Tag = 13
Left = 6
Height = 24
Top = 96
Width = 48
Caption = '20us'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time7: TSpeedButton
Tag = 14
Left = 62
Height = 24
Top = 96
Width = 48
Caption = '10us'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
object Time8: TSpeedButton
Tag = 15
Left = 118
Height = 24
Top = 96
Width = 48
Caption = '5us'
GroupIndex = 3
NumGlyphs = 0
OnClick = TimeClick
end
end
object Run: TSpeedButton
Left = 718
Height = 24
Top = 504
Width = 91
Caption = 'Run'
GroupIndex = 6
NumGlyphs = 0
OnClick = RunClick
end
object Stop: TSpeedButton
Left = 718
Height = 24
Top = 536
Width = 91
Caption = 'Stop'
Down = True
GroupIndex = 6
NumGlyphs = 0
OnClick = StopClick
end
object GroupBox3: TGroupBox
Left = 453
Height = 146
Top = 504
Width = 227
Caption = 'Trigger'
ClientHeight = 132
ClientWidth = 225
TabOrder = 3
object Volt6: TSpeedButton
Tag = 1
Left = 97
Height = 28
Top = 0
Width = 56
Caption = 'On'
GroupIndex = 4
NumGlyphs = 0
OnClick = TriggerClick
end
object TriggerLevel: TTrackBar
Left = 3
Height = 128
Top = 0
Width = 35
Frequency = 16
Max = 254
Min = 1
OnChange = TriggerLevelChange
Orientation = trVertical
Position = 128
TickMarks = tmTopLeft
TabOrder = 0
end
object Label3: TLabel
Left = 38
Height = 14
Top = 106
Width = 30
Caption = 'Level'
ParentColor = False
end
object Label4: TLabel
Left = 57
Height = 14
Top = 8
Width = 38
Caption = 'On/Off'
ParentColor = False
end
object Label5: TLabel
Left = 57
Height = 14
Top = 40
Width = 29
Caption = 'Edge'
ParentColor = False
end
object Volt7: TSpeedButton
Tag = 2
Left = 161
Height = 28
Top = 0
Width = 56
Caption = 'Off'
Down = True
GroupIndex = 4
NumGlyphs = 0
OnClick = TriggerClick
end
object Volt8: TSpeedButton
Tag = 3
Left = 97
Height = 28
Top = 32
Width = 56
Caption = 'Rising'
Down = True
GroupIndex = 5
NumGlyphs = 0
OnClick = TriggerClick
end
object Volt9: TSpeedButton
Tag = 4
Left = 161
Height = 28
Top = 32
Width = 56
Caption = 'Falling'
GroupIndex = 5
NumGlyphs = 0
OnClick = TriggerClick
end
end
object Panel2: TPanel
Left = 8
Height = 205
Top = 272
Width = 804
BevelOuter = bvLowered
BevelWidth = 2
ClientHeight = 205
ClientWidth = 804
ParentColor = False
TabOrder = 4
object Image2: TImage
Left = 2
Height = 201
Top = 2
Width = 800
OnMouseDown = Image2MouseDown
OnMouseMove = Image2MouseMove
OnMouseUp = Image2MouseUp
end
end
object CheckBox1: TCheckBox
Tag = 1
Left = 817
Height = 18
Top = 274
Width = 27
Caption = '1'
Checked = True
OnChange = LogicAnalyzerChannels1Select
State = cbChecked
TabOrder = 5
end
object CheckBox2: TCheckBox
Tag = 2
Left = 817
Height = 18
Top = 294
Width = 27
Caption = '2'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 6
end
object CheckBox3: TCheckBox
Tag = 4
Left = 817
Height = 18
Top = 314
Width = 27
Caption = '3'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 7
end
object CheckBox4: TCheckBox
Tag = 8
Left = 817
Height = 18
Top = 334
Width = 27
Caption = '4'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 8
end
object CheckBox5: TCheckBox
Tag = 16
Left = 817
Height = 18
Top = 354
Width = 27
Caption = '5'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 9
end
object CheckBox6: TCheckBox
Tag = 32
Left = 817
Height = 18
Top = 374
Width = 27
Caption = '6'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 10
end
object CheckBox7: TCheckBox
Tag = 64
Left = 817
Height = 18
Top = 392
Width = 27
Caption = '7'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 11
end
object CheckBox8: TCheckBox
Tag = 128
Left = 817
Height = 18
Top = 414
Width = 27
Caption = '8'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 12
end
object CheckBox9: TCheckBox
Tag = 256
Left = 817
Height = 18
Top = 434
Width = 27
Caption = '9'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 13
end
object CheckBox10: TCheckBox
Tag = 512
Left = 817
Height = 18
Top = 454
Width = 34
Caption = '10'
OnChange = LogicAnalyzerChannels1Select
TabOrder = 14
end
object Label6: TLabel
Left = 8
Height = 14
Top = 480
Width = 32
Caption = 'dV = '
ParentColor = False
end
object Label7: TLabel
Left = 152
Height = 14
Top = 480
Width = 32
Caption = 'T1 = '
ParentColor = False
end
object Label8: TLabel
Left = 280
Height = 14
Top = 480
Width = 28
Caption = 'T2 ='
ParentColor = False
end
object Label9: TLabel
Left = 416
Height = 14
Top = 480
Width = 32
Caption = 'dT = '
ParentColor = False
end
object Label10: TLabel
Left = 536
Height = 14
Top = 480
Width = 40
Caption = '1/dt = '
ParentColor = False
end
object Timer1: TTimer
Enabled = False
Interval = 20
OnTimer = Timer1Timer
left = 768
top = 568
end
end