source: trunk/desktop/mainWindow.rbfrm @ 47

Revision 47, 119.9 KB checked in by pinwc4, 14 years ago (diff)

Added car settings text, created new icon and added it to the project.

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