Warning: Can't use blame annotator:
svn blame failed on trunk/desktop/mainWindow.rbfrm: ("Can't find a temporary directory: Internal error", 20014)

source: trunk/desktop/mainWindow.rbfrm @ 16

Revision 16, 112.3 KB checked in by pinwc4, 15 years ago (diff)

Added logic for opening and saving com port settings

RevLine 
1#tag Window
2Begin Window mainWindow
3   BackColor       =   &hFFFFFF
4   Backdrop        =   1384026073
5   CloseButton     =   True
6   Composite       =   True
7   Frame           =   0
8   FullScreen      =   False
9   HasBackColor    =   False
10   Height          =   352
11   ImplicitInstance=   True
12   LiveResize      =   True
13   MacProcID       =   0
14   MaxHeight       =   32000
15   MaximizeButton  =   False
16   MaxWidth        =   32000
17   MenuBar         =   1097909413
18   MenuBarVisible  =   True
19   MinHeight       =   64
20   MinimizeButton  =   True
21   MinWidth        =   64
22   Placement       =   0
23   Resizeable      =   True
24   Title           =   "Flip Side ICS"
25   Visible         =   True
26   Width           =   640
27   Begin PushButton PushButton_Read
28      AutoDeactivate  =   True
29      Bold            =   ""
30      Cancel          =   ""
31      Caption         =   "Read"
32      Default         =   ""
33      Enabled         =   True
34      Height          =   20
35      HelpTag         =   ""
36      Index           =   -2147483648
37      InitialParent   =   ""
38      Italic          =   ""
39      Left            =   26
40      LockBottom      =   ""
41      LockedInPosition=   False
42      LockLeft        =   ""
43      LockRight       =   ""
44      LockTop         =   ""
45      Scope           =   0
46      TabIndex        =   4
47      TabPanelIndex   =   0
48      TabStop         =   True
49      TextFont        =   "System"
50      TextSize        =   0
51      Top             =   312
52      Underline       =   ""
53      Visible         =   True
54      Width           =   88
55   End
56   Begin PushButton PushButton_Write
57      AutoDeactivate  =   True
58      Bold            =   ""
59      Cancel          =   ""
60      Caption         =   "Write"
61      Default         =   False
62      Enabled         =   True
63      Height          =   20
64      HelpTag         =   ""
65      Index           =   -2147483648
66      InitialParent   =   ""
67      Italic          =   ""
68      Left            =   126
69      LockBottom      =   ""
70      LockedInPosition=   False
71      LockLeft        =   ""
72      LockRight       =   ""
73      LockTop         =   ""
74      Scope           =   0
75      TabIndex        =   5
76      TabPanelIndex   =   0
77      TabStop         =   True
78      TextFont        =   "System"
79      TextSize        =   0
80      Top             =   312
81      Underline       =   ""
82      Visible         =   True
83      Width           =   88
84   End
85   Begin PushButton PushButton_Reset
86      AutoDeactivate  =   True
87      Bold            =   ""
88      Cancel          =   ""
89      Caption         =   "Reset"
90      Default         =   ""
91      Enabled         =   True
92      Height          =   20
93      HelpTag         =   ""
94      Index           =   -2147483648
95      InitialParent   =   ""
96      Italic          =   ""
97      Left            =   226
98      LockBottom      =   ""
99      LockedInPosition=   False
100      LockLeft        =   ""
101      LockRight       =   ""
102      LockTop         =   ""
103      Scope           =   0
104      TabIndex        =   6
105      TabPanelIndex   =   0
106      TabStop         =   True
107      TextFont        =   "System"
108      TextSize        =   0
109      Top             =   312
110      Underline       =   ""
111      Visible         =   True
112      Width           =   88
113   End
114   Begin TabPanel TabPanel1
115      AutoDeactivate  =   True
116      Bold            =   ""
117      Enabled         =   True
118      Height          =   264
119      HelpTag         =   ""
120      Index           =   -2147483648
121      InitialParent   =   ""
122      Italic          =   ""
123      Left            =   0
124      LockBottom      =   ""
125      LockedInPosition=   False
126      LockLeft        =   ""
127      LockRight       =   ""
128      LockTop         =   ""
129      Panels          =   ""
130      Scope           =   0
131      SmallTabs       =   False
132      TabDefinition   =   "Settings\rProfiles\rCar\rCustom"
133      TabIndex        =   43
134      TabPanelIndex   =   0
135      TabStop         =   True
136      TextFont        =   "System"
137      TextSize        =   0
138      Top             =   32
139      Underline       =   ""
140      Value           =   0
141      Visible         =   True
142      Width           =   637
143      Begin StaticText StaticText_SerialPort
144         AutoDeactivate  =   True
145         Bold            =   ""
146         DataField       =   ""
147         DataSource      =   ""
148         Enabled         =   True
149         Height          =   20
150         HelpTag         =   ""
151         Index           =   -2147483648
152         InitialParent   =   "TabPanel1"
153         Italic          =   ""
154         Left            =   214
155         LockBottom      =   ""
156         LockedInPosition=   False
157         LockLeft        =   ""
158         LockRight       =   ""
159         LockTop         =   ""
160         Multiline       =   ""
161         Scope           =   0
162         TabIndex        =   0
163         TabPanelIndex   =   1
164         Text            =   "COM Port"
165         TextAlign       =   0
166         TextColor       =   "&cB8B8B8"
167         TextFont        =   "System"
168         TextSize        =   0
169         Top             =   106
170         Underline       =   ""
171         Visible         =   True
172         Width           =   100
173      End
174      Begin PopupMenu PopupMenu_SerialPort
175         AutoDeactivate  =   True
176         Bold            =   ""
177         DataField       =   ""
178         DataSource      =   ""
179         Enabled         =   True
180         Height          =   20
181         HelpTag         =   ""
182         Index           =   -2147483648
183         InitialParent   =   "TabPanel1"
184         InitialValue    =   ""
185         Italic          =   ""
186         Left            =   26
187         ListIndex       =   0
188         LockBottom      =   ""
189         LockedInPosition=   False
190         LockLeft        =   ""
191         LockRight       =   ""
192         LockTop         =   ""
193         Scope           =   0
194         TabIndex        =   1
195         TabPanelIndex   =   1
196         TabStop         =   True
197         TextFont        =   "System"
198         TextSize        =   0
199         Top             =   106
200         Underline       =   ""
201         Visible         =   True
202         Width           =   176
203      End
204      Begin GroupBox GroupBox1
205         AutoDeactivate  =   True
206         Bold            =   ""
207         Caption         =   ""
208         Enabled         =   True
209         Height          =   89
210         HelpTag         =   ""
211         Index           =   -2147483648
212         InitialParent   =   "TabPanel1"
213         Italic          =   ""
214         Left            =   14
215         LockBottom      =   ""
216         LockedInPosition=   False
217         LockLeft        =   ""
218         LockRight       =   ""
219         LockTop         =   ""
220         Scope           =   0
221         TabIndex        =   0
222         TabPanelIndex   =   2
223         TextFont        =   "System"
224         TextSize        =   0
225         Top             =   94
226         Underline       =   ""
227         Visible         =   True
228         Width           =   358
229         Begin PopupMenu PopupMenu_Profile
230            AutoDeactivate  =   True
231            Bold            =   ""
232            DataField       =   ""
233            DataSource      =   ""
234            Enabled         =   True
235            Height          =   20
236            HelpTag         =   ""
237            Index           =   -2147483648
238            InitialParent   =   "GroupBox1"
239            InitialValue    =   ""
240            Italic          =   ""
241            Left            =   26
242            ListIndex       =   0
243            LockBottom      =   ""
244            LockedInPosition=   False
245            LockLeft        =   ""
246            LockRight       =   ""
247            LockTop         =   ""
248            Scope           =   0
249            TabIndex        =   0
250            TabPanelIndex   =   2
251            TabStop         =   True
252            TextFont        =   "System"
253            TextSize        =   0
254            Top             =   106
255            Underline       =   ""
256            Visible         =   True
257            Width           =   176
258         End
259         Begin PushButton PushButton_Create
260            AutoDeactivate  =   True
261            Bold            =   ""
262            Cancel          =   ""
263            Caption         =   "Create"
264            Default         =   ""
265            Enabled         =   True
266            Height          =   20
267            HelpTag         =   ""
268            Index           =   -2147483648
269            InitialParent   =   "GroupBox1"
270            Italic          =   ""
271            Left            =   26
272            LockBottom      =   ""
273            LockedInPosition=   False
274            LockLeft        =   ""
275            LockRight       =   ""
276            LockTop         =   ""
277            Scope           =   0
278            TabIndex        =   1
279            TabPanelIndex   =   2
280            TabStop         =   True
281            TextFont        =   "System"
282            TextSize        =   0
283            Top             =   142
284            Underline       =   ""
285            Visible         =   True
286            Width           =   88
287         End
288         Begin PushButton PushButton_Delete
289            AutoDeactivate  =   True
290            Bold            =   ""
291            Cancel          =   ""
292            Caption         =   "Delete"
293            Default         =   ""
294            Enabled         =   True
295            Height          =   20
296            HelpTag         =   ""
297            Index           =   -2147483648
298            InitialParent   =   "GroupBox1"
299            Italic          =   ""
300            Left            =   126
301            LockBottom      =   ""
302            LockedInPosition=   False
303            LockLeft        =   ""
304            LockRight       =   ""
305            LockTop         =   ""
306            Scope           =   0
307            TabIndex        =   2
308            TabPanelIndex   =   2
309            TabStop         =   True
310            TextFont        =   "System"
311            TextSize        =   0
312            Top             =   142
313            Underline       =   ""
314            Visible         =   False
315            Width           =   88
316         End
317         Begin StaticText StaticText_Profiles
318            AutoDeactivate  =   True
319            Bold            =   ""
320            DataField       =   ""
321            DataSource      =   ""
322            Enabled         =   True
323            Height          =   20
324            HelpTag         =   ""
325            Index           =   -2147483648
326            InitialParent   =   "GroupBox1"
327            Italic          =   ""
328            Left            =   214
329            LockBottom      =   ""
330            LockedInPosition=   False
331            LockLeft        =   ""
332            LockRight       =   ""
333            LockTop         =   ""
334            Multiline       =   ""
335            Scope           =   0
336            TabIndex        =   4
337            TabPanelIndex   =   2
338            Text            =   "Profiles"
339            TextAlign       =   0
340            TextColor       =   "&cB8B8B8"
341            TextFont        =   "System"
342            TextSize        =   0
343            Top             =   106
344            Underline       =   ""
345            Visible         =   True
346            Width           =   100
347         End
348      End
349      Begin GroupBox GroupBox2
350         AutoDeactivate  =   True
351         Bold            =   ""
352         Caption         =   ""
353         Enabled         =   True
354         Height          =   202
355         HelpTag         =   ""
356         Index           =   -2147483648
357         InitialParent   =   "TabPanel1"
358         Italic          =   ""
359         Left            =   14
360         LockBottom      =   ""
361         LockedInPosition=   False
362         LockLeft        =   ""
363         LockRight       =   ""
364         LockTop         =   ""
365         Scope           =   0
366         TabIndex        =   0
367         TabPanelIndex   =   3
368         TextFont        =   "System"
369         TextSize        =   0
370         Top             =   94
371         Underline       =   ""
372         Visible         =   True
373         Width           =   608
374         Begin Slider Slider_THGain
375            AutoDeactivate  =   True
376            Enabled         =   True
377            Height          =   16
378            HelpTag         =   ""
379            Index           =   -2147483648
380            InitialParent   =   "GroupBox2"
381            Left            =   322
382            LineStep        =   1
383            LiveScroll      =   ""
384            LockBottom      =   ""
385            LockedInPosition=   False
386            LockLeft        =   ""
387            LockRight       =   ""
388            LockTop         =   ""
389            Maximum         =   255
390            Minimum         =   1
391            PageStep        =   20
392            Scope           =   0
393            TabIndex        =   0
394            TabPanelIndex   =   3
395            TabStop         =   True
396            Top             =   268
397            Value           =   0
398            Visible         =   True
399            Width           =   128
400         End
401         Begin EditField EditField_THGain
402            AcceptTabs      =   ""
403            Alignment       =   0
404            AutoDeactivate  =   True
405            BackColor       =   &hFFFFFF
406            Bold            =   ""
407            Border          =   True
408            DataField       =   ""
409            DataSource      =   ""
410            Enabled         =   True
411            Format          =   ""
412            Height          =   22
413            HelpTag         =   ""
414            Index           =   -2147483648
415            InitialParent   =   "GroupBox2"
416            Italic          =   ""
417            Left            =   462
418            LimitText       =   0
419            LockBottom      =   ""
420            LockedInPosition=   False
421            LockLeft        =   ""
422            LockRight       =   ""
423            LockTop         =   ""
424            Mask            =   "###"
425            Multiline       =   ""
426            Password        =   ""
427            ReadOnly        =   ""
428            Scope           =   0
429            ScrollbarHorizontal=   ""
430            ScrollbarVertical=   True
431            Styled          =   ""
432            TabIndex        =   1
433            TabPanelIndex   =   3
434            TabStop         =   True
435            Text            =   ""
436            TextColor       =   &h000000
437            TextFont        =   "System"
438            TextSize        =   0
439            Top             =   268
440            Underline       =   ""
441            UseFocusRing    =   True
442            Visible         =   True
443            Width           =   32
444         End
445         Begin StaticText StaticText_THGain
446            AutoDeactivate  =   True
447            Bold            =   ""
448            DataField       =   ""
449            DataSource      =   ""
450            Enabled         =   True
451            Height          =   20
452            HelpTag         =   ""
453            Index           =   -2147483648
454            InitialParent   =   "GroupBox2"
455            Italic          =   ""
456            Left            =   506
457            LockBottom      =   ""
458            LockedInPosition=   False
459            LockLeft        =   ""
460            LockRight       =   ""
461            LockTop         =   ""
462            Multiline       =   ""
463            Scope           =   0
464            TabIndex        =   2
465            TabPanelIndex   =   3
466            Text            =   "Throttle Gain"
467            TextAlign       =   0
468            TextColor       =   "&cB8B8B8"
469            TextFont        =   "System"
470            TextSize        =   0
471            Top             =   268
472            Underline       =   ""
473            Visible         =   True
474            Width           =   128
475         End
476         Begin Slider Slider_STGain
477            AutoDeactivate  =   True
478            Enabled         =   True
479            Height          =   16
480            HelpTag         =   ""
481            Index           =   -2147483648
482            InitialParent   =   "GroupBox2"
483            Left            =   322
484            LineStep        =   1
485            LiveScroll      =   ""
486            LockBottom      =   ""
487            LockedInPosition=   False
488            LockLeft        =   ""
489            LockRight       =   ""
490            LockTop         =   ""
491            Maximum         =   255
492            Minimum         =   1
493            PageStep        =   20
494            Scope           =   0
495            TabIndex        =   3
496            TabPanelIndex   =   3
497            TabStop         =   True
498            Top             =   234
499            Value           =   0
500            Visible         =   True
501            Width           =   128
502         End
503         Begin EditField EditField_STGain
504            AcceptTabs      =   ""
505            Alignment       =   0
506            AutoDeactivate  =   True
507            BackColor       =   &hFFFFFF
508            Bold            =   ""
509            Border          =   True
510            DataField       =   ""
511            DataSource      =   ""
512            Enabled         =   True
513            Format          =   ""
514            Height          =   22
515            HelpTag         =   ""
516            Index           =   -2147483648
517            InitialParent   =   "GroupBox2"
518            Italic          =   ""
519            Left            =   462
520            LimitText       =   0
521            LockBottom      =   ""
522            LockedInPosition=   False
523            LockLeft        =   ""
524            LockRight       =   ""
525            LockTop         =   ""
526            Mask            =   "###"
527            Multiline       =   ""
528            Password        =   ""
529            ReadOnly        =   ""
530            Scope           =   0
531            ScrollbarHorizontal=   ""
532            ScrollbarVertical=   True
533            Styled          =   ""
534            TabIndex        =   4
535            TabPanelIndex   =   3
536            TabStop         =   True
537            Text            =   ""
538            TextColor       =   &h000000
539            TextFont        =   "System"
540            TextSize        =   0
541            Top             =   234
542            Underline       =   ""
543            UseFocusRing    =   True
544            Visible         =   True
545            Width           =   32
546         End
547         Begin StaticText StaticText_STGain
548            AutoDeactivate  =   True
549            Bold            =   ""
550            DataField       =   ""
551            DataSource      =   ""
552            Enabled         =   True
553            Height          =   20
554            HelpTag         =   ""
555            Index           =   -2147483648
556            InitialParent   =   "GroupBox2"
557            Italic          =   ""
558            Left            =   506
559            LockBottom      =   ""
560            LockedInPosition=   False
561            LockLeft        =   ""
562            LockRight       =   ""
563            LockTop         =   ""
564            Multiline       =   ""
565            Scope           =   0
566            TabIndex        =   5
567            TabPanelIndex   =   3
568            Text            =   "Steering Gain"
569            TextAlign       =   0
570            TextColor       =   "&cB8B8B8"
571            TextFont        =   "System"
572            TextSize        =   0
573            Top             =   234
574            Underline       =   ""
575            Visible         =   True
576            Width           =   128
577         End
578         Begin PopupMenu PopupMenu_BackTiming
579            AutoDeactivate  =   True
580            Bold            =   ""
581            DataField       =   ""
582            DataSource      =   ""
583            Enabled         =   True
584            Height          =   20
585            HelpTag         =   ""
586            Index           =   -2147483648
587            InitialParent   =   "GroupBox2"
588            InitialValue    =   "1\r2\r3\r4\r5\rCustom"
589            Italic          =   ""
590            Left            =   322
591            ListIndex       =   0
592            LockBottom      =   ""
593            LockedInPosition=   False
594            LockLeft        =   ""
595            LockRight       =   ""
596            LockTop         =   ""
597            Scope           =   0
598            TabIndex        =   6
599            TabPanelIndex   =   3
600            TabStop         =   True
601            TextFont        =   "System"
602            TextSize        =   0
603            Top             =   202
604            Underline       =   ""
605            Visible         =   True
606            Width           =   172
607         End
608         Begin StaticText StaticText_BackTiming
609            AutoDeactivate  =   True
610            Bold            =   ""
611            DataField       =   ""
612            DataSource      =   ""
613            Enabled         =   True
614            Height          =   20
615            HelpTag         =   ""
616            Index           =   -2147483648
617            InitialParent   =   "GroupBox2"
618            Italic          =   ""
619            Left            =   506
620            LockBottom      =   ""
621            LockedInPosition=   False
622            LockLeft        =   ""
623            LockRight       =   ""
624            LockTop         =   ""
625            Multiline       =   ""
626            Scope           =   0
627            TabIndex        =   7
628            TabPanelIndex   =   3
629            Text            =   "Back Timing"
630            TextAlign       =   0
631            TextColor       =   "&cB8B8B8"
632            TextFont        =   "System"
633            TextSize        =   0
634            Top             =   202
635            Underline       =   ""
636            Visible         =   True
637            Width           =   128
638         End
639         Begin PopupMenu PopupMenu_VerticalInteria
640            AutoDeactivate  =   True
641            Bold            =   ""
642            DataField       =   ""
643            DataSource      =   ""
644            Enabled         =   True
645            Height          =   20
646            HelpTag         =   ""
647            Index           =   -2147483648
648            InitialParent   =   "GroupBox2"
649            InitialValue    =   "Strong\r2\r3\r4\rOff\rCustom"
650            Italic          =   ""
651            Left            =   322
652            ListIndex       =   0
653            LockBottom      =   ""
654            LockedInPosition=   False
655            LockLeft        =   ""
656            LockRight       =   ""
657            LockTop         =   ""
658            Scope           =   0
659            TabIndex        =   8
660            TabPanelIndex   =   3
661            TabStop         =   True
662            TextFont        =   "System"
663            TextSize        =   0
664            Top             =   171
665            Underline       =   ""
666            Visible         =   True
667            Width           =   172
668         End
669         Begin StaticText StaticText_VerticalIntertia
670            AutoDeactivate  =   True
671            Bold            =   ""
672            DataField       =   ""
673            DataSource      =   ""
674            Enabled         =   True
675            Height          =   20
676            HelpTag         =   ""
677            Index           =   -2147483648
678            InitialParent   =   "GroupBox2"
679            Italic          =   ""
680            Left            =   506
681            LockBottom      =   ""
682            LockedInPosition=   False
683            LockLeft        =   ""
684            LockRight       =   ""
685            LockTop         =   ""
686            Multiline       =   ""
687            Scope           =   0
688            TabIndex        =   9
689            TabPanelIndex   =   3
690            Text            =   "Vertical Intertia"
691            TextAlign       =   0
692            TextColor       =   "&cB8B8B8"
693            TextFont        =   "System"
694            TextSize        =   0
695            Top             =   171
696            Underline       =   ""
697            Visible         =   True
698            Width           =   128
699         End
700         Begin PopupMenu PopupMenu_Nuetral
701            AutoDeactivate  =   True
702            Bold            =   ""
703            DataField       =   ""
704            DataSource      =   ""
705            Enabled         =   True
706            Height          =   20
707            HelpTag         =   ""
708            Index           =   -2147483648
709            InitialParent   =   "GroupBox2"
710            InitialValue    =   "Narrow\rMid\rWide\rCustom"
711            Italic          =   ""
712            Left            =   322
713            ListIndex       =   0
714            LockBottom      =   ""
715            LockedInPosition=   False
716            LockLeft        =   ""
717            LockRight       =   ""
718            LockTop         =   ""
719            Scope           =   0
720            TabIndex        =   10
721            TabPanelIndex   =   3
722            TabStop         =   True
723            TextFont        =   "System"
724            TextSize        =   0
725            Top             =   139
726            Underline       =   ""
727            Visible         =   True
728            Width           =   172
729         End
730         Begin StaticText StaticText_Nuetral
731            AutoDeactivate  =   True
732            Bold            =   ""
733            DataField       =   ""
734            DataSource      =   ""
735            Enabled         =   True
736            Height          =   20
737            HelpTag         =   ""
738            Index           =   -2147483648
739            InitialParent   =   "GroupBox2"
740            Italic          =   ""
741            Left            =   506
742            LockBottom      =   ""
743            LockedInPosition=   False
744            LockLeft        =   ""
745            LockRight       =   ""
746            LockTop         =   ""
747            Multiline       =   ""
748            Scope           =   0
749            TabIndex        =   11
750            TabPanelIndex   =   3
751            Text            =   "Nuetral"
752            TextAlign       =   0
753            TextColor       =   "&cB8B8B8"
754            TextFont        =   "System"
755            TextSize        =   0
756            Top             =   139
757            Underline       =   ""
758            Visible         =   True
759            Width           =   128
760         End
761         Begin PopupMenu PopupMenu_DFreq
762            AutoDeactivate  =   True
763            Bold            =   ""
764            DataField       =   ""
765            DataSource      =   ""
766            Enabled         =   True
767            Height          =   20
768            HelpTag         =   ""
769            Index           =   -2147483648
770            InitialParent   =   "GroupBox2"
771            InitialValue    =   "High\rMedium\rLow\rCustom"
772            Italic          =   ""
773            Left            =   322
774            ListIndex       =   0
775            LockBottom      =   ""
776            LockedInPosition=   False
777            LockLeft        =   ""
778            LockRight       =   ""
779            LockTop         =   ""
780            Scope           =   0
781            TabIndex        =   12
782            TabPanelIndex   =   3
783            TabStop         =   True
784            TextFont        =   "System"
785            TextSize        =   0
786            Top             =   107
787            Underline       =   ""
788            Visible         =   True
789            Width           =   172
790         End
791         Begin StaticText StaticText_DFreq
792            AutoDeactivate  =   True
793            Bold            =   ""
794            DataField       =   ""
795            DataSource      =   ""
796            Enabled         =   True
797            Height          =   20
798            HelpTag         =   ""
799            Index           =   -2147483648
800            InitialParent   =   "GroupBox2"
801            Italic          =   ""
802            Left            =   506
803            LockBottom      =   ""
804            LockedInPosition=   False
805            LockLeft        =   ""
806            LockRight       =   ""
807            LockTop         =   ""
808            Multiline       =   ""
809            Scope           =   0
810            TabIndex        =   13
811            TabPanelIndex   =   3
812            Text            =   "Drive Frequency"
813            TextAlign       =   0
814            TextColor       =   "&cB8B8B8"
815            TextFont        =   "System"
816            TextSize        =   0
817            Top             =   106
818            Underline       =   ""
819            Visible         =   True
820            Width           =   106
821         End
822         Begin PopupMenu PopupMenu_Dump
823            AutoDeactivate  =   True
824            Bold            =   ""
825            DataField       =   ""
826            DataSource      =   ""
827            Enabled         =   True
828            Height          =   20
829            HelpTag         =   ""
830            Index           =   -2147483648
831            InitialParent   =   "GroupBox2"
832            InitialValue    =   "Over\rSmooth\rCustom"
833            Italic          =   ""
834            Left            =   26
835            ListIndex       =   0
836            LockBottom      =   ""
837            LockedInPosition=   False
838            LockLeft        =   ""
839            LockRight       =   ""
840            LockTop         =   ""
841            Scope           =   0
842            TabIndex        =   14
843            TabPanelIndex   =   3
844            TabStop         =   True
845            TextFont        =   "System"
846            TextSize        =   0
847            Top             =   262
848            Underline       =   ""
849            Visible         =   True
850            Width           =   172
851         End
852         Begin StaticText StaticText_Dump
853            AutoDeactivate  =   True
854            Bold            =   ""
855            DataField       =   ""
856            DataSource      =   ""
857            Enabled         =   True
858            Height          =   20
859            HelpTag         =   ""
860            Index           =   -2147483648
861            InitialParent   =   "GroupBox2"
862            Italic          =   ""
863            Left            =   210
864            LockBottom      =   ""
865            LockedInPosition=   False
866            LockLeft        =   ""
867            LockRight       =   ""
868            LockTop         =   ""
869            Multiline       =   ""
870            Scope           =   0
871            TabIndex        =   15
872            TabPanelIndex   =   3
873            Text            =   "Dump"
874            TextAlign       =   0
875            TextColor       =   "&cB8B8B8"
876            TextFont        =   "System"
877            TextSize        =   0
878            Top             =   262
879            Underline       =   ""
880            Visible         =   True
881            Width           =   128
882         End
883         Begin PopupMenu PopupMenu_DBand
884            AutoDeactivate  =   True
885            Bold            =   ""
886            DataField       =   ""
887            DataSource      =   ""
888            Enabled         =   True
889            Height          =   20
890            HelpTag         =   ""
891            Index           =   -2147483648
892            InitialParent   =   "GroupBox2"
893            InitialValue    =   "Narrow\rMid\rWide\rCustom"
894            Italic          =   ""
895            Left            =   26
896            ListIndex       =   0
897            LockBottom      =   ""
898            LockedInPosition=   False
899            LockLeft        =   ""
900            LockRight       =   ""
901            LockTop         =   ""
902            Scope           =   0
903            TabIndex        =   16
904            TabPanelIndex   =   3
905            TabStop         =   True
906            TextFont        =   "System"
907            TextSize        =   0
908            Top             =   230
909            Underline       =   ""
910            Visible         =   True
911            Width           =   172
912         End
913         Begin StaticText StaticText_DBand
914            AutoDeactivate  =   True
915            Bold            =   ""
916            DataField       =   ""
917            DataSource      =   ""
918            Enabled         =   True
919            Height          =   20
920            HelpTag         =   ""
921            Index           =   -2147483648
922            InitialParent   =   "GroupBox2"
923            Italic          =   ""
924            Left            =   210
925            LockBottom      =   ""
926            LockedInPosition=   False
927            LockLeft        =   ""
928            LockRight       =   ""
929            LockTop         =   ""
930            Multiline       =   ""
931            Scope           =   0
932            TabIndex        =   17
933            TabPanelIndex   =   3
934            Text            =   "Drive Band"
935            TextAlign       =   0
936            TextColor       =   "&cB8B8B8"
937            TextFont        =   "System"
938            TextSize        =   0
939            Top             =   230
940            Underline       =   ""
941            Visible         =   True
942            Width           =   128
943         End
944         Begin Slider Slider_Punch
945            AutoDeactivate  =   True
946            Enabled         =   True
947            Height          =   16
948            HelpTag         =   ""
949            Index           =   -2147483648
950            InitialParent   =   "GroupBox2"
951            Left            =   26
952            LineStep        =   1
953            LiveScroll      =   ""
954            LockBottom      =   ""
955            LockedInPosition=   False
956            LockLeft        =   ""
957            LockRight       =   ""
958            LockTop         =   ""
959            Maximum         =   10
960            Minimum         =   1
961            PageStep        =   20
962            Scope           =   0
963            TabIndex        =   18
964            TabPanelIndex   =   3
965            TabStop         =   True
966            Top             =   202
967            Value           =   0
968            Visible         =   True
969            Width           =   128
970         End
971         Begin EditField EditField_Punch
972            AcceptTabs      =   ""
973            Alignment       =   0
974            AutoDeactivate  =   True
975            BackColor       =   &hFFFFFF
976            Bold            =   ""
977            Border          =   True
978            DataField       =   ""
979            DataSource      =   ""
980            Enabled         =   True
981            Format          =   ""
982            Height          =   22
983            HelpTag         =   ""
984            Index           =   -2147483648
985            InitialParent   =   "GroupBox2"
986            Italic          =   ""
987            Left            =   166
988            LimitText       =   0
989            LockBottom      =   ""
990            LockedInPosition=   False
991            LockLeft        =   ""
992            LockRight       =   ""
993            LockTop         =   ""
994            Mask            =   "###"
995            Multiline       =   ""
996            Password        =   ""
997            ReadOnly        =   ""
998            Scope           =   0
999            ScrollbarHorizontal=   ""
1000            ScrollbarVertical=   True
1001            Styled          =   ""
1002            TabIndex        =   19
1003            TabPanelIndex   =   3
1004            TabStop         =   True
1005            Text            =   ""
1006            TextColor       =   &h000000
1007            TextFont        =   "System"
1008            TextSize        =   0
1009            Top             =   202
1010            Underline       =   ""
1011            UseFocusRing    =   True
1012            Visible         =   True
1013            Width           =   32
1014         End
1015         Begin StaticText StaticText_Punch
1016            AutoDeactivate  =   True
1017            Bold            =   ""
1018            DataField       =   ""
1019            DataSource      =   ""
1020            Enabled         =   True
1021            Height          =   20
1022            HelpTag         =   ""
1023            Index           =   -2147483648
1024            InitialParent   =   "GroupBox2"
1025            Italic          =   ""
1026            Left            =   210
1027            LockBottom      =   ""
1028            LockedInPosition=   False
1029            LockLeft        =   ""
1030            LockRight       =   ""
1031            LockTop         =   ""
1032            Multiline       =   ""
1033            Scope           =   0
1034            TabIndex        =   20
1035            TabPanelIndex   =   3
1036            Text            =   "Punch"
1037            TextAlign       =   0
1038            TextColor       =   "&cB8B8B8"
1039            TextFont        =   "System"
1040            TextSize        =   0
1041            Top             =   202
1042            Underline       =   ""
1043            Visible         =   True
1044            Width           =   128
1045         End
1046         Begin PopupMenu PopupMenu_Speed
1047            AutoDeactivate  =   True
1048            Bold            =   ""
1049            DataField       =   ""
1050            DataSource      =   ""
1051            Enabled         =   True
1052            Height          =   20
1053            HelpTag         =   ""
1054            Index           =   -2147483648
1055            InitialParent   =   "GroupBox2"
1056            InitialValue    =   "Slow\r2\r3\r4\rFast\rCustom"
1057            Italic          =   ""
1058            Left            =   26
1059            ListIndex       =   0
1060            LockBottom      =   ""
1061            LockedInPosition=   False
1062            LockLeft        =   ""
1063            LockRight       =   ""
1064            LockTop         =   ""
1065            Scope           =   0
1066            TabIndex        =   21
1067            TabPanelIndex   =   3
1068            TabStop         =   True
1069            TextFont        =   "System"
1070            TextSize        =   0
1071            Top             =   170
1072            Underline       =   ""
1073            Visible         =   True
1074            Width           =   172
1075         End
1076         Begin StaticText StaticText_Speed
1077            AutoDeactivate  =   True
1078            Bold            =   ""
1079            DataField       =   ""
1080            DataSource      =   ""
1081            Enabled         =   True
1082            Height          =   20
1083            HelpTag         =   ""
1084            Index           =   -2147483648
1085            InitialParent   =   "GroupBox2"
1086            Italic          =   ""
1087            Left            =   210
1088            LockBottom      =   ""
1089            LockedInPosition=   False
1090            LockLeft        =   ""
1091            LockRight       =   ""
1092            LockTop         =   ""
1093            Multiline       =   ""
1094            Scope           =   0
1095            TabIndex        =   22
1096            TabPanelIndex   =   3
1097            Text            =   "Speed"
1098            TextAlign       =   0
1099            TextColor       =   "&cB8B8B8"
1100            TextFont        =   "System"
1101            TextSize        =   0
1102            Top             =   170
1103            Underline       =   ""
1104            Visible         =   True
1105            Width           =   100
1106         End
1107         Begin PopupMenu PopupMenu_Gain
1108            AutoDeactivate  =   True
1109            Bold            =   ""
1110            DataField       =   ""
1111            DataSource      =   ""
1112            Enabled         =   True
1113            Height          =   20
1114            HelpTag         =   ""
1115            Index           =   -2147483648
1116            InitialParent   =   "GroupBox2"
1117            InitialValue    =   "Min\rMid\rStrong\rCustom"
1118            Italic          =   ""
1119            Left            =   26
1120            ListIndex       =   0
1121            LockBottom      =   ""
1122            LockedInPosition=   False
1123            LockLeft        =   ""
1124            LockRight       =   ""
1125            LockTop         =   ""
1126            Scope           =   0
1127            TabIndex        =   23
1128            TabPanelIndex   =   3
1129            TabStop         =   True
1130            TextFont        =   "System"
1131            TextSize        =   0
1132            Top             =   138
1133            Underline       =   ""
1134            Visible         =   True
1135            Width           =   172
1136         End
1137         Begin StaticText StaticText_Gain
1138            AutoDeactivate  =   True
1139            Bold            =   ""
1140            DataField       =   ""
1141            DataSource      =   ""
1142            Enabled         =   True
1143            Height          =   20
1144            HelpTag         =   ""
1145            Index           =   -2147483648
1146            InitialParent   =   "GroupBox2"
1147            Italic          =   ""
1148            Left            =   210
1149            LockBottom      =   ""
1150            LockedInPosition=   False
1151            LockLeft        =   ""
1152            LockRight       =   ""
1153            LockTop         =   ""
1154            Multiline       =   ""
1155            Scope           =   0
1156            TabIndex        =   24
1157            TabPanelIndex   =   3
1158            Text            =   "Gain"
1159            TextAlign       =   0
1160            TextColor       =   "&cB8B8B8"
1161            TextFont        =   "System"
1162            TextSize        =   0
1163            Top             =   139
1164            Underline       =   ""
1165            Visible         =   True
1166            Width           =   100
1167         End
1168         Begin StaticText StaticText_CarType
1169            AutoDeactivate  =   True
1170            Bold            =   ""
1171            DataField       =   ""
1172            DataSource      =   ""
1173            Enabled         =   True
1174            Height          =   20
1175            HelpTag         =   ""
1176            Index           =   -2147483648
1177            InitialParent   =   "GroupBox2"
1178            Italic          =   ""
1179            Left            =   210
1180            LockBottom      =   ""
1181            LockedInPosition=   False
1182            LockLeft        =   ""
1183            LockRight       =   ""
1184            LockTop         =   ""
1185            Multiline       =   ""
1186            Scope           =   0
1187            TabIndex        =   25
1188            TabPanelIndex   =   3
1189            Text            =   "Car Type"
1190            TextAlign       =   0
1191            TextColor       =   "&cB8B8B8"
1192            TextFont        =   "System"
1193            TextSize        =   0
1194            Top             =   106
1195            Underline       =   ""
1196            Visible         =   True
1197            Width           =   100
1198         End
1199         Begin PopupMenu PopupMenu_CarType
1200            AutoDeactivate  =   True
1201            Bold            =   ""
1202            DataField       =   ""
1203            DataSource      =   ""
1204            Enabled         =   True
1205            Height          =   20
1206            HelpTag         =   ""
1207            Index           =   -2147483648
1208            InitialParent   =   "GroupBox2"
1209            InitialValue    =   "MR-03\rdNaNo\rASF"
1210            Italic          =   ""
1211            Left            =   26
1212            ListIndex       =   0
1213            LockBottom      =   ""
1214            LockedInPosition=   False
1215            LockLeft        =   ""
1216            LockRight       =   ""
1217            LockTop         =   ""
1218            Scope           =   0
1219            TabIndex        =   26
1220            TabPanelIndex   =   3
1221            TabStop         =   True
1222            TextFont        =   "System"
1223            TextSize        =   0
1224            Top             =   106
1225            Underline       =   ""
1226            Visible         =   True
1227            Width           =   172
1228         End
1229      End
1230      Begin EditField EditField_Byte1
1231         AcceptTabs      =   ""
1232         Alignment       =   0
1233         AutoDeactivate  =   True
1234         BackColor       =   &hFFFFFF
1235         Bold            =   ""
1236         Border          =   True
1237         DataField       =   ""
1238         DataSource      =   ""
1239         Enabled         =   False
1240         Format          =   ""
1241         Height          =   22
1242         HelpTag         =   ""
1243         Index           =   -2147483648
1244         InitialParent   =   "TabPanel1"
1245         Italic          =   ""
1246         Left            =   26
1247         LimitText       =   0
1248         LockBottom      =   ""
1249         LockedInPosition=   False
1250         LockLeft        =   ""
1251         LockRight       =   ""
1252         LockTop         =   ""
1253         Mask            =   "###"
1254         Multiline       =   ""
1255         Password        =   ""
1256         ReadOnly        =   ""
1257         Scope           =   0
1258         ScrollbarHorizontal=   ""
1259         ScrollbarVertical=   True
1260         Styled          =   ""
1261         TabIndex        =   2
1262         TabPanelIndex   =   4
1263         TabStop         =   True
1264         Text            =   ""
1265         TextColor       =   &h000000
1266         TextFont        =   "System"
1267         TextSize        =   0
1268         Top             =   96
1269         Underline       =   ""
1270         UseFocusRing    =   True
1271         Visible         =   True
1272         Width           =   32
1273      End
1274      Begin EditField EditField_Byte18
1275         AcceptTabs      =   ""
1276         Alignment       =   0
1277         AutoDeactivate  =   True
1278         BackColor       =   &hFFFFFF
1279         Bold            =   ""
1280         Border          =   True
1281         DataField       =   ""
1282         DataSource      =   ""
1283         Enabled         =   False
1284         Format          =   ""
1285         Height          =   22
1286         HelpTag         =   ""
1287         Index           =   -2147483648
1288         InitialParent   =   "TabPanel1"
1289         Italic          =   ""
1290         Left            =   316
1291         LimitText       =   0
1292         LockBottom      =   ""
1293         LockedInPosition=   False
1294         LockLeft        =   ""
1295         LockRight       =   ""
1296         LockTop         =   ""
1297         Mask            =   "###"
1298         Multiline       =   ""
1299         Password        =   ""
1300         ReadOnly        =   ""
1301         Scope           =   0
1302         ScrollbarHorizontal=   ""
1303         ScrollbarVertical=   True
1304         Styled          =   ""
1305         TabIndex        =   3
1306         TabPanelIndex   =   4
1307         TabStop         =   True
1308         Text            =   ""
1309         TextColor       =   &h000000
1310         TextFont        =   "System"
1311         TextSize        =   0
1312         Top             =   266
1313         Underline       =   ""
1314         UseFocusRing    =   True
1315         Visible         =   False
1316         Width           =   32
1317      End
1318      Begin EditField EditField_Byte17
1319         AcceptTabs      =   ""
1320         Alignment       =   0
1321         AutoDeactivate  =   True
1322         BackColor       =   &hFFFFFF
1323         Bold            =   ""
1324         Border          =   True
1325         DataField       =   ""
1326         DataSource      =   ""
1327         Enabled         =   True
1328         Format          =   ""
1329         Height          =   22
1330         HelpTag         =   ""
1331         Index           =   -2147483648
1332         InitialParent   =   "TabPanel1"
1333         Italic          =   ""
1334         Left            =   316
1335         LimitText       =   0
1336         LockBottom      =   ""
1337         LockedInPosition=   False
1338         LockLeft        =   ""
1339         LockRight       =   ""
1340         LockTop         =   ""
1341         Mask            =   "###"
1342         Multiline       =   ""
1343         Password        =   ""
1344         ReadOnly        =   ""
1345         Scope           =   0
1346         ScrollbarHorizontal=   ""
1347         ScrollbarVertical=   True
1348         Styled          =   ""
1349         TabIndex        =   4
1350         TabPanelIndex   =   4
1351         TabStop         =   True
1352         Text            =   ""
1353         TextColor       =   &h000000
1354         TextFont        =   "System"
1355         TextSize        =   0
1356         Top             =   232
1357         Underline       =   ""
1358         UseFocusRing    =   True
1359         Visible         =   True
1360         Width           =   32
1361      End
1362      Begin EditField EditField_Byte16
1363         AcceptTabs      =   ""
1364         Alignment       =   0
1365         AutoDeactivate  =   True
1366         BackColor       =   &hFFFFFF
1367         Bold            =   ""
1368         Border          =   True
1369         DataField       =   ""
1370         DataSource      =   ""
1371         Enabled         =   True
1372         Format          =   ""
1373         Height          =   22
1374         HelpTag         =   ""
1375         Index           =   -2147483648
1376         InitialParent   =   "TabPanel1"
1377         Italic          =   ""
1378         Left            =   316
1379         LimitText       =   0
1380         LockBottom      =   ""
1381         LockedInPosition=   False
1382         LockLeft        =   ""
1383         LockRight       =   ""
1384         LockTop         =   ""
1385         Mask            =   "###"
1386         Multiline       =   ""
1387         Password        =   ""
1388         ReadOnly        =   ""
1389         Scope           =   0
1390         ScrollbarHorizontal=   ""
1391         ScrollbarVertical=   True
1392         Styled          =   ""
1393         TabIndex        =   5
1394         TabPanelIndex   =   4
1395         TabStop         =   True
1396         Text            =   ""
1397         TextColor       =   &h000000
1398         TextFont        =   "System"
1399         TextSize        =   0
1400         Top             =   198
1401         Underline       =   ""
1402         UseFocusRing    =   True
1403         Visible         =   True
1404         Width           =   32
1405      End
1406      Begin EditField EditField_Byte15
1407         AcceptTabs      =   ""
1408         Alignment       =   0
1409         AutoDeactivate  =   True
1410         BackColor       =   &hFFFFFF
1411         Bold            =   ""
1412         Border          =   True
1413         DataField       =   ""
1414         DataSource      =   ""
1415         Enabled         =   True
1416         Format          =   ""
1417         Height          =   22
1418         HelpTag         =   ""
1419         Index           =   -2147483648
1420         InitialParent   =   "TabPanel1"
1421         Italic          =   ""
1422         Left            =   316
1423         LimitText       =   0
1424         LockBottom      =   ""
1425         LockedInPosition=   False
1426         LockLeft        =   ""
1427         LockRight       =   ""
1428         LockTop         =   ""
1429         Mask            =   "###"
1430         Multiline       =   ""
1431         Password        =   ""
1432         ReadOnly        =   ""
1433         Scope           =   0
1434         ScrollbarHorizontal=   ""
1435         ScrollbarVertical=   True
1436         Styled          =   ""
1437         TabIndex        =   6
1438         TabPanelIndex   =   4
1439         TabStop         =   True
1440         Text            =   ""
1441         TextColor       =   &h000000
1442         TextFont        =   "System"
1443         TextSize        =   0
1444         Top             =   164
1445         Underline       =   ""
1446         UseFocusRing    =   True
1447         Visible         =   True
1448         Width           =   32
1449      End
1450      Begin EditField EditField_Byte14
1451         AcceptTabs      =   ""
1452         Alignment       =   0
1453         AutoDeactivate  =   True
1454         BackColor       =   &hFFFFFF
1455         Bold            =   ""
1456         Border          =   True
1457         DataField       =   ""
1458         DataSource      =   ""
1459         Enabled         =   True
1460         Format          =   ""
1461         Height          =   22
1462         HelpTag         =   ""
1463         Index           =   -2147483648
1464         InitialParent   =   "TabPanel1"
1465         Italic          =   ""
1466         Left            =   316
1467         LimitText       =   0
1468         LockBottom      =   ""
1469         LockedInPosition=   False
1470         LockLeft        =   ""
1471         LockRight       =   ""
1472         LockTop         =   ""
1473         Mask            =   "###"
1474         Multiline       =   ""
1475         Password        =   ""
1476         ReadOnly        =   ""
1477         Scope           =   0
1478         ScrollbarHorizontal=   ""
1479         ScrollbarVertical=   True
1480         Styled          =   ""
1481         TabIndex        =   7
1482         TabPanelIndex   =   4
1483         TabStop         =   True
1484         Text            =   ""
1485         TextColor       =   &h000000
1486         TextFont        =   "System"
1487         TextSize        =   0
1488         Top             =   130
1489         Underline       =   ""
1490         UseFocusRing    =   True
1491         Visible         =   True
1492         Width           =   32
1493      End
1494      Begin EditField EditField_Byte13
1495         AcceptTabs      =   ""
1496         Alignment       =   0
1497         AutoDeactivate  =   True
1498         BackColor       =   &hFFFFFF
1499         Bold            =   ""
1500         Border          =   True
1501         DataField       =   ""
1502         DataSource      =   ""
1503         Enabled         =   True
1504         Format          =   ""
1505         Height          =   22
1506         HelpTag         =   ""
1507         Index           =   -2147483648
1508         InitialParent   =   "TabPanel1"
1509         Italic          =   ""
1510         Left            =   316
1511         LimitText       =   0
1512         LockBottom      =   ""
1513         LockedInPosition=   False
1514         LockLeft        =   ""
1515         LockRight       =   ""
1516         LockTop         =   ""
1517         Mask            =   "###"
1518         Multiline       =   ""
1519         Password        =   ""
1520         ReadOnly        =   ""
1521         Scope           =   0
1522         ScrollbarHorizontal=   ""
1523         ScrollbarVertical=   True
1524         Styled          =   ""
1525         TabIndex        =   8
1526         TabPanelIndex   =   4
1527         TabStop         =   True
1528         Text            =   ""
1529         TextColor       =   &h000000
1530         TextFont        =   "System"
1531         TextSize        =   0
1532         Top             =   95
1533         Underline       =   ""
1534         UseFocusRing    =   True
1535         Visible         =   True
1536         Width           =   32
1537      End
1538      Begin EditField EditField_Byte12
1539         AcceptTabs      =   ""
1540         Alignment       =   0
1541         AutoDeactivate  =   True
1542         BackColor       =   &hFFFFFF
1543         Bold            =   ""
1544         Border          =   True
1545         DataField       =   ""
1546         DataSource      =   ""
1547         Enabled         =   True
1548         Format          =   ""
1549         Height          =   22
1550         HelpTag         =   ""
1551         Index           =   -2147483648
1552         InitialParent   =   "TabPanel1"
1553         Italic          =   ""
1554         Left            =   154
1555         LimitText       =   0
1556         LockBottom      =   ""
1557         LockedInPosition=   False
1558         LockLeft        =   ""
1559         LockRight       =   ""
1560         LockTop         =   ""
1561         Mask            =   "###"
1562         Multiline       =   ""
1563         Password        =   ""
1564         ReadOnly        =   ""
1565         Scope           =   0
1566         ScrollbarHorizontal=   ""
1567         ScrollbarVertical=   True
1568         Styled          =   ""
1569         TabIndex        =   9
1570         TabPanelIndex   =   4
1571         TabStop         =   True
1572         Text            =   ""
1573         TextColor       =   &h000000
1574         TextFont        =   "System"
1575         TextSize        =   0
1576         Top             =   266
1577         Underline       =   ""
1578         UseFocusRing    =   True
1579         Visible         =   True
1580         Width           =   32
1581      End
1582      Begin EditField EditField_Byte11
1583         AcceptTabs      =   ""
1584         Alignment       =   0
1585         AutoDeactivate  =   True
1586         BackColor       =   &hFFFFFF
1587         Bold            =   ""
1588         Border          =   True
1589         DataField       =   ""
1590         DataSource      =   ""
1591         Enabled         =   True
1592         Format          =   ""
1593         Height          =   22
1594         HelpTag         =   ""
1595         Index           =   -2147483648
1596         InitialParent   =   "TabPanel1"
1597         Italic          =   ""
1598         Left            =   154
1599         LimitText       =   0
1600         LockBottom      =   ""
1601         LockedInPosition=   False
1602         LockLeft        =   ""
1603         LockRight       =   ""
1604         LockTop         =   ""
1605         Mask            =   "###"
1606         Multiline       =   ""
1607         Password        =   ""
1608         ReadOnly        =   ""
1609         Scope           =   0
1610         ScrollbarHorizontal=   ""
1611         ScrollbarVertical=   True
1612         Styled          =   ""
1613         TabIndex        =   10
1614         TabPanelIndex   =   4
1615         TabStop         =   True
1616         Text            =   ""
1617         TextColor       =   &h000000
1618         TextFont        =   "System"
1619         TextSize        =   0
1620         Top             =   232
1621         Underline       =   ""
1622         UseFocusRing    =   True
1623         Visible         =   True
1624         Width           =   32
1625      End
1626      Begin EditField EditField_Byte10
1627         AcceptTabs      =   ""
1628         Alignment       =   0
1629         AutoDeactivate  =   True
1630         BackColor       =   &hFFFFFF
1631         Bold            =   ""
1632         Border          =   True
1633         DataField       =   ""
1634         DataSource      =   ""
1635         Enabled         =   True
1636         Format          =   ""
1637         Height          =   22
1638         HelpTag         =   ""
1639         Index           =   -2147483648
1640         InitialParent   =   "TabPanel1"
1641         Italic          =   ""
1642         Left            =   154
1643         LimitText       =   0
1644         LockBottom      =   ""
1645         LockedInPosition=   False
1646         LockLeft        =   ""
1647         LockRight       =   ""
1648         LockTop         =   ""
1649         Mask            =   "###"
1650         Multiline       =   ""
1651         Password        =   ""
1652         ReadOnly        =   ""
1653         Scope           =   0
1654         ScrollbarHorizontal=   ""
1655         ScrollbarVertical=   True
1656         Styled          =   ""
1657         TabIndex        =   11
1658         TabPanelIndex   =   4
1659         TabStop         =   True
1660         Text            =   ""
1661         TextColor       =   &h000000
1662         TextFont        =   "System"
1663         TextSize        =   0
1664         Top             =   198
1665         Underline       =   ""
1666         UseFocusRing    =   True
1667         Visible         =   True
1668         Width           =   32
1669      End
1670      Begin EditField EditField_Byte9
1671         AcceptTabs      =   ""
1672         Alignment       =   0
1673         AutoDeactivate  =   True
1674         BackColor       =   &hFFFFFF
1675         Bold            =   ""
1676         Border          =   True
1677         DataField       =   ""
1678         DataSource      =   ""
1679         Enabled         =   True
1680         Format          =   ""
1681         Height          =   22
1682         HelpTag         =   ""
1683         Index           =   -2147483648
1684         InitialParent   =   "TabPanel1"
1685         Italic          =   ""
1686         Left            =   154
1687         LimitText       =   0
1688         LockBottom      =   ""
1689         LockedInPosition=   False
1690         LockLeft        =   ""
1691         LockRight       =   ""
1692         LockTop         =   ""
1693         Mask            =   "###"
1694         Multiline       =   ""
1695         Password        =   ""
1696         ReadOnly        =   ""
1697         Scope           =   0
1698         ScrollbarHorizontal=   ""
1699         ScrollbarVertical=   True
1700         Styled          =   ""
1701         TabIndex        =   12
1702         TabPanelIndex   =   4
1703         TabStop         =   True
1704         Text            =   ""
1705         TextColor       =   &h000000
1706         TextFont        =   "System"
1707         TextSize        =   0
1708         Top             =   164
1709         Underline       =   ""
1710         UseFocusRing    =   True
1711         Visible         =   True
1712         Width           =   32
1713      End
1714      Begin EditField EditField_Byte8
1715         AcceptTabs      =   ""
1716         Alignment       =   0
1717         AutoDeactivate  =   True
1718         BackColor       =   &hFFFFFF
1719         Bold            =   ""
1720         Border          =   True
1721         DataField       =   ""
1722         DataSource      =   ""
1723         Enabled         =   True
1724         Format          =   ""
1725         Height          =   22
1726         HelpTag         =   ""
1727         Index           =   -2147483648
1728         InitialParent   =   "TabPanel1"
1729         Italic          =   ""
1730         Left            =   154
1731         LimitText       =   0
1732         LockBottom      =   ""
1733         LockedInPosition=   False
1734         LockLeft        =   ""
1735         LockRight       =   ""
1736         LockTop         =   ""
1737         Mask            =   "###"
1738         Multiline       =   ""
1739         Password        =   ""
1740         ReadOnly        =   ""
1741         Scope           =   0
1742         ScrollbarHorizontal=   ""
1743         ScrollbarVertical=   True
1744         Styled          =   ""
1745         TabIndex        =   13
1746         TabPanelIndex   =   4
1747         TabStop         =   True
1748         Text            =   ""
1749         TextColor       =   &h000000
1750         TextFont        =   "System"
1751         TextSize        =   0
1752         Top             =   129
1753         Underline       =   ""
1754         UseFocusRing    =   True
1755         Visible         =   True
1756         Width           =   32
1757      End
1758      Begin EditField EditField_Byte7
1759         AcceptTabs      =   ""
1760         Alignment       =   0
1761         AutoDeactivate  =   True
1762         BackColor       =   &hFFFFFF
1763         Bold            =   ""
1764         Border          =   True
1765         DataField       =   ""
1766         DataSource      =   ""
1767         Enabled         =   True
1768         Format          =   ""
1769         Height          =   22
1770         HelpTag         =   ""
1771         Index           =   -2147483648
1772         InitialParent   =   "TabPanel1"
1773         Italic          =   ""
1774         Left            =   154
1775         LimitText       =   0
1776         LockBottom      =   ""
1777         LockedInPosition=   False
1778         LockLeft        =   ""
1779         LockRight       =   ""
1780         LockTop         =   ""
1781         Mask            =   "###"
1782         Multiline       =   ""
1783         Password        =   ""
1784         ReadOnly        =   ""
1785         Scope           =   0
1786         ScrollbarHorizontal=   ""
1787         ScrollbarVertical=   True
1788         Styled          =   ""
1789         TabIndex        =   14
1790         TabPanelIndex   =   4
1791         TabStop         =   True
1792         Text            =   ""
1793         TextColor       =   &h000000
1794         TextFont        =   "System"
1795         TextSize        =   0
1796         Top             =   95
1797         Underline       =   ""
1798         UseFocusRing    =   True
1799         Visible         =   True
1800         Width           =   32
1801      End
1802      Begin EditField EditField_Byte6
1803         AcceptTabs      =   ""
1804         Alignment       =   0
1805         AutoDeactivate  =   True
1806         BackColor       =   &hFFFFFF
1807         Bold            =   ""
1808         Border          =   True
1809         DataField       =   ""
1810         DataSource      =   ""
1811         Enabled         =   True
1812         Format          =   ""
1813         Height          =   22
1814         HelpTag         =   ""
1815         Index           =   -2147483648
1816         InitialParent   =   "TabPanel1"
1817         Italic          =   ""
1818         Left            =   26
1819         LimitText       =   0
1820         LockBottom      =   ""
1821         LockedInPosition=   False
1822         LockLeft        =   ""
1823         LockRight       =   ""
1824         LockTop         =   ""
1825         Mask            =   "###"
1826         Multiline       =   ""
1827         Password        =   ""
1828         ReadOnly        =   ""
1829         Scope           =   0
1830         ScrollbarHorizontal=   ""
1831         ScrollbarVertical=   True
1832         Styled          =   ""
1833         TabIndex        =   15
1834         TabPanelIndex   =   4
1835         TabStop         =   True
1836         Text            =   ""
1837         TextColor       =   &h000000
1838         TextFont        =   "System"
1839         TextSize        =   0
1840         Top             =   266
1841         Underline       =   ""
1842         UseFocusRing    =   True
1843         Visible         =   True
1844         Width           =   32
1845      End
1846      Begin EditField EditField_Byte5
1847         AcceptTabs      =   ""
1848         Alignment       =   0
1849         AutoDeactivate  =   True
1850         BackColor       =   &hFFFFFF
1851         Bold            =   ""
1852         Border          =   True
1853         DataField       =   ""
1854         DataSource      =   ""
1855         Enabled         =   True
1856         Format          =   ""
1857         Height          =   22
1858         HelpTag         =   ""
1859         Index           =   -2147483648
1860         InitialParent   =   "TabPanel1"
1861         Italic          =   ""
1862         Left            =   26
1863         LimitText       =   0
1864         LockBottom      =   ""
1865         LockedInPosition=   False
1866         LockLeft        =   ""
1867         LockRight       =   ""
1868         LockTop         =   ""
1869         Mask            =   "###"
1870         Multiline       =   ""
1871         Password        =   ""
1872         ReadOnly        =   ""
1873         Scope           =   0
1874         ScrollbarHorizontal=   ""
1875         ScrollbarVertical=   True
1876         Styled          =   ""
1877         TabIndex        =   16
1878         TabPanelIndex   =   4
1879         TabStop         =   True
1880         Text            =   ""
1881         TextColor       =   &h000000
1882         TextFont        =   "System"
1883         TextSize        =   0
1884         Top             =   233
1885         Underline       =   ""
1886         UseFocusRing    =   True
1887         Visible         =   True
1888         Width           =   32
1889      End
1890      Begin EditField EditField_Byte4
1891         AcceptTabs      =   ""
1892         Alignment       =   0
1893         AutoDeactivate  =   True
1894         BackColor       =   &hFFFFFF
1895         Bold            =   ""
1896         Border          =   True
1897         DataField       =   ""
1898         DataSource      =   ""
1899         Enabled         =   True
1900         Format          =   ""
1901         Height          =   22
1902         HelpTag         =   ""
1903         Index           =   -2147483648
1904         InitialParent   =   "TabPanel1"
1905         Italic          =   ""
1906         Left            =   26
1907         LimitText       =   0
1908         LockBottom      =   ""
1909         LockedInPosition=   False
1910         LockLeft        =   ""
1911         LockRight       =   ""
1912         LockTop         =   ""
1913         Mask            =   "###"
1914         Multiline       =   ""
1915         Password        =   ""
1916         ReadOnly        =   ""
1917         Scope           =   0
1918         ScrollbarHorizontal=   ""
1919         ScrollbarVertical=   True
1920         Styled          =   ""
1921         TabIndex        =   17
1922         TabPanelIndex   =   4
1923         TabStop         =   True
1924         Text            =   ""
1925         TextColor       =   &h000000
1926         TextFont        =   "System"
1927         TextSize        =   0
1928         Top             =   199
1929         Underline       =   ""
1930         UseFocusRing    =   True
1931         Visible         =   True
1932         Width           =   32
1933      End
1934      Begin EditField EditField_Byte3
1935         AcceptTabs      =   ""
1936         Alignment       =   0
1937         AutoDeactivate  =   True
1938         BackColor       =   &hFFFFFF
1939         Bold            =   ""
1940         Border          =   True
1941         DataField       =   ""
1942         DataSource      =   ""
1943         Enabled         =   True
1944         Format          =   ""
1945         Height          =   22
1946         HelpTag         =   ""
1947         Index           =   -2147483648
1948         InitialParent   =   "TabPanel1"
1949         Italic          =   ""
1950         Left            =   26
1951         LimitText       =   0
1952         LockBottom      =   ""
1953         LockedInPosition=   False
1954         LockLeft        =   ""
1955         LockRight       =   ""
1956         LockTop         =   ""
1957         Mask            =   "###"
1958         Multiline       =   ""
1959         Password        =   ""
1960         ReadOnly        =   ""
1961         Scope           =   0
1962         ScrollbarHorizontal=   ""
1963         ScrollbarVertical=   True
1964         Styled          =   ""
1965         TabIndex        =   18
1966         TabPanelIndex   =   4
1967         TabStop         =   True
1968         Text            =   ""
1969         TextColor       =   &h000000
1970         TextFont        =   "System"
1971         TextSize        =   0
1972         Top             =   164
1973         Underline       =   ""
1974         UseFocusRing    =   True
1975         Visible         =   True
1976         Width           =   32
1977      End
1978      Begin EditField EditField_Byte2
1979         AcceptTabs      =   ""
1980         Alignment       =   0
1981         AutoDeactivate  =   True
1982         BackColor       =   &hFFFFFF
1983         Bold            =   ""
1984         Border          =   True
1985         DataField       =   ""
1986         DataSource      =   ""
1987         Enabled         =   False
1988         Format          =   ""
1989         Height          =   22
1990         HelpTag         =   ""
1991         Index           =   -2147483648
1992         InitialParent   =   "TabPanel1"
1993         Italic          =   ""
1994         Left            =   26
1995         LimitText       =   0
1996         LockBottom      =   ""
1997         LockedInPosition=   False
1998         LockLeft        =   ""
1999         LockRight       =   ""
2000         LockTop         =   ""
2001         Mask            =   "###"
2002         Multiline       =   ""
2003         Password        =   ""
2004         ReadOnly        =   ""
2005         Scope           =   0
2006         ScrollbarHorizontal=   ""
2007         ScrollbarVertical=   True
2008         Styled          =   ""
2009         TabIndex        =   19
2010         TabPanelIndex   =   4
2011         TabStop         =   True
2012         Text            =   ""
2013         TextColor       =   &h000000
2014         TextFont        =   "System"
2015         TextSize        =   0
2016         Top             =   130
2017         Underline       =   ""
2018         UseFocusRing    =   True
2019         Visible         =   True
2020         Width           =   32
2021      End
2022      Begin StaticText StaticText_Byte1
2023         AutoDeactivate  =   True
2024         Bold            =   ""
2025         DataField       =   ""
2026         DataSource      =   ""
2027         Enabled         =   True
2028         Height          =   20
2029         HelpTag         =   ""
2030         Index           =   -2147483648
2031         InitialParent   =   "TabPanel1"
2032         Italic          =   ""
2033         Left            =   70
2034         LockBottom      =   ""
2035         LockedInPosition=   False
2036         LockLeft        =   ""
2037         LockRight       =   ""
2038         LockTop         =   ""
2039         Multiline       =   ""
2040         Scope           =   0
2041         TabIndex        =   21
2042         TabPanelIndex   =   4
2043         Text            =   "Header"
2044         TextAlign       =   0
2045         TextColor       =   "&cB8B8B8"
2046         TextFont        =   "System"
2047         TextSize        =   0
2048         Top             =   96
2049         Underline       =   ""
2050         Visible         =   True
2051         Width           =   106
2052      End
2053      Begin StaticText StaticText_Byte6
2054         AutoDeactivate  =   True
2055         Bold            =   ""
2056         DataField       =   ""
2057         DataSource      =   ""
2058         Enabled         =   True
2059         Height          =   20
2060         HelpTag         =   ""
2061         Index           =   -2147483648
2062         InitialParent   =   "TabPanel1"
2063         Italic          =   ""
2064         Left            =   70
2065         LockBottom      =   ""
2066         LockedInPosition=   False
2067         LockLeft        =   ""
2068         LockRight       =   ""
2069         LockTop         =   ""
2070         Multiline       =   ""
2071         Scope           =   0
2072         TabIndex        =   22
2073         TabPanelIndex   =   4
2074         Text            =   "Drive Band"
2075         TextAlign       =   0
2076         TextColor       =   "&cB8B8B8"
2077         TextFont        =   "System"
2078         TextSize        =   0
2079         Top             =   266
2080         Underline       =   ""
2081         Visible         =   True
2082         Width           =   106
2083      End
2084      Begin StaticText StaticText_Byte5
2085         AutoDeactivate  =   True
2086         Bold            =   ""
2087         DataField       =   ""
2088         DataSource      =   ""
2089         Enabled         =   True
2090         Height          =   20
2091         HelpTag         =   ""
2092         Index           =   -2147483648
2093         InitialParent   =   "TabPanel1"
2094         Italic          =   ""
2095         Left            =   70
2096         LockBottom      =   ""
2097         LockedInPosition=   False
2098         LockLeft        =   ""
2099         LockRight       =   ""
2100         LockTop         =   ""
2101         Multiline       =   ""
2102         Scope           =   0
2103         TabIndex        =   23
2104         TabPanelIndex   =   4
2105         Text            =   "Punch"
2106         TextAlign       =   0
2107         TextColor       =   "&cB8B8B8"
2108         TextFont        =   "System"
2109         TextSize        =   0
2110         Top             =   232
2111         Underline       =   ""
2112         Visible         =   True
2113         Width           =   106
2114      End
2115      Begin StaticText StaticText_Byte4
2116         AutoDeactivate  =   True
2117         Bold            =   ""
2118         DataField       =   ""
2119         DataSource      =   ""
2120         Enabled         =   True
2121         Height          =   20
2122         HelpTag         =   ""
2123         Index           =   -2147483648
2124         InitialParent   =   "TabPanel1"
2125         Italic          =   ""
2126         Left            =   70
2127         LockBottom      =   ""
2128         LockedInPosition=   False
2129         LockLeft        =   ""
2130         LockRight       =   ""
2131         LockTop         =   ""
2132         Multiline       =   ""
2133         Scope           =   0
2134         TabIndex        =   24
2135         TabPanelIndex   =   4
2136         Text            =   "Speed"
2137         TextAlign       =   0
2138         TextColor       =   "&cB8B8B8"
2139         TextFont        =   "System"
2140         TextSize        =   0
2141         Top             =   200
2142         Underline       =   ""
2143         Visible         =   True
2144         Width           =   106
2145      End
2146      Begin StaticText StaticText_Byte3
2147         AutoDeactivate  =   True
2148         Bold            =   ""
2149         DataField       =   ""
2150         DataSource      =   ""
2151         Enabled         =   True
2152         Height          =   20
2153         HelpTag         =   ""
2154         Index           =   -2147483648
2155         InitialParent   =   "TabPanel1"
2156         Italic          =   ""
2157         Left            =   70
2158         LockBottom      =   ""
2159         LockedInPosition=   False
2160         LockLeft        =   ""
2161         LockRight       =   ""
2162         LockTop         =   ""
2163         Multiline       =   ""
2164         Scope           =   0
2165         TabIndex        =   25
2166         TabPanelIndex   =   4
2167         Text            =   "Gain"
2168         TextAlign       =   0
2169         TextColor       =   "&cB8B8B8"
2170         TextFont        =   "System"
2171         TextSize        =   0
2172         Top             =   164
2173         Underline       =   ""
2174         Visible         =   True
2175         Width           =   106
2176      End
2177      Begin StaticText StaticText_Byte2
2178         AutoDeactivate  =   True
2179         Bold            =   ""
2180         DataField       =   ""
2181         DataSource      =   ""
2182         Enabled         =   True
2183         Height          =   20
2184         HelpTag         =   ""
2185         Index           =   -2147483648
2186         InitialParent   =   "TabPanel1"
2187         Italic          =   ""
2188         Left            =   70
2189         LockBottom      =   ""
2190         LockedInPosition=   False
2191         LockLeft        =   ""
2192         LockRight       =   ""
2193         LockTop         =   ""
2194         Multiline       =   ""
2195         Scope           =   0
2196         TabIndex        =   26
2197         TabPanelIndex   =   4
2198         Text            =   "Header"
2199         TextAlign       =   0
2200         TextColor       =   "&cB8B8B8"
2201         TextFont        =   "System"
2202         TextSize        =   0
2203         Top             =   130
2204         Underline       =   ""
2205         Visible         =   True
2206         Width           =   106
2207      End
2208      Begin StaticText StaticText_Byte7
2209         AutoDeactivate  =   True
2210         Bold            =   ""
2211         DataField       =   ""
2212         DataSource      =   ""
2213         Enabled         =   True
2214         Height          =   20
2215         HelpTag         =   ""
2216         Index           =   -2147483648
2217         InitialParent   =   "TabPanel1"
2218         Italic          =   ""
2219         Left            =   200
2220         LockBottom      =   ""
2221         LockedInPosition=   False
2222         LockLeft        =   ""
2223         LockRight       =   ""
2224         LockTop         =   ""
2225         Multiline       =   ""
2226         Scope           =   0
2227         TabIndex        =   27
2228         TabPanelIndex   =   4
2229         Text            =   "Dump"
2230         TextAlign       =   0
2231         TextColor       =   "&cB8B8B8"
2232         TextFont        =   "System"
2233         TextSize        =   0
2234         Top             =   97
2235         Underline       =   ""
2236         Visible         =   True
2237         Width           =   106
2238      End
2239      Begin StaticText StaticText_Byte8
2240         AutoDeactivate  =   True
2241         Bold            =   ""
2242         DataField       =   ""
2243         DataSource      =   ""
2244         Enabled         =   True
2245         Height          =   20
2246         HelpTag         =   ""
2247         Index           =   -2147483648
2248         InitialParent   =   "TabPanel1"
2249         Italic          =   ""
2250         Left            =   200
2251         LockBottom      =   ""
2252         LockedInPosition=   False
2253         LockLeft        =   ""
2254         LockRight       =   ""
2255         LockTop         =   ""
2256         Multiline       =   ""
2257         Scope           =   0
2258         TabIndex        =   28
2259         TabPanelIndex   =   4
2260         Text            =   "Drive Frequency"
2261         TextAlign       =   0
2262         TextColor       =   "&cB8B8B8"
2263         TextFont        =   "System"
2264         TextSize        =   0
2265         Top             =   130
2266         Underline       =   ""
2267         Visible         =   True
2268         Width           =   106
2269      End
2270      Begin StaticText StaticText_Byte9
2271         AutoDeactivate  =   True
2272         Bold            =   ""
2273         DataField       =   ""
2274         DataSource      =   ""
2275         Enabled         =   True
2276         Height          =   20
2277         HelpTag         =   ""
2278         Index           =   -2147483648
2279         InitialParent   =   "TabPanel1"
2280         Italic          =   ""
2281         Left            =   198
2282         LockBottom      =   ""
2283         LockedInPosition=   False
2284         LockLeft        =   ""
2285         LockRight       =   ""
2286         LockTop         =   ""
2287         Multiline       =   ""
2288         Scope           =   0
2289         TabIndex        =   29
2290         TabPanelIndex   =   4
2291         Text            =   "Unknown"
2292         TextAlign       =   0
2293         TextColor       =   "&cB8B8B8"
2294         TextFont        =   "System"
2295         TextSize        =   0
2296         Top             =   166
2297         Underline       =   ""
2298         Visible         =   True
2299         Width           =   106
2300      End
2301      Begin StaticText StaticText_Byte10
2302         AutoDeactivate  =   True
2303         Bold            =   ""
2304         DataField       =   ""
2305         DataSource      =   ""
2306         Enabled         =   True
2307         Height          =   20
2308         HelpTag         =   ""
2309         Index           =   -2147483648
2310         InitialParent   =   "TabPanel1"
2311         Italic          =   ""
2312         Left            =   200
2313         LockBottom      =   ""
2314         LockedInPosition=   False
2315         LockLeft        =   ""
2316         LockRight       =   ""
2317         LockTop         =   ""
2318         Multiline       =   ""
2319         Scope           =   0
2320         TabIndex        =   30
2321         TabPanelIndex   =   4
2322         Text            =   "Unknown"
2323         TextAlign       =   0
2324         TextColor       =   "&cB8B8B8"
2325         TextFont        =   "System"
2326         TextSize        =   0
2327         Top             =   200
2328         Underline       =   ""
2329         Visible         =   True
2330         Width           =   106
2331      End
2332      Begin StaticText StaticText_Byte11
2333         AutoDeactivate  =   True
2334         Bold            =   ""
2335         DataField       =   ""
2336         DataSource      =   ""
2337         Enabled         =   True
2338         Height          =   20
2339         HelpTag         =   ""
2340         Index           =   -2147483648
2341         InitialParent   =   "TabPanel1"
2342         Italic          =   ""
2343         Left            =   198
2344         LockBottom      =   ""
2345         LockedInPosition=   False
2346         LockLeft        =   ""
2347         LockRight       =   ""
2348         LockTop         =   ""
2349         Multiline       =   ""
2350         Scope           =   0
2351         TabIndex        =   31
2352         TabPanelIndex   =   4
2353         Text            =   "Neutral Low"
2354         TextAlign       =   0
2355         TextColor       =   "&cB8B8B8"
2356         TextFont        =   "System"
2357         TextSize        =   0
2358         Top             =   233
2359         Underline       =   ""
2360         Visible         =   True
2361         Width           =   106
2362      End
2363      Begin StaticText StaticText_Byte12
2364         AutoDeactivate  =   True
2365         Bold            =   ""
2366         DataField       =   ""
2367         DataSource      =   ""
2368         Enabled         =   True
2369         Height          =   20
2370         HelpTag         =   ""
2371         Index           =   -2147483648
2372         InitialParent   =   "TabPanel1"
2373         Italic          =   ""
2374         Left            =   198
2375         LockBottom      =   ""
2376         LockedInPosition=   False
2377         LockLeft        =   ""
2378         LockRight       =   ""
2379         LockTop         =   ""
2380         Multiline       =   ""
2381         Scope           =   0
2382         TabIndex        =   32
2383         TabPanelIndex   =   4
2384         Text            =   "Neutral High"
2385         TextAlign       =   0
2386         TextColor       =   "&cB8B8B8"
2387         TextFont        =   "System"
2388         TextSize        =   0
2389         Top             =   266
2390         Underline       =   ""
2391         Visible         =   True
2392         Width           =   106
2393      End
2394      Begin StaticText StaticText_Byte13
2395         AutoDeactivate  =   True
2396         Bold            =   ""
2397         DataField       =   ""
2398         DataSource      =   ""
2399         Enabled         =   True
2400         Height          =   20
2401         HelpTag         =   ""
2402         Index           =   -2147483648
2403         InitialParent   =   "TabPanel1"
2404         Italic          =   ""
2405         Left            =   360
2406         LockBottom      =   ""
2407         LockedInPosition=   False
2408         LockLeft        =   ""
2409         LockRight       =   ""
2410         LockTop         =   ""
2411         Multiline       =   ""
2412         Scope           =   0
2413         TabIndex        =   33
2414         TabPanelIndex   =   4
2415         Text            =   "Vertical Inertia"
2416         TextAlign       =   0
2417         TextColor       =   "&cB8B8B8"
2418         TextFont        =   "System"
2419         TextSize        =   0
2420         Top             =   97
2421         Underline       =   ""
2422         Visible         =   True
2423         Width           =   106
2424      End
2425      Begin StaticText StaticText_Byte14
2426         AutoDeactivate  =   True
2427         Bold            =   ""
2428         DataField       =   ""
2429         DataSource      =   ""
2430         Enabled         =   True
2431         Height          =   20
2432         HelpTag         =   ""
2433         Index           =   -2147483648
2434         InitialParent   =   "TabPanel1"
2435         Italic          =   ""
2436         Left            =   360
2437         LockBottom      =   ""
2438         LockedInPosition=   False
2439         LockLeft        =   ""
2440         LockRight       =   ""
2441         LockTop         =   ""
2442         Multiline       =   False
2443         Scope           =   0
2444         TabIndex        =   34
2445         TabPanelIndex   =   4
2446         Text            =   "Unknown"
2447         TextAlign       =   0
2448         TextColor       =   "&cB8B8B8"
2449         TextFont        =   "System"
2450         TextSize        =   0
2451         Top             =   131
2452         Underline       =   ""
2453         Visible         =   True
2454         Width           =   106
2455      End
2456      Begin StaticText StaticText_Byte15
2457         AutoDeactivate  =   True
2458         Bold            =   ""
2459         DataField       =   ""
2460         DataSource      =   ""
2461         Enabled         =   True
2462         Height          =   20
2463         HelpTag         =   ""
2464         Index           =   -2147483648
2465         InitialParent   =   "TabPanel1"
2466         Italic          =   ""
2467         Left            =   360
2468         LockBottom      =   ""
2469         LockedInPosition=   False
2470         LockLeft        =   ""
2471         LockRight       =   ""
2472         LockTop         =   ""
2473         Multiline       =   ""
2474         Scope           =   0
2475         TabIndex        =   35
2476         TabPanelIndex   =   4
2477         Text            =   "Back Timing"
2478         TextAlign       =   0
2479         TextColor       =   "&cB8B8B8"
2480         TextFont        =   "System"
2481         TextSize        =   0
2482         Top             =   165
2483         Underline       =   ""
2484         Visible         =   True
2485         Width           =   106
2486      End
2487      Begin StaticText StaticText_Byte16
2488         AutoDeactivate  =   True
2489         Bold            =   ""
2490         DataField       =   ""
2491         DataSource      =   ""
2492         Enabled         =   True
2493         Height          =   20
2494         HelpTag         =   ""
2495         Index           =   -2147483648
2496         InitialParent   =   "TabPanel1"
2497         Italic          =   ""
2498         Left            =   360
2499         LockBottom      =   ""
2500         LockedInPosition=   False
2501         LockLeft        =   ""
2502         LockRight       =   ""
2503         LockTop         =   ""
2504         Multiline       =   ""
2505         Scope           =   0
2506         TabIndex        =   36
2507         TabPanelIndex   =   4
2508         Text            =   "Steering Gain"
2509         TextAlign       =   0
2510         TextColor       =   "&cB8B8B8"
2511         TextFont        =   "System"
2512         TextSize        =   0
2513         Top             =   199
2514         Underline       =   ""
2515         Visible         =   True
2516         Width           =   106
2517      End
2518      Begin StaticText StaticText_Byte17
2519         AutoDeactivate  =   True
2520         Bold            =   ""
2521         DataField       =   ""
2522         DataSource      =   ""
2523         Enabled         =   True
2524         Height          =   20
2525         HelpTag         =   ""
2526         Index           =   -2147483648
2527         InitialParent   =   "TabPanel1"
2528         Italic          =   ""
2529         Left            =   360
2530         LockBottom      =   ""
2531         LockedInPosition=   False
2532         LockLeft        =   ""
2533         LockRight       =   ""
2534         LockTop         =   ""
2535         Multiline       =   ""
2536         Scope           =   0
2537         TabIndex        =   37
2538         TabPanelIndex   =   4
2539         Text            =   "Throttle Gain"
2540         TextAlign       =   0
2541         TextColor       =   "&cB8B8B8"
2542         TextFont        =   "System"
2543         TextSize        =   0
2544         Top             =   233
2545         Underline       =   ""
2546         Visible         =   True
2547         Width           =   106
2548      End
2549      Begin StaticText StaticText_Byte18
2550         AutoDeactivate  =   True
2551         Bold            =   ""
2552         DataField       =   ""
2553         DataSource      =   ""
2554         Enabled         =   True
2555         Height          =   20
2556         HelpTag         =   ""
2557         Index           =   -2147483648
2558         InitialParent   =   "TabPanel1"
2559         Italic          =   ""
2560         Left            =   360
2561         LockBottom      =   ""
2562         LockedInPosition=   False
2563         LockLeft        =   ""
2564         LockRight       =   ""
2565         LockTop         =   ""
2566         Multiline       =   ""
2567         Scope           =   0
2568         TabIndex        =   38
2569         TabPanelIndex   =   4
2570         Text            =   "Checksum"
2571         TextAlign       =   0
2572         TextColor       =   "&cB8B8B8"
2573         TextFont        =   "System"
2574         TextSize        =   0
2575         Top             =   267
2576         Underline       =   ""
2577         Visible         =   False
2578         Width           =   106
2579      End
2580   End
2581   Begin ICSSerialPort ICSSerialPort1
2582      Baud            =   8
2583      Bits            =   3
2584      byte01          =   &hFF
2585      carType         =   "MR-03"
2586      CTS             =   ""
2587      DTR             =   ""
2588      Height          =   32
2589      Index           =   -2147483648
2590      Left            =   716
2591      LockedInPosition=   False
2592      mode            =   "read"
2593      Parity          =   0
2594      Scope           =   0
2595      Stop            =   0
2596      TabPanelIndex   =   0
2597      Top             =   -6
2598      Width           =   32
2599      XON             =   ""
2600   End
2601   Begin PushButton PushButton_Default
2602      AutoDeactivate  =   True
2603      Bold            =   ""
2604      Cancel          =   ""
2605      Caption         =   "Default"
2606      Default         =   ""
2607      Enabled         =   True
2608      Height          =   20
2609      HelpTag         =   ""
2610      Index           =   -2147483648
2611      InitialParent   =   ""
2612      Italic          =   ""
2613      Left            =   326
2614      LockBottom      =   ""
2615      LockedInPosition=   False
2616      LockLeft        =   ""
2617      LockRight       =   ""
2618      LockTop         =   ""
2619      Scope           =   0
2620      TabIndex        =   44
2621      TabPanelIndex   =   0
2622      TabStop         =   True
2623      TextFont        =   "System"
2624      TextSize        =   0
2625      Top             =   312
2626      Underline       =   ""
2627      Visible         =   True
2628      Width           =   88
2629   End
2630   Begin PushButton PushButton_SaveProfile
2631      AutoDeactivate  =   True
2632      Bold            =   ""
2633      Cancel          =   ""
2634      Caption         =   "Save Profile"
2635      Default         =   ""
2636      Enabled         =   True
2637      Height          =   20
2638      HelpTag         =   ""
2639      Index           =   -2147483648
2640      InitialParent   =   ""
2641      Italic          =   ""
2642      Left            =   520
2643      LockBottom      =   ""
2644      LockedInPosition=   False
2645      LockLeft        =   ""
2646      LockRight       =   ""
2647      LockTop         =   ""
2648      Scope           =   0
2649      TabIndex        =   45
2650      TabPanelIndex   =   0
2651      TabStop         =   True
2652      TextFont        =   "System"
2653      TextSize        =   0
2654      Top             =   312
2655      Underline       =   ""
2656      Visible         =   False
2657      Width           =   100
2658   End
2659   Begin StaticText StaticText_Version
2660      AutoDeactivate  =   True
2661      Bold            =   ""
2662      DataField       =   ""
2663      DataSource      =   ""
2664      Enabled         =   True
2665      Height          =   20
2666      HelpTag         =   ""
2667      Index           =   -2147483648
2668      InitialParent   =   ""
2669      Italic          =   ""
2670      Left            =   522
2671      LockBottom      =   ""
2672      LockedInPosition=   False
2673      LockLeft        =   ""
2674      LockRight       =   ""
2675      LockTop         =   ""
2676      Multiline       =   ""
2677      Scope           =   0
2678      TabIndex        =   46
2679      TabPanelIndex   =   0
2680      Text            =   "Version "
2681      TextAlign       =   0
2682      TextColor       =   &h000000
2683      TextFont        =   "System"
2684      TextSize        =   0
2685      Top             =   14
2686      Underline       =   ""
2687      Visible         =   True
2688      Width           =   100
2689   End
2690End
2691#tag EndWindow
2692
2693#tag WindowCode
2694        #tag Event
2695                Sub Open()
2696                  StaticText_Version.Text = "Version " + str(app.NonReleaseVersion/100)
2697                 
2698                  //Set the default car type
2699                  ICSSerialPort1.setCarType("MR-03")
2700                 
2701                  readPreferences()
2702                 
2703                  //Set and open the COM Port
2704                  dim i, count as integer
2705                  count = System.SerialPortCount
2706                 
2707                  for i = 0 to count - 1
2708                    PopupMenu_SerialPort.AddRow( System.SerialPort(i).Name )
2709                  next
2710                 
2711                  if comPort <> "" then
2712                    //We can try opening the com port and set the popup menu to that port
2713                   
2714                    for i = 0 to PopupMenu_SerialPort.ListCount - 1
2715                     
2716                      if PopupMenu_SerialPort.list(i) = comPort then
2717                        //Found a match, set and open
2718                        PopupMenu_SerialPort.ListIndex = i
2719                        ICSSerialPort1.SerialPort = System.SerialPort(i)
2720                       
2721                        if not ICSSerialPort1.Open then
2722                          //Could not open
2723                          MsgBox "Error opening defined com port"
2724                        end if
2725                        //No need to continue loop
2726                        exit
2727                      end if
2728                     
2729                    next
2730                   
2731                  end if
2732                 
2733                End Sub
2734        #tag EndEvent
2735
2736
2737        #tag Method, Flags = &h21
2738                Private Sub disableControls()
2739                  select case ICSSerialPort1.carType
2740                   
2741                  Case "MR-03"
2742                    //Enable any controls that may have been disabled
2743                    PopupMenu_BackTiming.Enabled = True
2744                    StaticText_BackTiming.Enabled = True
2745                   
2746                    Slider_STGain.Enabled = True
2747                    StaticText_STGain.Enabled = True
2748                   
2749                    Slider_THGain.Enabled = True
2750                    StaticText_THGain.Enabled = True
2751                   
2752                   
2753                  Case "dNaNo"
2754                    //Disable unused controls and set them to custom
2755                    PopupMenu_BackTiming.Enabled = False
2756                    StaticText_BackTiming.Enabled = False
2757                    PopupMenu_BackTiming.ListIndex = PopupMenu_BackTiming.ListCount
2758                   
2759                    //Enable any controls that may have been disabled
2760                    Slider_STGain.Enabled = True
2761                    StaticText_STGain.Enabled = True
2762                   
2763                    Slider_THGain.Enabled = True
2764                    StaticText_THGain.Enabled = True
2765                   
2766                  Case "ASF"
2767                    //Disable unused controls and set them to custom
2768                    PopupMenu_BackTiming.Enabled = False
2769                    StaticText_BackTiming.Enabled = False
2770                    PopupMenu_BackTiming.ListIndex = PopupMenu_BackTiming.ListCount
2771                   
2772                    Slider_STGain.Enabled = False
2773                    StaticText_STGain.Enabled = False
2774                    Slider_STGain.Value = 255
2775                   
2776                    Slider_THGain.Enabled = False
2777                    StaticText_THGain.Enabled = False
2778                    Slider_THGain.Value = 255
2779                   
2780                   
2781                  end select
2782                End Sub
2783        #tag EndMethod
2784
2785        #tag Method, Flags = &h21
2786                Private Sub updateCarScreen()
2787                  //Use this method to update the car screen
2788                 
2789                  //Update Gain
2790                  Select Case ICSSerialPort1.byte03
2791                   
2792                  Case chrb(&h32)
2793                    PopupMenu_Gain.ListIndex = 0
2794                   
2795                  Case chrb(&h64)
2796                    PopupMenu_Gain.ListIndex = 1
2797                   
2798                  Case chrb(&hFF)
2799                    PopupMenu_Gain.ListIndex = 2
2800                   
2801                  Else
2802                    PopupMenu_Gain.ListIndex = 3
2803                   
2804                  End Select
2805                 
2806                  //Update Speed
2807                  Select Case ICSSerialPort1.Byte04
2808                   
2809                  Case chrb(&h0A)
2810                    PopupMenu_Speed.ListIndex = 0
2811                   
2812                  Case chrb(&h14)
2813                    PopupMenu_Speed.ListIndex = 1
2814                   
2815                  Case chrb(&h1E)
2816                    PopupMenu_Speed.ListIndex = 2
2817                   
2818                  Case chrb(&h28)
2819                    PopupMenu_Speed.ListIndex = 3
2820                   
2821                  Case chrb(&hFF)
2822                    PopupMenu_Speed.ListIndex = 4
2823                   
2824                  Else
2825                    PopupMenu_Speed.ListIndex = 5
2826                   
2827                  End Select
2828                 
2829                  //Update punch
2830                  Slider_Punch.Value = asc(ICSSerialPort1.Byte05)
2831                  EditField_Punch.Text = str(asc(ICSSerialPort1.Byte05))
2832                 
2833                  //Update DBAND
2834                  Select Case ICSSerialPort1.Byte06
2835                   
2836                  Case chrb(&h01)
2837                    PopupMenu_DBand.ListIndex = 0
2838                   
2839                  Case chrb(&h02)
2840                    PopupMenu_DBand.ListIndex = 1
2841                   
2842                  Case chrb(&h03)
2843                    PopupMenu_DBand.ListIndex = 2
2844                   
2845                  Else
2846                    PopupMenu_DBand.ListIndex = 3
2847                   
2848                  End Select
2849                 
2850                  //Update Dump
2851                  Select Case ICSSerialPort1.Byte07
2852                   
2853                  Case chrb(&h01)
2854                    PopupMenu_Dump.ListIndex = 0
2855                   
2856                  Case chrb(&h02)
2857                    PopupMenu_Dump.ListIndex = 1
2858                   
2859                  Else
2860                    PopupMenu_Dump.ListIndex = 2
2861                   
2862                  End Select
2863                 
2864                  //Update DFREQ
2865                  Select Case ICSSerialPort1.Byte08
2866                   
2867                  Case chrb(&h40)
2868                    PopupMenu_DFreq.ListIndex = 0
2869                   
2870                  Case chrb(&h78)
2871                    PopupMenu_DFreq.ListIndex = 1
2872                   
2873                  Case chrb(&hFF)
2874                    PopupMenu_DFreq.ListIndex = 2
2875                   
2876                  Else
2877                    PopupMenu_DFreq.ListIndex = 3
2878                   
2879                  End Select
2880                 
2881                  //Update Nuetral
2882                  //Nuetral is defined by 2 bytes
2883                  Select Case ICSSerialPort1.Byte11
2884                   
2885                  Case chrb(&h82)
2886                    if ICSSerialPort1.Byte12 = chrb(&h7C) then
2887                      PopupMenu_Nuetral.ListIndex = 0
2888                    else
2889                      PopupMenu_Nuetral.ListIndex = 3
2890                    end if
2891                   
2892                  Case chrb(&h88)
2893                    if ICSSerialPort1.Byte12 = chrb(&h78) then
2894                      PopupMenu_Nuetral.ListIndex = 1
2895                    else
2896                      PopupMenu_Nuetral.ListIndex = 3
2897                    end if
2898                   
2899                  Case chrb(&h94)
2900                    if ICSSerialPort1.Byte12 = chrb(&h6C) then
2901                      PopupMenu_Nuetral.ListIndex = 2
2902                    else
2903                      PopupMenu_Nuetral.ListIndex = 3
2904                    end if
2905                   
2906                  Else
2907                    PopupMenu_Nuetral.ListIndex = 3
2908                   
2909                  End Select
2910                 
2911                  //Update Vertial Intertia
2912                  Select Case ICSSerialPort1.Byte13
2913                   
2914                  Case chrb(&h01)
2915                    PopupMenu_VerticalInteria.ListIndex = 0
2916                   
2917                  Case chrb(&h02)
2918                    PopupMenu_VerticalInteria.ListIndex = 1
2919                   
2920                  Case chrb(&h03)
2921                    PopupMenu_VerticalInteria.ListIndex = 2
2922                   
2923                  Case chrb(&h04)
2924                    PopupMenu_VerticalInteria.ListIndex = 3
2925                   
2926                  Case chrb(&hFF)
2927                    PopupMenu_VerticalInteria.ListIndex = 4
2928                   
2929                  Else
2930                    PopupMenu_VerticalInteria.ListIndex = 5
2931                   
2932                  End Select
2933                 
2934                  //Update Back Timing
2935                  Select Case ICSSerialPort1.Byte15
2936                   
2937                  Case chrb(&h01)
2938                    PopupMenu_BackTiming.ListIndex = 0
2939                   
2940                  Case chrb(&h05)
2941                    PopupMenu_BackTiming.ListIndex = 1
2942                   
2943                  Case chrb(&h0A)
2944                    PopupMenu_BackTiming.ListIndex = 2
2945                   
2946                  Case chrb(&h14)
2947                    PopupMenu_BackTiming.ListIndex = 3
2948                   
2949                  Case chrb(&h28)
2950                    PopupMenu_BackTiming.ListIndex = 4
2951                   
2952                  Else
2953                    PopupMenu_BackTiming.ListIndex = 5
2954                   
2955                  End Select
2956                 
2957                  //Update Steering Gain
2958                  Slider_STGain.Value = asc(ICSSerialPort1.Byte16)
2959                  EditField_STGain.Text = str(asc(ICSSerialPort1.Byte16))
2960                 
2961                  //Update Throttle Gain
2962                  Slider_THGain.Value = asc(ICSSerialPort1.Byte17)
2963                  EditField_THGain.Text = str(asc(ICSSerialPort1.Byte17))
2964                End Sub
2965        #tag EndMethod
2966
2967        #tag Method, Flags = &h21
2968                Private Sub updateAdvancedScreen()
2969                  //Update the fields on the advanced screen to match current values
2970                  EditField_Byte1.Text = str(asc(ICSSerialPort1.byte01))
2971                  EditField_Byte2.Text = str(asc(ICSSerialPort1.byte02))
2972                  EditField_Byte3.Text = str(asc(ICSSerialPort1.byte03))
2973                  EditField_Byte4.Text = str(asc(ICSSerialPort1.byte04))
2974                  EditField_Byte5.Text = str(asc(ICSSerialPort1.byte05))
2975                  EditField_Byte6.Text = str(asc(ICSSerialPort1.byte06))
2976                  EditField_Byte7.Text = str(asc(ICSSerialPort1.byte07))
2977                  EditField_Byte8.Text = str(asc(ICSSerialPort1.byte08))
2978                  EditField_Byte9.Text = str(asc(ICSSerialPort1.byte09))
2979                  EditField_Byte10.Text = str(asc(ICSSerialPort1.byte10))
2980                  EditField_Byte11.Text = str(asc(ICSSerialPort1.byte11))
2981                  EditField_Byte12.Text = str(asc(ICSSerialPort1.byte12))
2982                  EditField_Byte13.Text = str(asc(ICSSerialPort1.byte13))
2983                  EditField_Byte14.Text = str(asc(ICSSerialPort1.byte14))
2984                  EditField_Byte15.Text = str(asc(ICSSerialPort1.byte15))
2985                  EditField_Byte16.Text = str(asc(ICSSerialPort1.byte16))
2986                  EditField_Byte17.Text = str(asc(ICSSerialPort1.byte17))
2987                  EditField_Byte18.Text = str(asc(ICSSerialPort1.byte18))
2988                End Sub
2989        #tag EndMethod
2990
2991        #tag Method, Flags = &h21
2992                Private Sub readPreferences()
2993                  dim filePreference as FolderItem = GetFolderItem("icspref.xml")
2994                  dim xdoc as XmlDocument
2995                  dim root as XmlNode
2996                  dim i as Integer
2997                  dim count as integer
2998                  dim item as string
2999                 
3000                  //Read the settings from the preferences file
3001                  if filePreference <> Nil then
3002                    if filePreference.Exists then
3003                      xdoc = New XmlDocument(filePreference)
3004                     
3005                      count = xdoc.DocumentElement.ChildCount
3006                     
3007                      for i = 0 to count - 1
3008                        root = xdoc.DocumentElement.Child(i)
3009                       
3010                        item = root.FirstChild.Value
3011                       
3012                        select case root.Name
3013                        case "comPort"
3014                          comPort = item
3015                        end select
3016                      next
3017                    end if
3018                  end if
3019                 
3020                 
3021                End Sub
3022        #tag EndMethod
3023
3024        #tag Method, Flags = &h21
3025                Private Sub savePreferences()
3026                  dim xml as XmlDocument
3027                  dim root as XMLNode
3028                  dim comPortXML as XmlNode
3029                  dim f as FolderItem
3030                 
3031                  //Save the preferences
3032                 
3033                  f = GetFolderItem("icspref.xml")
3034                 
3035                  if f <> Nil then
3036                    //Create a new XML document
3037                    xml = New XmlDocument
3038                    root = xml.AppendChild(xml.CreateElement("icspref"))
3039                   
3040                    //Add elements
3041                    comPortXML = root.AppendChild(xml.CreateElement("comPort"))
3042                    comPortXML.AppendChild(xml.CreateTextNode(comPort))
3043                   
3044                    //Save the output
3045                    xml.SaveXml(f)
3046                  end if
3047                 
3048                End Sub
3049        #tag EndMethod
3050
3051
3052        #tag Property, Flags = &h0
3053                comPort As string
3054        #tag EndProperty
3055
3056
3057        #tag Constant, Name = defaultControlHeight, Type = Double, Dynamic = False, Default = \"20", Scope = Public
3058                #Tag Instance, Platform = Mac OS, Language = Default, Definition  = \"20"
3059                #Tag Instance, Platform = Windows, Language = Default, Definition  = \"22"
3060                #Tag Instance, Platform = Linux, Language = Default, Definition  = \"24"
3061        #tag EndConstant
3062
3063
3064#tag EndWindowCode
3065
3066#tag Events PushButton_Read
3067        #tag Event
3068                Sub Action()
3069                  ICSSerialPort1.readCar
3070                End Sub
3071        #tag EndEvent
3072#tag EndEvents
3073#tag Events PushButton_Write
3074        #tag Event
3075                Sub Action()
3076                  ICSSerialPort1.writeCar
3077                End Sub
3078        #tag EndEvent
3079#tag EndEvents
3080#tag Events PushButton_Reset
3081        #tag Event
3082                Sub Action()
3083                  ICSSerialPort1.resetCar
3084                End Sub
3085        #tag EndEvent
3086#tag EndEvents
3087#tag Events TabPanel1
3088        #tag Event
3089                Sub Change()
3090                  updateAdvancedScreen
3091                  updateCarScreen
3092                End Sub
3093        #tag EndEvent
3094#tag EndEvents
3095#tag Events PopupMenu_SerialPort
3096        #tag Event
3097                Sub Change()
3098                  //Set and open the COM Port
3099                  dim i, count as integer
3100                  count = System.SerialPortCount
3101                 
3102                  if comPort <> "" then
3103                    //We can try opening the com port and set the popup menu to that port
3104                   
3105                    for i = 0 to PopupMenu_SerialPort.ListCount - 1
3106                     
3107                      if PopupMenu_SerialPort.list(i) = me.Text then
3108                        //Found a match, set and open
3109                        ICSSerialPort1.SerialPort = System.SerialPort(i)
3110                        ICSSerialPort1.Close
3111                       
3112                       
3113                        if not ICSSerialPort1.Open then
3114                          //Could not open
3115                          MsgBox "Error opening defined com port"
3116                        end if
3117                        //Save and exit
3118                        comPort = me.Text
3119                        savePreferences
3120                        exit
3121                      end if
3122                     
3123                    next
3124                   
3125                  end if
3126                End Sub
3127        #tag EndEvent
3128#tag EndEvents
3129#tag Events PopupMenu_Profile
3130        #tag Event
3131                Sub Change()
3132                  if me.Text <> "" then
3133                    PushButton_SaveProfile.Visible = true
3134                    PushButton_Delete.Visible = true
3135                    ICSSerialPort1.loadProfile(me.Text)
3136                  end if
3137                End Sub
3138        #tag EndEvent
3139        #tag Event
3140                Sub Open()
3141                  dim s() as string
3142                  dim i as integer
3143                 
3144                  s = ICSSerialPort1.listProfiles
3145                 
3146                  if UBound(s) > -1 then
3147                    for each element as string in s
3148                      me.AddRow(element)
3149                    next
3150                  end if
3151                End Sub
3152        #tag EndEvent
3153#tag EndEvents
3154#tag Events PushButton_Create
3155        #tag Event
3156                Sub Action()
3157                  dim tempProfWindow as new createProfile
3158                  tempProfWindow.Show
3159                End Sub
3160        #tag EndEvent
3161#tag EndEvents
3162#tag Events PushButton_Delete
3163        #tag Event
3164                Sub Action()
3165                  ICSSerialPort1.deleteProfile(PopupMenu_Profile.Text)
3166                End Sub
3167        #tag EndEvent
3168#tag EndEvents
3169#tag Events Slider_THGain
3170        #tag Event
3171                Sub ValueChanged()
3172                  ICSSerialPort1.Byte17 = chrb(me.Value)
3173                  //Check to see if we need to update the edit field
3174                  //This prevents the edit field from triggering this event that then updates the edit field again
3175                  //Causing the cursor to move to the begginning of the editfield
3176                  if EditField_THGain.Text <> str(me.Value) then
3177                    EditField_THGain.Text = str(me.Value)
3178                  end if
3179                 
3180                 
3181                End Sub
3182        #tag EndEvent
3183#tag EndEvents
3184#tag Events EditField_THGain
3185        #tag Event
3186                Sub TextChange()
3187                  //Make sure we have a valid value if not then set it to something
3188                  if me.Text <> "" then
3189                    if val(me.Text) > 255 or val(me.Text) < 1 then
3190                      me.Text = "255"
3191                    end if
3192                  end if
3193                 
3194                  dim d as double
3195                  dim i as integer
3196                  d = val(me.Text)
3197                  i = d
3198                  ICSSerialPort1.Byte17 = chrb(i)
3199                 
3200                  Slider_THGain.Value = val(me.Text)
3201                End Sub
3202        #tag EndEvent
3203#tag EndEvents
3204#tag Events Slider_STGain
3205        #tag Event
3206                Sub ValueChanged()
3207                  ICSSerialPort1.Byte16 = chrb(me.Value)
3208                  //Check to see if we need to update the edit field
3209                  //This prevents the edit field from triggering this event that then updates the edit field again
3210                  //Causing the cursor to move to the begginning of the editfield
3211                  if EditField_STGain.Text <> str(me.Value) then
3212                    EditField_STGain.Text = str(me.Value)
3213                  end if
3214                End Sub
3215        #tag EndEvent
3216#tag EndEvents
3217#tag Events EditField_STGain
3218        #tag Event
3219                Sub TextChange()
3220                  //Make sure we have a valid value if not then set it to something
3221                  if me.Text <> "" then
3222                    if val(me.Text) > 255 or val(me.Text) < 1 then
3223                      me.Text = "255"
3224                    end if
3225                  end if
3226                 
3227                  dim d as double
3228                  dim i as integer
3229                  d = val(me.Text)
3230                  i = d
3231                  ICSSerialPort1.Byte16 = chrb(i)
3232                 
3233                  Slider_STGain.Value = val(me.Text)
3234                 
3235                 
3236                End Sub
3237        #tag EndEvent
3238#tag EndEvents
3239#tag Events PopupMenu_BackTiming
3240        #tag Event
3241                Sub Change()
3242                  Select Case me.ListIndex
3243                   
3244                  Case 0
3245                    ICSSerialPort1.Byte15 = chrb(&h01)
3246                  Case 1
3247                    ICSSerialPort1.Byte15 = chrb(&h05)
3248                  Case 2
3249                    ICSSerialPort1.Byte15 = chrb(&h0A)
3250                  Case 3
3251                    ICSSerialPort1.Byte15 = chrb(&h14)
3252                  Case 4
3253                    ICSSerialPort1.Byte15 = chrb(&h28)
3254                  Case 5
3255                   
3256                  End Select
3257                End Sub
3258        #tag EndEvent
3259#tag EndEvents
3260#tag Events PopupMenu_VerticalInteria
3261        #tag Event
3262                Sub Change()
3263                  Select Case me.ListIndex
3264                   
3265                  Case 0
3266                    ICSSerialPort1.Byte13 = chrb(&h01)
3267                  Case 1
3268                    ICSSerialPort1.Byte13 = chrb(&h02)
3269                  Case 2
3270                    ICSSerialPort1.Byte13 = chrb(&h03)
3271                  Case 3
3272                    ICSSerialPort1.Byte13 = chrb(&h04)
3273                  Case 4
3274                    ICSSerialPort1.Byte13 = chrb(&hFF)
3275                  Case 5
3276                   
3277                  End Select
3278                End Sub
3279        #tag EndEvent
3280#tag EndEvents
3281#tag Events PopupMenu_Nuetral
3282        #tag Event
3283                Sub Change()
3284                  Select Case me.ListIndex
3285                   
3286                  Case 0
3287                    ICSSerialPort1.Byte11 = chrb(&h82)
3288                    ICSSerialPort1.Byte12 = chrb(&h7C)
3289                   
3290                  Case 1
3291                    ICSSerialPort1.Byte11 = chrb(&h88)
3292                    ICSSerialPort1.Byte12 = chrb(&h78)
3293                   
3294                  Case 2
3295                    ICSSerialPort1.Byte11 = chrb(&h94)
3296                    ICSSerialPort1.Byte12 = chrb(&h6C)
3297                   
3298                  Case 3
3299                   
3300                  End Select
3301                End Sub
3302        #tag EndEvent
3303#tag EndEvents
3304#tag Events PopupMenu_DFreq
3305        #tag Event
3306                Sub Change()
3307                  Select Case me.ListIndex
3308                   
3309                  Case 0
3310                    ICSSerialPort1.Byte08 = chrb(&h40)
3311                  Case 1
3312                    ICSSerialPort1.Byte08 = chrb(&h78)
3313                  Case 2
3314                    ICSSerialPort1.Byte08 = chrb(&hFF)
3315                  Case 3
3316                   
3317                  End Select
3318                End Sub
3319        #tag EndEvent
3320#tag EndEvents
3321#tag Events PopupMenu_Dump
3322        #tag Event
3323                Sub Change()
3324                  Select Case me.ListIndex
3325                   
3326                  Case 0
3327                    ICSSerialPort1.Byte07 = chrb(&h01)
3328                  Case 1
3329                    ICSSerialPort1.Byte07 = chrb(&h02)
3330                  Case 2
3331                   
3332                  End Select
3333                End Sub
3334        #tag EndEvent
3335#tag EndEvents
3336#tag Events PopupMenu_DBand
3337        #tag Event
3338                Sub Change()
3339                  Select Case me.ListIndex
3340                   
3341                  Case 0
3342                    ICSSerialPort1.Byte06 = chrb(&h01)
3343                  Case 1
3344                    ICSSerialPort1.Byte06 = chrb(&h02)
3345                  Case 2
3346                    ICSSerialPort1.Byte06 = chrb(&h03)
3347                  Case 3
3348                   
3349                  End Select
3350                End Sub
3351        #tag EndEvent
3352#tag EndEvents
3353#tag Events Slider_Punch
3354        #tag Event
3355                Sub ValueChanged()
3356                  ICSSerialPort1.Byte05 = chrb(me.Value)
3357                  //Check to see if we need to update the edit field
3358                  //This prevents the edit field from triggering this event that then updates the edit field again
3359                  //Causing the cursor to move to the begginning of the editfield
3360                  if EditField_Punch.Text <> str(me.Value) then
3361                    EditField_Punch.Text = str(me.Value)
3362                  end if
3363                 
3364                 
3365                End Sub
3366        #tag EndEvent
3367#tag EndEvents
3368#tag Events EditField_Punch
3369        #tag Event
3370                Sub TextChange()
3371                  //Make sure we have a valid value if not then set it to something
3372                  if me.Text <> "" then
3373                    if val(me.Text) > 255 or val(me.Text) < 1 then
3374                      me.Text = "255"
3375                    end if
3376                  end if
3377                 
3378                  dim d as double
3379                  dim i as integer
3380                  d = val(me.Text)
3381                  i = d
3382                  ICSSerialPort1.Byte05 = chrb(i)
3383                 
3384                  Slider_Punch.Value = val(me.Text)
3385                End Sub
3386        #tag EndEvent
3387#tag EndEvents
3388#tag Events PopupMenu_Speed
3389        #tag Event
3390                Sub Change()
3391                  Select Case me.ListIndex
3392                   
3393                  Case 0
3394                    ICSSerialPort1.Byte04 = chrb(&h0A)
3395                  Case 1
3396                    ICSSerialPort1.Byte04 = chrb(&h14)
3397                  Case 2
3398                    ICSSerialPort1.Byte04 = chrb(&h1E)
3399                  Case 3
3400                    ICSSerialPort1.Byte04 = chrb(&h28)
3401                  Case 4
3402                    ICSSerialPort1.Byte04 = chrb(&hFF)
3403                  Case 5
3404                   
3405                  End Select
3406                End Sub
3407        #tag EndEvent
3408#tag EndEvents
3409#tag Events PopupMenu_Gain
3410        #tag Event
3411                Sub Change()
3412                  Select Case me.ListIndex
3413                   
3414                  case 0
3415                    ICSSerialPort1.Byte03 = chrb(&h32)
3416                   
3417                  case 1
3418                    ICSSerialPort1.Byte03 = chrb(&h64)
3419                   
3420                  case 2
3421                    ICSSerialPort1.Byte03 = chrb(&hFF)
3422                   
3423                  case 3
3424                   
3425                  End Select
3426                 
3427                End Sub
3428        #tag EndEvent
3429#tag EndEvents
3430#tag Events PopupMenu_CarType
3431        #tag Event
3432                Sub Change()
3433                  ICSSerialPort1.setCarType(me.Text)
3434                  disableControls
3435                 
3436                End Sub
3437        #tag EndEvent
3438#tag EndEvents
3439#tag Events EditField_Byte17
3440        #tag Event
3441                Function KeyDown(Key As String) As Boolean
3442                  //Make sure we have a valid value if not then set it to something
3443                  if val(me.Text) > 255 or val(me.Text) < 0 then
3444                    me.Text = "255"
3445                  end if
3446                 
3447                  dim d as double
3448                  dim i as integer
3449                  d = val(me.Text)
3450                  i = d
3451                  ICSSerialPort1.Byte17 = chrb(i)
3452                End Function
3453        #tag EndEvent
3454#tag EndEvents
3455#tag Events EditField_Byte16
3456        #tag Event
3457                Function KeyDown(Key As String) As Boolean
3458                  //Make sure we have a valid value if not then set it to something
3459                  if val(me.Text) > 255 or val(me.Text) < 0 then
3460                    me.Text = "255"
3461                  end if
3462                 
3463                  dim d as double
3464                  dim i as integer
3465                  d = val(me.Text)
3466                  i = d
3467                  ICSSerialPort1.Byte16 = chrb(i)
3468                End Function
3469        #tag EndEvent
3470#tag EndEvents
3471#tag Events EditField_Byte15
3472        #tag Event
3473                Function KeyDown(Key As String) As Boolean
3474                  //Make sure we have a valid value if not then set it to something
3475                  if val(me.Text) > 255 or val(me.Text) < 0 then
3476                    me.Text = "255"
3477                  end if
3478                 
3479                  dim d as double
3480                  dim i as integer
3481                  d = val(me.Text)
3482                  i = d
3483                  ICSSerialPort1.Byte15 = chrb(i)
3484                End Function
3485        #tag EndEvent
3486#tag EndEvents
3487#tag Events EditField_Byte14
3488        #tag Event
3489                Function KeyDown(Key As String) As Boolean
3490                  //Make sure we have a valid value if not then set it to something
3491                  if val(me.Text) > 255 or val(me.Text) < 0 then
3492                    me.Text = "255"
3493                  end if
3494                 
3495                  dim d as double
3496                  dim i as integer
3497                  d = val(me.Text)
3498                  i = d
3499                  ICSSerialPort1.Byte14 = chrb(i)
3500                End Function
3501        #tag EndEvent
3502#tag EndEvents
3503#tag Events EditField_Byte13
3504        #tag Event
3505                Function KeyDown(Key As String) As Boolean
3506                  //Make sure we have a valid value if not then set it to something
3507                  if val(me.Text) > 255 or val(me.Text) < 0 then
3508                    me.Text = "255"
3509                  end if
3510                 
3511                  dim d as double
3512                  dim i as integer
3513                  d = val(me.Text)
3514                  i = d
3515                  ICSSerialPort1.Byte13 = chrb(i)
3516                End Function
3517        #tag EndEvent
3518#tag EndEvents
3519#tag Events EditField_Byte12
3520        #tag Event
3521                Function KeyDown(Key As String) As Boolean
3522                  //Make sure we have a valid value if not then set it to something
3523                  if val(me.Text) > 255 or val(me.Text) < 0 then
3524                    me.Text = "255"
3525                  end if
3526                 
3527                  dim d as double
3528                  dim i as integer
3529                  d = val(me.Text)
3530                  i = d
3531                  ICSSerialPort1.Byte12 = chrb(i)
3532                End Function
3533        #tag EndEvent
3534#tag EndEvents
3535#tag Events EditField_Byte11
3536        #tag Event
3537                Function KeyDown(Key As String) As Boolean
3538                  //Make sure we have a valid value if not then set it to something
3539                  if val(me.Text) > 255 or val(me.Text) < 0 then
3540                    me.Text = "255"
3541                  end if
3542                 
3543                  dim d as double
3544                  dim i as integer
3545                  d = val(me.Text)
3546                  i = d
3547                  ICSSerialPort1.Byte11 = chrb(i)
3548                End Function
3549        #tag EndEvent
3550#tag EndEvents
3551#tag Events EditField_Byte10
3552        #tag Event
3553                Function KeyDown(Key As String) As Boolean
3554                  //Make sure we have a valid value if not then set it to something
3555                  if val(me.Text) > 255 or val(me.Text) < 0 then
3556                    me.Text = "255"
3557                  end if
3558                 
3559                  dim d as double
3560                  dim i as integer
3561                  d = val(me.Text)
3562                  i = d
3563                  ICSSerialPort1.Byte10 = chrb(i)
3564                End Function
3565        #tag EndEvent
3566#tag EndEvents
3567#tag Events EditField_Byte9
3568        #tag Event
3569                Function KeyDown(Key As String) As Boolean
3570                  //Make sure we have a valid value if not then set it to something
3571                  if val(me.Text) > 255 or val(me.Text) < 0 then
3572                    me.Text = "255"
3573                  end if
3574                 
3575                  dim d as double
3576                  dim i as integer
3577                  d = val(me.Text)
3578                  i = d
3579                  ICSSerialPort1.Byte09 = chrb(i)
3580                End Function
3581        #tag EndEvent
3582#tag EndEvents
3583#tag Events EditField_Byte8
3584        #tag Event
3585                Function KeyDown(Key As String) As Boolean
3586                  //Make sure we have a valid value if not then set it to something
3587                  if val(me.Text) > 255 or val(me.Text) < 0 then
3588                    me.Text = "255"
3589                  end if
3590                 
3591                  dim d as double
3592                  dim i as integer
3593                  d = val(me.Text)
3594                  i = d
3595                  ICSSerialPort1.Byte08 = chrb(i)
3596                End Function
3597        #tag EndEvent
3598#tag EndEvents
3599#tag Events EditField_Byte7
3600        #tag Event
3601                Function KeyDown(Key As String) As Boolean
3602                  //Make sure we have a valid value if not then set it to something
3603                  if val(me.Text) > 255 or val(me.Text) < 0 then
3604                    me.Text = "255"
3605                  end if
3606                 
3607                  dim d as double
3608                  dim i as integer
3609                  d = val(me.Text)
3610                  i = d
3611                  ICSSerialPort1.Byte07 = chrb(i)
3612                End Function
3613        #tag EndEvent
3614#tag EndEvents
3615#tag Events EditField_Byte6
3616        #tag Event
3617                Function KeyDown(Key As String) As Boolean
3618                  //Make sure we have a valid value if not then set it to something
3619                  if val(me.Text) > 255 or val(me.Text) < 0 then
3620                    me.Text = "255"
3621                  end if
3622                 
3623                  dim d as double
3624                  dim i as integer
3625                  d = val(me.Text)
3626                  i = d
3627                  ICSSerialPort1.Byte06 = chrb(i)
3628                End Function
3629        #tag EndEvent
3630#tag EndEvents
3631#tag Events EditField_Byte5
3632        #tag Event
3633                Function KeyDown(Key As String) As Boolean
3634                  //Make sure we have a valid value if not then set it to something
3635                  if val(me.Text) > 255 or val(me.Text) < 0 then
3636                    me.Text = "255"
3637                  end if
3638                 
3639                  dim d as double
3640                  dim i as integer
3641                  d = val(me.Text)
3642                  i = d
3643                  ICSSerialPort1.Byte05 = chrb(i)
3644                End Function
3645        #tag EndEvent
3646#tag EndEvents
3647#tag Events EditField_Byte4
3648        #tag Event
3649                Function KeyDown(Key As String) As Boolean
3650                  //Make sure we have a valid value if not then set it to something
3651                  if val(me.Text) > 255 or val(me.Text) < 0 then
3652                    me.Text = "255"
3653                  end if
3654                 
3655                  dim d as double
3656                  dim i as integer
3657                  d = val(me.Text)
3658                  i = d
3659                  ICSSerialPort1.Byte04 = chrb(i)
3660                End Function
3661        #tag EndEvent
3662#tag EndEvents
3663#tag Events EditField_Byte3
3664        #tag Event
3665                Sub TextChange()
3666                  //Make sure we have a valid value if not then set it to something
3667                  if val(me.Text) > 255 or val(me.Text) < 0 then
3668                    me.Text = "255"
3669                  end if
3670                 
3671                  dim d as double
3672                  dim i as integer
3673                  d = val(me.Text)
3674                  i = d
3675                  ICSSerialPort1.Byte03 = chrb(i)
3676                End Sub
3677        #tag EndEvent
3678#tag EndEvents
3679#tag Events ICSSerialPort1
3680        #tag Event
3681                Sub valuesChanged()
3682                  //Update the screens with the new values
3683                  updateAdvancedScreen
3684                  updateCarScreen
3685                End Sub
3686        #tag EndEvent
3687#tag EndEvents
3688#tag Events PushButton_Default
3689        #tag Event
3690                Sub Action()
3691                  ICSSerialPort1.setDefaultValues
3692                End Sub
3693        #tag EndEvent
3694#tag EndEvents
3695#tag Events PushButton_SaveProfile
3696        #tag Event
3697                Sub Action()
3698                  ICSSerialPort1.saveProfile(PopupMenu_Profile.Text)
3699                End Sub
3700        #tag EndEvent
3701#tag EndEvents
Note: See TracBrowser for help on using the repository browser.