source: trunk/desktop/mainWindow.rbfrm @ 32

Revision 32, 116.9 KB checked in by pinwc4, 15 years ago (diff)

Removed logic pointing to a removed button

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