Changes in / [30:20]


Ignore:
Location:
/trunk/desktop
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • /trunk/desktop/FlipSideICS.rbvcp

    r29 r13  
    11Type=Desktop 
    2 RBProjectVersion=2010.01 
     2RBProjectVersion=2009.01 
    33Class=FlipSideICS;FlipSideICS.rbbas;&h321864E;&h0;false 
    44Window=mainWindow;mainWindow.rbfrm;&hDF8AE23;&h0;false 
    55MenuBar=mainMenuBar;mainMenuBar.rbmnu;&h4170C4A5;&h0;false 
     6Picture=background;background.jpg;&h527E8FD9;&h0;false;0;&h0 
    67Class=ICSSerialPort;ICSSerialPort.rbbas;&h73165B84;&h0;false 
    78Window=createProfile;createProfile.rbfrm;&h565C380D;&h0;false 
    8 Picture=background;background.jpg;&h527E8FD9;&h0;false;0;&h0 
    99DefaultWindow=mainWindow 
    1010AppMenuBar=mainMenuBar 
     
    1212MinorVersion=1 
    1313SubVersion=0 
    14 NonRelease=18 
     14NonRelease=9 
    1515Release=2 
    1616InfoVersion= 
     
    2121WinProductName= 
    2222AutoIncrementVersionInformation=True 
    23 BuildFlags=&h4010 
     23BuildFlags=&h4000 
    2424BuildLanguage=&h0 
    2525DebugLanguage=&h0 
     
    3535OSXBundleID= 
    3636DebuggerCommandLine= 
    37 UseGDIPlus=False 
    38 UseBuildsFolder=True 
  • /trunk/desktop/ICSSerialPort.rbbas

    r30 r20  
    22Protected Class ICSSerialPort 
    33Inherits serial 
    4         #tag Event 
    5                 Sub DataAvailable() 
    6                   //Add to the buffer first 
    7                    
    8                   buffer = buffer + me.ReadAll 
    9                    
    10                   //Figure out if we need to do anything 
    11                    
    12                   select case mode 
    13                      
    14                   case "read" 
    15                     dim flagstart as integer 
    16                     dim datastart as integer 
    17                      
    18                     //We need to decode the packet to figure out the values 
    19                      
    20                     //First we need to make sure we have enough data 
    21                     //If not we need to wait for more 
    22                      
    23                     flagstart = InStrb(buffer, ChrB(&h5A)) 
    24                      
    25                     if flagstart = 0 then 
    26                       //We did not find a match so we can discard the data and wait for more 
    27                       buffer =  "" 
    28                       return 
    29                     ElseIf lenb(buffer) < 17 + flagStart - 1 then 
    30                       // we do not have a complete packet return and wait 
    31                       return 
    32                     end if 
    33                      
    34                     datastart = flagstart + 1 
    35                      
    36                     byte03 = midb(buffer, datastart, 1) 
    37                     byte04 = midb(buffer, datastart+1, 1) 
    38                     byte05 = midb(buffer, datastart+2, 1) 
    39                     byte06 = midb(buffer, datastart+3, 1) 
    40                     byte07 = midb(buffer, datastart+4, 1) 
    41                     byte08 = midb(buffer, datastart+5, 1) 
    42                     byte09 = midb(buffer, datastart+6, 1) 
    43                     byte10 = midb(buffer, datastart+7, 1) 
    44                     byte11 = midb(buffer, datastart+8, 1) 
    45                     byte12 = midb(buffer, datastart+9, 1) 
    46                     byte13 = midb(buffer, datastart+10, 1) 
    47                     byte14 = midb(buffer, datastart+11, 1) 
    48                     byte15 = midb(buffer, datastart+12, 1) 
    49                     byte16 = midb(buffer, datastart+13, 1) 
    50                     byte17 = midb(buffer, datastart+14, 1) 
    51                      
    52                     valuesChanged() 
     4        #tag Method, Flags = &h0 
     5                Sub resetCar() 
     6                  //This sends the command to reset the car back to a default configuration 
     7                  //Defaults are different for each car type 
     8                  setDefaultValues 
     9                   
     10                  //Send the default values to the car 
     11                  writeCar 
     12                End Sub 
     13        #tag EndMethod 
     14 
     15        #tag Method, Flags = &h0 
     16                Sub setDefaultValues() 
     17                  //Set the defaults for the bytes sent to a car 
     18                   
     19                  select case carType 
     20                     
     21                  case "MR-03" 
     22                    byte01 = chrb(&hD5) 
     23                    byte02 = chrb(&h5A) 
     24                    byte03 = chrb(&h64) 
     25                    byte04 = chrb(&hFF) 
     26                    byte05 = chrb(&h02) 
     27                    byte06 = chrb(&h02) 
     28                    byte07 = chrb(&h01) 
     29                    byte08 = chrb(&hFF) 
     30                    byte09 = chrb(&hBC) 
     31                    byte10 = chrb(&h44) 
     32                    byte11 = chrb(&h88) 
     33                    byte12 = chrb(&h78) 
     34                    byte13 = chrb(&hFF) 
     35                    byte14 = chrb(&h2C) 
     36                    byte15 = chrb(&h05) 
     37                    byte16 = chrb(&h5A) 
     38                    byte17 = chrb(&h3C) 
     39                    byte18 = chrb(&h87) 
     40                     
     41                  case "dNaNo" 
     42                    byte01 = chrb(&hD5) 
     43                    byte02 = chrb(&h5A) 
     44                    byte03 = chrb(&hFF) 
     45                    byte04 = chrb(&hFF) 
     46                    byte05 = chrb(&h0A) 
     47                    byte06 = chrb(&h03) 
     48                    byte07 = chrb(&h01) 
     49                    byte08 = chrb(&h40) 
     50                    byte09 = chrb(&hBC) 
     51                    byte10 = chrb(&h44) 
     52                    byte11 = chrb(&h88) 
     53                    byte12 = chrb(&h78) 
     54                    byte13 = chrb(&h03) 
     55                    byte14 = chrb(&hFF) 
     56                    byte15 = chrb(&hFF) 
     57                    byte16 = chrb(&h80) 
     58                    byte17 = chrb(&h80) 
     59                    byte18 = chrb(&hA7) 
     60                     
     61                  case "ASF" 
     62                    byte01 = chrb(&hD5) 
     63                    byte02 = chrb(&h5A) 
     64                    byte03 = chrb(&hFF) 
     65                    byte04 = chrb(&hFF) 
     66                    byte05 = chrb(&h0A) 
     67                    byte06 = chrb(&h03) 
     68                    byte07 = chrb(&h01) 
     69                    byte08 = chrb(&h78) 
     70                    byte09 = chrb(&hBC) 
     71                    byte10 = chrb(&h44) 
     72                    byte11 = chrb(&h88) 
     73                    byte12 = chrb(&h78) 
     74                    byte13 = chrb(&h03) 
     75                    byte14 = chrb(&hFF) 
     76                    byte15 = chrb(&hFF) 
     77                    byte16 = chrb(&hFF) 
     78                    byte17 = chrb(&hFF) 
     79                    byte18 = chrb(&hDD) 
    5380                     
    5481                  else 
    55                      
    56                     //We do not care about the data, discard it 
    57                     buffer = "" 
    58                      
     82                    //default thing to do 
     83                    MsgBox "Error invalid car type" 
     84                    return 
    5985                  end select 
    60                 End Sub 
    61         #tag EndEvent 
    62  
     86                   
     87                  //trigger the event definition so main program knows the values changed 
     88                  valuesChanged() 
     89                End Sub 
     90        #tag EndMethod 
     91 
     92        #tag Method, Flags = &h0 
     93                Sub setCarType(value as string) 
     94                  //When setting car type we must reconfigure the serial port 
     95                  //Some car types have a different baud rate 
     96                   
     97                  select case value 
     98                     
     99                  case "MR-03" 
     100                    carType = value 
     101                    byte15 = chrb(&h05) 
     102                    byte16 = chrb(&h5A) 
     103                    byte17 = chrb(&h3C) 
     104                  case "dNaNo" 
     105                    carType = value 
     106                    byte15 = chrb(&hFF) 
     107                    byte16 = chrb(&h80) 
     108                    byte17 = chrb(&h80) 
     109                  case "ASF" 
     110                    carType = value 
     111                    byte15 = chrb(&hFF) 
     112                    byte16 = chrb(&hFF) 
     113                    byte17 = chrb(&hFF) 
     114                     
     115                  else 
     116                    MsgBox "Error setting Car Type" 
     117                  end select 
     118                   
     119                  valuesChanged() 
     120                End Sub 
     121        #tag EndMethod 
     122 
     123        #tag Method, Flags = &h0 
     124                Sub writeCar() 
     125                  //Send set bytes to the car 
     126                  mode = "write" 
     127                   
     128                  dim sendstring as string 
     129                   
     130                  calculateChecksum() 
     131                   
     132                  sendstring = byte01 + byte02 + byte03 + byte04 + byte05 + byte06 + byte07 + byte08 + byte09 + byte10 + byte11 + byte12 + byte13 + byte14 + byte15 + byte16 + byte17 + byte18 
     133                   
     134                  me.Write(sendstring) 
     135                End Sub 
     136        #tag EndMethod 
    63137 
    64138        #tag Method, Flags = &h0 
     
    86160                   
    87161                  byte18 = chrb(i) 
     162                End Sub 
     163        #tag EndMethod 
     164 
     165        #tag Method, Flags = &h0 
     166                Sub readCar() 
     167                  //Read values from the currently attached car 
     168                   
     169                  mode = "read" 
    88170                End Sub 
    89171        #tag EndMethod 
     
    127209                  carType = "MR-03" 
    128210                End Sub 
     211        #tag EndMethod 
     212 
     213        #tag Method, Flags = &h21 
     214                Private Function prepareDB() As Boolean 
     215                  //Open the database file 
     216                  fsicsdb = new REALSQLDatabase 
     217                  dim f as FolderItem = GetFolderItem("fsicsdb") 
     218                  fsicsdb.DatabaseFile = f 
     219                   
     220                  return f.Exists 
     221                End Function 
    129222        #tag EndMethod 
    130223 
     
    234327 
    235328        #tag Method, Flags = &h0 
    236                 Sub exportProfile(theName as string) 
    237                   dim xml as XmlDocument 
    238                   dim root as XmlNode 
    239                   dim rootchild as XmlNode 
     329                Sub saveProfile(theName as String) 
    240330                  dim rs as RecordSet 
    241                   dim i as integer 
    242                   dim dlg as SaveAsDialog 
    243                   dim f as FolderItem 
    244                    
    245                   dlg = New SaveAsDialog 
    246                   dlg.Title = "Export your profile" 
    247                   #if TargetLinux 
    248                     dlg.InitialDirectory = SpecialFolder.Home 
    249                   #else 
    250                     dlg.InitialDirectory = SpecialFolder.Documents 
    251                   #endif 
    252                    
    253                   dlg.SuggestedFileName = "ics_"+theName+".xml" 
    254                   f = dlg.ShowModal() 
    255                    
    256                   if f <> Nil then 
    257                     //Nothing to see here, move along 
    258                   else 
    259                     MsgBox "You must choose a file" 
    260                     Return 
     331                  dim status as Boolean 
     332                   
     333                  //Find a record 
     334                  rs = fsicsdb.SQLSelect("SELECT * FROM carprofiles WHERE name= '"+theName+"'") 
     335                   
     336                  //Make sure we got a record 
     337                  if rs <> nil then 
     338                    //delete the record before saving 
     339                    deleteProfile(theName) 
    261340                  end if 
    262341                   
    263                   //Find the record 
    264                   rs = fsicsdb.SQLSelect("SELECT * FROM carprofiles WHERE name= '"+theName+"'") 
    265                    
    266                   if rs <> Nil then 
    267                     //We have a record, so do something 
    268                      
    269                     //Create the root element of the XML file 
    270                     xml = New XmlDocument 
    271                     root = xml.AppendChild(xml.CreateElement("icsprofile")) 
    272                      
    273                     //Itterate all available fields and write them to the xml document 
    274                     for i = 1 to rs.FieldCount 
    275                       if rs.IdxField(i).Name <> "" and rs.IdxField(i).StringValue<> "" then 
    276                          
    277                         rootchild = root.AppendChild(xml.CreateElement(rs.IdxField(i).Name)) 
    278                         rootchild.AppendChild(xml.CreateTextNode(rs.IdxField(i).StringValue)) 
    279                       end if 
    280                     next 
    281                      
    282                     //Write the document to a file 
    283                     xml.SaveXml(f) 
    284                   else 
    285                     MsgBox "No profile to export" 
    286                     Return 
    287                   end if 
    288                    
    289                 End Sub 
    290         #tag EndMethod 
    291  
    292         #tag Method, Flags = &h0 
    293                 Function importProfile() As Boolean 
    294                   dim success as boolean 
    295                   dim dlg as OpenDialog 
    296                   dim f as FolderItem 
    297                   dim xdoc as XmlDocument 
    298                   dim root as XmlNode 
    299                   dim i as integer 
    300                   dim count as Integer 
    301                   dim item as string 
    302                   dim rec as DatabaseRecord 
    303                   dim theName as string 
    304                    
    305                   rec = New DatabaseRecord 
    306                   success = False 
    307                    
    308                    
    309                   //Get the user to select a file 
    310                   dlg = New OpenDialog 
    311                   dlg.Title = "Select a profile to import" 
    312                   #if TargetLinux 
    313                     dlg.InitialDirectory = SpecialFolder.Home 
    314                   #else 
    315                     dlg.InitialDirectory = SpecialFolder.Documents 
    316                   #endif 
    317                   f = dlg.ShowModal() 
    318                    
    319                   //If we have a valid file we need to read it as an xml file to process it 
    320                   //Items are individually specified to prevent the program from trying to insert columns that do not exist 
    321                   //All column names should match the database table 
    322                    
    323                   if f <> nil then 
    324                      
    325                     //Read the XML file 
    326                     xdoc = New XmlDocument(f) 
    327                      
    328                     count = xdoc.DocumentElement.ChildCount 
    329                      
    330                     for i = 0 to count - 1 
    331                       root = xdoc.DocumentElement.Child(i) 
    332                        
    333                       item = root.FirstChild.Value 
    334                        
    335                       select case root.Name 
    336                          
    337                       case "name" 
    338                         theName = item 
    339                       case "cartype" 
    340                         carType = item 
    341                       case "byte01" 
    342                         byte01 = chrb(val(item)) 
    343                       case "byte02" 
    344                         byte02 = chrb(val(item)) 
    345                       case "byte03" 
    346                         byte03 = chrb(val(item)) 
    347                       case "byte04" 
    348                         byte04 = chrb(val(item)) 
    349                       case "byte05" 
    350                         byte05 = chrb(val(item)) 
    351                       case "byte06" 
    352                         byte06 = chrb(val(item)) 
    353                       case "byte07" 
    354                         byte07 = chrb(val(item)) 
    355                       case "byte08" 
    356                         byte08 = chrb(val(item)) 
    357                       case "byte09" 
    358                         byte09 = chrb(val(item)) 
    359                       case "byte10" 
    360                         byte10 = chrb(val(item)) 
    361                       case "byte11" 
    362                         byte11 = chrb(val(item)) 
    363                       case "byte12" 
    364                         byte12 = chrb(val(item)) 
    365                       case "byte13" 
    366                         byte13 = chrb(val(item)) 
    367                       case "byte14" 
    368                         byte14 = chrb(val(item)) 
    369                       case "byte15" 
    370                         byte15 = chrb(val(item)) 
    371                       case "byte16" 
    372                         byte16 = chrb(val(item)) 
    373                       case "byte17" 
    374                         byte17 = chrb(val(item)) 
    375                       case "byte18" 
    376                         byte18 = chrb(val(item)) 
    377                          
    378                       end select 
    379                        
    380                     next 
    381                      
    382                   else 
    383                     //File not select we can stop 
    384                     success = False 
    385                     return success 
    386                   end if 
    387                    
    388                   //Now check to make sure their is not an existing profile with this name 
    389                   dim rs as RecordSet 
    390                    
    391                   rs = fsicsdb.SQLSelect("SELECT * FROM carprofiles WHERE name= '"+theName+"'") 
    392                    
    393                   if rs <> Nil then 
    394                      
    395                     if rs.RecordCount > 0 then 
    396                       //we have a duplicate record 
    397                       //we need to prompt the user about what to do 
    398                       dim d as New MessageDialog 
    399                       dim b as MessageDialogButton 
    400                       d.Icon = MessageDialog.GraphicCaution 
    401                       d.ActionButton.Caption = "Yes" 
    402                       d.CancelButton.Visible = True 
    403                       d.CancelButton.Caption = "No" 
    404                       d.Message = "A profile exists with this name, do you want to overwrite the existing profile?" 
    405                       b = d.ShowModal 
    406                        
    407                       //Now determine what the user chose 
    408                       Select Case b 
    409                       case d.ActionButton 
    410                         //The user wants to overwrite the record so we can just save what we have 
    411                         saveProfile(theName) 
    412                         success = True 
    413                         //Values changed because of the overwrite 
    414                         valuesChanged() 
    415                       case d.CancelButton 
    416                         //The user chose not to overwrite the record, we need to come up with a new name 
    417                         //We will increment the number until we find a name not used or we hit 32 just in case an infinite loop would occur 
    418                         dim tempString as string 
    419                         dim tempName as string 
    420                         i = 0 
    421                         while rs.RecordCount > 0 
    422                           i = i + 1 
    423                           tempString = str(i) 
    424                           tempName = theName + tempString 
    425                           //Check to make sure we are not in an infinite looooooooop 
    426                           //If we are something went wrong 
    427                           if i > 31 then 
    428                             exit While 
    429                           end if 
    430                           rs = fsicsdb.SQLSelect("SELECT * FROM carprofiles WHERE name = '"+tempName+"'") 
    431                            
    432                         wend 
    433                         //OK we have a unique name at this point 
    434                         theName = theName + tempString 
    435                         saveProfile(theName) 
    436                         success = True 
    437                         //new profile was imported 
    438                         profileImported(theName) 
    439                       end select 
    440                        
    441                     else 
    442                       //No duplicate exists so we can just insert the record 
    443                       saveProfile(theName) 
    444                       success = True 
    445                       //new profile was imported 
    446                       profileImported(theName) 
    447                     end if 
    448                     //Close our record 
    449                     rs.Close 
    450                      
    451                   end if 
    452                    
    453                   Return success 
    454                    
    455                 End Function 
     342                  rs.Close 
     343                   
     344                  status = createProfile(theName) 
     345                End Sub 
    456346        #tag EndMethod 
    457347 
     
    552442        #tag EndMethod 
    553443 
    554         #tag Method, Flags = &h21 
    555                 Private Function prepareDB() As Boolean 
    556                   //Open the database file 
    557                   fsicsdb = new REALSQLDatabase 
    558                   dim f as FolderItem = GetFolderItem("fsicsdb") 
    559                   fsicsdb.DatabaseFile = f 
    560                    
    561                   return f.Exists 
    562                 End Function 
    563         #tag EndMethod 
    564  
    565         #tag Method, Flags = &h0 
    566                 Sub readCar() 
    567                   //Read values from the currently attached car 
    568                   dim sendstring as string 
    569                    
    570                   mode = "read" 
    571                    
    572                   sendstring = chrb(&hC5) 
    573                    
    574                   me.Write(sendstring) 
    575                 End Sub 
    576         #tag EndMethod 
    577  
    578         #tag Method, Flags = &h0 
    579                 Sub resetCar() 
    580                   //This sends the command to reset the car back to a default configuration 
    581                   //Defaults are different for each car type 
    582                   setDefaultValues 
    583                    
    584                   //Send the default values to the car 
    585                   writeCar 
    586                 End Sub 
    587         #tag EndMethod 
    588  
    589         #tag Method, Flags = &h0 
    590                 Sub saveProfile(theName as String) 
    591                   if theName <> "" then 
    592                      
    593                     dim rs as RecordSet 
    594                     dim status as Boolean 
    595                      
    596                     //Find a record 
    597                     rs = fsicsdb.SQLSelect("SELECT * FROM carprofiles WHERE name= '"+theName+"'") 
    598                      
    599                     //Make sure we got a record 
    600                     if rs <> nil then 
    601                       //delete the record before saving 
    602                       deleteProfile(theName) 
    603                     end if 
    604                      
    605                     rs.Close 
    606                      
    607                     status = createProfile(theName) 
    608                      
    609                   else 
    610                      
    611                     MsgBox "Please select a profile to modify" 
    612                      
    613                   end if 
    614                 End Sub 
    615         #tag EndMethod 
    616  
    617         #tag Method, Flags = &h0 
    618                 Sub setCarType(value as string) 
    619                   //When setting car type we must reconfigure the serial port 
    620                   //Some car types have a different baud rate 
    621                    
    622                   select case value 
    623                      
    624                   case "MR-03" 
    625                     carType = value 
    626                     byte15 = chrb(&h05) 
    627                     byte16 = chrb(&h5A) 
    628                     byte17 = chrb(&h3C) 
    629                   case "dNaNo" 
    630                     carType = value 
    631                     byte15 = chrb(&hFF) 
    632                     byte16 = chrb(&h80) 
    633                     byte17 = chrb(&h80) 
    634                   case "ASF" 
    635                     carType = value 
    636                     byte15 = chrb(&hFF) 
    637                     byte16 = chrb(&hFF) 
    638                     byte17 = chrb(&hFF) 
    639                      
    640                   else 
    641                     MsgBox "Error setting Car Type" 
    642                   end select 
    643                    
    644                   valuesChanged() 
    645                 End Sub 
    646         #tag EndMethod 
    647  
    648         #tag Method, Flags = &h0 
    649                 Sub setDefaultValues() 
    650                   //Set the defaults for the bytes sent to a car 
    651                    
    652                   select case carType 
    653                      
    654                   case "MR-03" 
    655                     byte01 = chrb(&hD5) 
    656                     byte02 = chrb(&h5A) 
    657                     byte03 = chrb(&h64) 
    658                     byte04 = chrb(&hFF) 
    659                     byte05 = chrb(&h02) 
    660                     byte06 = chrb(&h02) 
    661                     byte07 = chrb(&h01) 
    662                     byte08 = chrb(&hFF) 
    663                     byte09 = chrb(&hBC) 
    664                     byte10 = chrb(&h44) 
    665                     byte11 = chrb(&h88) 
    666                     byte12 = chrb(&h78) 
    667                     byte13 = chrb(&hFF) 
    668                     byte14 = chrb(&h2C) 
    669                     byte15 = chrb(&h05) 
    670                     byte16 = chrb(&h5A) 
    671                     byte17 = chrb(&h3C) 
    672                     byte18 = chrb(&h87) 
    673                      
    674                   case "dNaNo" 
    675                     byte01 = chrb(&hD5) 
    676                     byte02 = chrb(&h5A) 
    677                     byte03 = chrb(&hFF) 
    678                     byte04 = chrb(&hFF) 
    679                     byte05 = chrb(&h0A) 
    680                     byte06 = chrb(&h03) 
    681                     byte07 = chrb(&h01) 
    682                     byte08 = chrb(&h40) 
    683                     byte09 = chrb(&hBC) 
    684                     byte10 = chrb(&h44) 
    685                     byte11 = chrb(&h88) 
    686                     byte12 = chrb(&h78) 
    687                     byte13 = chrb(&h03) 
    688                     byte14 = chrb(&hFF) 
    689                     byte15 = chrb(&hFF) 
    690                     byte16 = chrb(&h80) 
    691                     byte17 = chrb(&h80) 
    692                     byte18 = chrb(&hA7) 
    693                      
    694                   case "ASF" 
    695                     byte01 = chrb(&hD5) 
    696                     byte02 = chrb(&h5A) 
    697                     byte03 = chrb(&hFF) 
    698                     byte04 = chrb(&hFF) 
    699                     byte05 = chrb(&h0A) 
    700                     byte06 = chrb(&h03) 
    701                     byte07 = chrb(&h01) 
    702                     byte08 = chrb(&h78) 
    703                     byte09 = chrb(&hBC) 
    704                     byte10 = chrb(&h44) 
    705                     byte11 = chrb(&h88) 
    706                     byte12 = chrb(&h78) 
    707                     byte13 = chrb(&h03) 
    708                     byte14 = chrb(&hFF) 
    709                     byte15 = chrb(&hFF) 
    710                     byte16 = chrb(&hFF) 
    711                     byte17 = chrb(&hFF) 
    712                     byte18 = chrb(&hDD) 
    713                      
    714                   else 
    715                     //default thing to do 
    716                     MsgBox "Error invalid car type" 
    717                     return 
    718                   end select 
    719                    
    720                   //trigger the event definition so main program knows the values changed 
    721                   valuesChanged() 
    722                 End Sub 
    723         #tag EndMethod 
    724  
    725         #tag Method, Flags = &h0 
    726                 Sub writeCar() 
    727                   //Send set bytes to the car 
    728                   mode = "write" 
    729                    
    730                   dim sendstring as string 
    731                    
    732                   calculateChecksum() 
    733                    
    734                   sendstring = byte01 + byte02 + byte03 + byte04 + byte05 + byte06 + byte07 + byte08 + byte09 + byte10 + byte11 + byte12 + byte13 + byte14 + byte15 + byte16 + byte17 + byte18 
    735                    
    736                   me.Write(sendstring) 
    737                 End Sub 
    738         #tag EndMethod 
    739  
    740  
    741         #tag Hook, Flags = &h0 
    742                 Event profileImported(profileName as string) 
    743         #tag EndHook 
    744444 
    745445        #tag Hook, Flags = &h0 
     
    756456        #tag EndNote 
    757457 
    758         #tag Note, Name = License 
    759                 Copyright 2010 Jeremy Auten 
    760                  
    761                 This file is part of Flip Side ICS Software. 
    762                  
    763                 Flip Side ICS Software is free software: you can redistribute it and/or modify 
    764                 it under the terms of the GNU General Public License as published by 
    765                 the Free Software Foundation, either version 3 of the License, or 
    766                 (at your option) any later version. 
    767                  
    768                 Flip Side ICS Software is distributed in the hope that it will be useful, 
    769                 but WITHOUT ANY WARRANTY; without even the implied warranty of 
    770                 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    771                 GNU General Public License for more details. 
    772                  
    773                 You should have received a copy of the GNU General Public License 
    774                 along with Flip Side ICS Software.  If not, see <http://www.gnu.org/licenses/>. 
    775         #tag EndNote 
    776  
    777  
    778         #tag Property, Flags = &h21 
    779                 Private buffer As String 
    780         #tag EndProperty 
    781458 
    782459        #tag Property, Flags = &h0 
     
    785462 
    786463        #tag Property, Flags = &h0 
     464                byte11 As String 
     465        #tag EndProperty 
     466 
     467        #tag Property, Flags = &h0 
     468                byte12 As String 
     469        #tag EndProperty 
     470 
     471        #tag Property, Flags = &h0 
     472                byte13 As String 
     473        #tag EndProperty 
     474 
     475        #tag Property, Flags = &h0 
     476                byte14 As String 
     477        #tag EndProperty 
     478 
     479        #tag Property, Flags = &h0 
     480                byte15 As String 
     481        #tag EndProperty 
     482 
     483        #tag Property, Flags = &h0 
     484                byte16 As String 
     485        #tag EndProperty 
     486 
     487        #tag Property, Flags = &h0 
     488                byte17 As String 
     489        #tag EndProperty 
     490 
     491        #tag Property, Flags = &h0 
     492                byte18 As String 
     493        #tag EndProperty 
     494 
     495        #tag Property, Flags = &h0 
    787496                byte02 As String 
    788497        #tag EndProperty 
     
    821530 
    822531        #tag Property, Flags = &h0 
    823                 byte11 As String 
    824         #tag EndProperty 
    825  
    826         #tag Property, Flags = &h0 
    827                 byte12 As String 
    828         #tag EndProperty 
    829  
    830         #tag Property, Flags = &h0 
    831                 byte13 As String 
    832         #tag EndProperty 
    833  
    834         #tag Property, Flags = &h0 
    835                 byte14 As String 
    836         #tag EndProperty 
    837  
    838         #tag Property, Flags = &h0 
    839                 byte15 As String 
    840         #tag EndProperty 
    841  
    842         #tag Property, Flags = &h0 
    843                 byte16 As String 
    844         #tag EndProperty 
    845  
    846         #tag Property, Flags = &h0 
    847                 byte17 As String 
    848         #tag EndProperty 
    849  
    850         #tag Property, Flags = &h0 
    851                 byte18 As String 
    852         #tag EndProperty 
    853  
    854         #tag Property, Flags = &h21 
    855                 Private carType As String = "MR-03" 
     532                carType As String = "MR-03" 
    856533        #tag EndProperty 
    857534 
     
    860537        #tag EndProperty 
    861538 
    862         #tag Property, Flags = &h21 
    863                 Private mode As String = "none" 
     539        #tag Property, Flags = &h0 
     540                mode As String = "read" 
    864541        #tag EndProperty 
    865542 
    866543 
    867544        #tag ViewBehavior 
     545                #tag ViewProperty 
     546                        Name="Name" 
     547                        Visible=true 
     548                        Group="ID" 
     549                        InheritedFrom="serial" 
     550                #tag EndViewProperty 
     551                #tag ViewProperty 
     552                        Name="Index" 
     553                        Visible=true 
     554                        Group="ID" 
     555                        Type="Integer" 
     556                        InheritedFrom="serial" 
     557                #tag EndViewProperty 
     558                #tag ViewProperty 
     559                        Name="Super" 
     560                        Visible=true 
     561                        Group="ID" 
     562                        InheritedFrom="serial" 
     563                #tag EndViewProperty 
     564                #tag ViewProperty 
     565                        Name="Left" 
     566                        Visible=true 
     567                        Group="Position" 
     568                        InheritedFrom="serial" 
     569                #tag EndViewProperty 
     570                #tag ViewProperty 
     571                        Name="Top" 
     572                        Visible=true 
     573                        Group="Position" 
     574                        InheritedFrom="serial" 
     575                #tag EndViewProperty 
    868576                #tag ViewProperty 
    869577                        Name="Baud" 
     
    909617                #tag EndViewProperty 
    910618                #tag ViewProperty 
    911                         Name="byte01" 
    912                         Group="Behavior" 
    913                         InitialValue="&hFF" 
    914                         Type="String" 
    915                         EditorType="MultiLineEditor" 
    916                 #tag EndViewProperty 
    917                 #tag ViewProperty 
    918                         Name="byte02" 
    919                         Group="Behavior" 
    920                         Type="String" 
    921                         EditorType="MultiLineEditor" 
    922                 #tag EndViewProperty 
    923                 #tag ViewProperty 
    924                         Name="byte03" 
    925                         Group="Behavior" 
    926                         Type="String" 
    927                         EditorType="MultiLineEditor" 
    928                 #tag EndViewProperty 
    929                 #tag ViewProperty 
    930                         Name="byte04" 
    931                         Group="Behavior" 
    932                         Type="String" 
    933                         EditorType="MultiLineEditor" 
    934                 #tag EndViewProperty 
    935                 #tag ViewProperty 
    936                         Name="byte05" 
    937                         Group="Behavior" 
    938                         Type="String" 
    939                         EditorType="MultiLineEditor" 
    940                 #tag EndViewProperty 
    941                 #tag ViewProperty 
    942                         Name="byte06" 
    943                         Group="Behavior" 
    944                         Type="String" 
    945                         EditorType="MultiLineEditor" 
    946                 #tag EndViewProperty 
    947                 #tag ViewProperty 
    948                         Name="byte07" 
    949                         Group="Behavior" 
    950                         Type="String" 
    951                         EditorType="MultiLineEditor" 
    952                 #tag EndViewProperty 
    953                 #tag ViewProperty 
    954                         Name="byte08" 
    955                         Group="Behavior" 
    956                         Type="String" 
    957                         EditorType="MultiLineEditor" 
    958                 #tag EndViewProperty 
    959                 #tag ViewProperty 
    960                         Name="byte09" 
    961                         Group="Behavior" 
    962                         Type="String" 
    963                         EditorType="MultiLineEditor" 
    964                 #tag EndViewProperty 
    965                 #tag ViewProperty 
    966                         Name="byte10" 
    967                         Group="Behavior" 
    968                         Type="String" 
    969                         EditorType="MultiLineEditor" 
    970                 #tag EndViewProperty 
    971                 #tag ViewProperty 
    972                         Name="byte11" 
    973                         Group="Behavior" 
    974                         Type="String" 
    975                         EditorType="MultiLineEditor" 
    976                 #tag EndViewProperty 
    977                 #tag ViewProperty 
    978                         Name="byte12" 
    979                         Group="Behavior" 
    980                         Type="String" 
    981                         EditorType="MultiLineEditor" 
    982                 #tag EndViewProperty 
    983                 #tag ViewProperty 
    984                         Name="byte13" 
    985                         Group="Behavior" 
    986                         Type="String" 
    987                         EditorType="MultiLineEditor" 
    988                 #tag EndViewProperty 
    989                 #tag ViewProperty 
    990                         Name="byte14" 
    991                         Group="Behavior" 
    992                         Type="String" 
    993                         EditorType="MultiLineEditor" 
    994                 #tag EndViewProperty 
    995                 #tag ViewProperty 
    996                         Name="byte15" 
    997                         Group="Behavior" 
    998                         Type="String" 
    999                         EditorType="MultiLineEditor" 
    1000                 #tag EndViewProperty 
    1001                 #tag ViewProperty 
    1002                         Name="byte16" 
    1003                         Group="Behavior" 
    1004                         Type="String" 
    1005                         EditorType="MultiLineEditor" 
    1006                 #tag EndViewProperty 
    1007                 #tag ViewProperty 
    1008                         Name="byte17" 
    1009                         Group="Behavior" 
    1010                         Type="String" 
    1011                         EditorType="MultiLineEditor" 
    1012                 #tag EndViewProperty 
    1013                 #tag ViewProperty 
    1014                         Name="byte18" 
    1015                         Group="Behavior" 
    1016                         Type="String" 
    1017                         EditorType="MultiLineEditor" 
    1018                 #tag EndViewProperty 
    1019                 #tag ViewProperty 
    1020                         Name="carType" 
    1021                         Group="Behavior" 
    1022                         InitialValue="MR-03" 
    1023                         Type="String" 
    1024                         EditorType="MultiLineEditor" 
    1025                 #tag EndViewProperty 
    1026                 #tag ViewProperty 
    1027                         Name="CTS" 
    1028                         Visible=true 
    1029                         Group="Behavior" 
    1030                         Type="Boolean" 
    1031                         InheritedFrom="serial" 
    1032                 #tag EndViewProperty 
    1033                 #tag ViewProperty 
    1034                         Name="DTR" 
    1035                         Visible=true 
    1036                         Group="Behavior" 
    1037                         Type="Boolean" 
    1038                         InheritedFrom="serial" 
    1039                 #tag EndViewProperty 
    1040                 #tag ViewProperty 
    1041                         Name="Index" 
    1042                         Visible=true 
    1043                         Group="ID" 
    1044                         Type="Integer" 
    1045                         InheritedFrom="serial" 
    1046                 #tag EndViewProperty 
    1047                 #tag ViewProperty 
    1048                         Name="Left" 
    1049                         Visible=true 
    1050                         Group="Position" 
    1051                         InheritedFrom="serial" 
    1052                 #tag EndViewProperty 
    1053                 #tag ViewProperty 
    1054                         Name="mode" 
    1055                         Group="Behavior" 
    1056                         InitialValue="read" 
    1057                         Type="String" 
    1058                         EditorType="MultiLineEditor" 
    1059                 #tag EndViewProperty 
    1060                 #tag ViewProperty 
    1061                         Name="Name" 
    1062                         Visible=true 
    1063                         Group="ID" 
    1064                         InheritedFrom="serial" 
    1065                 #tag EndViewProperty 
    1066                 #tag ViewProperty 
    1067619                        Name="Parity" 
    1068620                        Visible=true 
     
    1093645                #tag EndViewProperty 
    1094646                #tag ViewProperty 
    1095                         Name="Super" 
    1096                         Visible=true 
    1097                         Group="ID" 
    1098                         InheritedFrom="serial" 
    1099                 #tag EndViewProperty 
    1100                 #tag ViewProperty 
    1101                         Name="Top" 
    1102                         Visible=true 
    1103                         Group="Position" 
    1104                         InheritedFrom="serial" 
    1105                 #tag EndViewProperty 
    1106                 #tag ViewProperty 
    1107647                        Name="XON" 
    1108648                        Visible=true 
     
    1110650                        Type="Boolean" 
    1111651                        InheritedFrom="serial" 
     652                #tag EndViewProperty 
     653                #tag ViewProperty 
     654                        Name="CTS" 
     655                        Visible=true 
     656                        Group="Behavior" 
     657                        Type="Boolean" 
     658                        InheritedFrom="serial" 
     659                #tag EndViewProperty 
     660                #tag ViewProperty 
     661                        Name="DTR" 
     662                        Visible=true 
     663                        Group="Behavior" 
     664                        Type="Boolean" 
     665                        InheritedFrom="serial" 
     666                #tag EndViewProperty 
     667                #tag ViewProperty 
     668                        Name="byte01" 
     669                        Group="Behavior" 
     670                        InitialValue="&hFF" 
     671                        Type="String" 
     672                        EditorType="MultiLineEditor" 
     673                #tag EndViewProperty 
     674                #tag ViewProperty 
     675                        Name="byte11" 
     676                        Group="Behavior" 
     677                        Type="String" 
     678                        EditorType="MultiLineEditor" 
     679                #tag EndViewProperty 
     680                #tag ViewProperty 
     681                        Name="byte12" 
     682                        Group="Behavior" 
     683                        Type="String" 
     684                        EditorType="MultiLineEditor" 
     685                #tag EndViewProperty 
     686                #tag ViewProperty 
     687                        Name="byte13" 
     688                        Group="Behavior" 
     689                        Type="String" 
     690                        EditorType="MultiLineEditor" 
     691                #tag EndViewProperty 
     692                #tag ViewProperty 
     693                        Name="byte14" 
     694                        Group="Behavior" 
     695                        Type="String" 
     696                        EditorType="MultiLineEditor" 
     697                #tag EndViewProperty 
     698                #tag ViewProperty 
     699                        Name="byte15" 
     700                        Group="Behavior" 
     701                        Type="String" 
     702                        EditorType="MultiLineEditor" 
     703                #tag EndViewProperty 
     704                #tag ViewProperty 
     705                        Name="byte16" 
     706                        Group="Behavior" 
     707                        Type="String" 
     708                        EditorType="MultiLineEditor" 
     709                #tag EndViewProperty 
     710                #tag ViewProperty 
     711                        Name="byte17" 
     712                        Group="Behavior" 
     713                        Type="String" 
     714                        EditorType="MultiLineEditor" 
     715                #tag EndViewProperty 
     716                #tag ViewProperty 
     717                        Name="byte18" 
     718                        Group="Behavior" 
     719                        Type="String" 
     720                        EditorType="MultiLineEditor" 
     721                #tag EndViewProperty 
     722                #tag ViewProperty 
     723                        Name="byte02" 
     724                        Group="Behavior" 
     725                        Type="String" 
     726                        EditorType="MultiLineEditor" 
     727                #tag EndViewProperty 
     728                #tag ViewProperty 
     729                        Name="byte03" 
     730                        Group="Behavior" 
     731                        Type="String" 
     732                        EditorType="MultiLineEditor" 
     733                #tag EndViewProperty 
     734                #tag ViewProperty 
     735                        Name="byte04" 
     736                        Group="Behavior" 
     737                        Type="String" 
     738                        EditorType="MultiLineEditor" 
     739                #tag EndViewProperty 
     740                #tag ViewProperty 
     741                        Name="byte05" 
     742                        Group="Behavior" 
     743                        Type="String" 
     744                        EditorType="MultiLineEditor" 
     745                #tag EndViewProperty 
     746                #tag ViewProperty 
     747                        Name="byte06" 
     748                        Group="Behavior" 
     749                        Type="String" 
     750                        EditorType="MultiLineEditor" 
     751                #tag EndViewProperty 
     752                #tag ViewProperty 
     753                        Name="byte07" 
     754                        Group="Behavior" 
     755                        Type="String" 
     756                        EditorType="MultiLineEditor" 
     757                #tag EndViewProperty 
     758                #tag ViewProperty 
     759                        Name="byte08" 
     760                        Group="Behavior" 
     761                        Type="String" 
     762                        EditorType="MultiLineEditor" 
     763                #tag EndViewProperty 
     764                #tag ViewProperty 
     765                        Name="byte09" 
     766                        Group="Behavior" 
     767                        Type="String" 
     768                        EditorType="MultiLineEditor" 
     769                #tag EndViewProperty 
     770                #tag ViewProperty 
     771                        Name="byte10" 
     772                        Group="Behavior" 
     773                        Type="String" 
     774                        EditorType="MultiLineEditor" 
     775                #tag EndViewProperty 
     776                #tag ViewProperty 
     777                        Name="carType" 
     778                        Group="Behavior" 
     779                        InitialValue="MR-03" 
     780                        Type="String" 
     781                #tag EndViewProperty 
     782                #tag ViewProperty 
     783                        Name="mode" 
     784                        Group="Behavior" 
     785                        InitialValue="read" 
     786                        Type="String" 
    1112787                #tag EndViewProperty 
    1113788        #tag EndViewBehavior 
  • /trunk/desktop/mainWindow.rbfrm

    r30 r19  
    88   FullScreen      =   False 
    99   HasBackColor    =   False 
    10    Height          =   428 
     10   Height          =   352 
    1111   ImplicitInstance=   True 
    1212   LiveResize      =   True 
     
    2121   MinWidth        =   64 
    2222   Placement       =   0 
    23    Resizeable      =   False 
     23   Resizeable      =   True 
    2424   Title           =   "Flip Side ICS" 
    2525   Visible         =   True 
    26    Width           =   720 
     26   Width           =   640 
    2727   Begin PushButton PushButton_Read 
    2828      AutoDeactivate  =   True 
     
    3131      Caption         =   "Read" 
    3232      Default         =   "" 
    33       Enabled         =   False 
     33      Enabled         =   True 
    3434      Height          =   20 
    3535      HelpTag         =   "" 
     
    3737      InitialParent   =   "" 
    3838      Italic          =   "" 
    39       Left            =   413 
    40       LockBottom      =   True 
     39      Left            =   26 
     40      LockBottom      =   "" 
    4141      LockedInPosition=   False 
    4242      LockLeft        =   "" 
     
    4949      TextFont        =   "System" 
    5050      TextSize        =   0 
    51       TextUnit        =   0 
    52       Top             =   388 
     51      Top             =   312 
    5352      Underline       =   "" 
    5453      Visible         =   True 
     
    6160      Caption         =   "Write" 
    6261      Default         =   False 
    63       Enabled         =   False 
     62      Enabled         =   True 
    6463      Height          =   20 
    6564      HelpTag         =   "" 
     
    6766      InitialParent   =   "" 
    6867      Italic          =   "" 
    69       Left            =   512 
    70       LockBottom      =   True 
     68      Left            =   126 
     69      LockBottom      =   "" 
    7170      LockedInPosition=   False 
    7271      LockLeft        =   "" 
     
    7978      TextFont        =   "System" 
    8079      TextSize        =   0 
    81       TextUnit        =   0 
    82       Top             =   388 
     80      Top             =   312 
     81      Underline       =   "" 
     82      Visible         =   True 
     83      Width           =   88 
     84   End 
     85   Begin PushButton PushButton_Reset 
     86      AutoDeactivate  =   True 
     87      Bold            =   "" 
     88      Cancel          =   "" 
     89      Caption         =   "Reset" 
     90      Default         =   "" 
     91      Enabled         =   True 
     92      Height          =   20 
     93      HelpTag         =   "" 
     94      Index           =   -2147483648 
     95      InitialParent   =   "" 
     96      Italic          =   "" 
     97      Left            =   226 
     98      LockBottom      =   "" 
     99      LockedInPosition=   False 
     100      LockLeft        =   "" 
     101      LockRight       =   "" 
     102      LockTop         =   "" 
     103      Scope           =   0 
     104      TabIndex        =   6 
     105      TabPanelIndex   =   0 
     106      TabStop         =   True 
     107      TextFont        =   "System" 
     108      TextSize        =   0 
     109      Top             =   312 
    83110      Underline       =   "" 
    84111      Visible         =   True 
     
    89116      Bold            =   "" 
    90117      Enabled         =   True 
    91       Height          =   366 
     118      Height          =   264 
    92119      HelpTag         =   "" 
    93120      Index           =   -2147483648 
    94121      InitialParent   =   "" 
    95122      Italic          =   "" 
    96       Left            =   195 
     123      Left            =   0 
    97124      LockBottom      =   "" 
    98125      LockedInPosition=   False 
     
    103130      Scope           =   0 
    104131      SmallTabs       =   False 
    105       TabDefinition   =   "Car\rCustom" 
     132      TabDefinition   =   "Settings\rProfiles\rCar\rCustom" 
    106133      TabIndex        =   43 
    107134      TabPanelIndex   =   0 
     
    109136      TextFont        =   "System" 
    110137      TextSize        =   0 
    111       TextUnit        =   0 
    112       Top             =   0 
     138      Top             =   32 
    113139      Underline       =   "" 
    114       Value           =   1 
     140      Value           =   3 
    115141      Visible         =   True 
    116       Width           =   525 
     142      Width           =   637 
     143      Begin StaticText StaticText_SerialPort 
     144         AutoDeactivate  =   True 
     145         Bold            =   "" 
     146         DataField       =   "" 
     147         DataSource      =   "" 
     148         Enabled         =   True 
     149         Height          =   20 
     150         HelpTag         =   "" 
     151         Index           =   -2147483648 
     152         InitialParent   =   "TabPanel1" 
     153         Italic          =   "" 
     154         Left            =   214 
     155         LockBottom      =   "" 
     156         LockedInPosition=   False 
     157         LockLeft        =   "" 
     158         LockRight       =   "" 
     159         LockTop         =   "" 
     160         Multiline       =   "" 
     161         Scope           =   0 
     162         TabIndex        =   0 
     163         TabPanelIndex   =   1 
     164         Text            =   "COM Port" 
     165         TextAlign       =   0 
     166         TextColor       =   "&cB8B8B8" 
     167         TextFont        =   "System" 
     168         TextSize        =   0 
     169         Top             =   106 
     170         Underline       =   "" 
     171         Visible         =   True 
     172         Width           =   100 
     173      End 
     174      Begin PopupMenu PopupMenu_SerialPort 
     175         AutoDeactivate  =   True 
     176         Bold            =   "" 
     177         DataField       =   "" 
     178         DataSource      =   "" 
     179         Enabled         =   True 
     180         Height          =   20 
     181         HelpTag         =   "" 
     182         Index           =   -2147483648 
     183         InitialParent   =   "TabPanel1" 
     184         InitialValue    =   "" 
     185         Italic          =   "" 
     186         Left            =   26 
     187         ListIndex       =   0 
     188         LockBottom      =   "" 
     189         LockedInPosition=   False 
     190         LockLeft        =   "" 
     191         LockRight       =   "" 
     192         LockTop         =   "" 
     193         Scope           =   0 
     194         TabIndex        =   1 
     195         TabPanelIndex   =   1 
     196         TabStop         =   True 
     197         TextFont        =   "System" 
     198         TextSize        =   0 
     199         Top             =   106 
     200         Underline       =   "" 
     201         Visible         =   True 
     202         Width           =   176 
     203      End 
     204      Begin GroupBox GroupBox1 
     205         AutoDeactivate  =   True 
     206         Bold            =   "" 
     207         Caption         =   "" 
     208         Enabled         =   True 
     209         Height          =   89 
     210         HelpTag         =   "" 
     211         Index           =   -2147483648 
     212         InitialParent   =   "TabPanel1" 
     213         Italic          =   "" 
     214         Left            =   14 
     215         LockBottom      =   "" 
     216         LockedInPosition=   False 
     217         LockLeft        =   "" 
     218         LockRight       =   "" 
     219         LockTop         =   "" 
     220         Scope           =   0 
     221         TabIndex        =   0 
     222         TabPanelIndex   =   2 
     223         TextFont        =   "System" 
     224         TextSize        =   0 
     225         Top             =   94 
     226         Underline       =   "" 
     227         Visible         =   True 
     228         Width           =   358 
     229         Begin PopupMenu PopupMenu_Profile 
     230            AutoDeactivate  =   True 
     231            Bold            =   "" 
     232            DataField       =   "" 
     233            DataSource      =   "" 
     234            Enabled         =   True 
     235            Height          =   20 
     236            HelpTag         =   "" 
     237            Index           =   -2147483648 
     238            InitialParent   =   "GroupBox1" 
     239            InitialValue    =   "" 
     240            Italic          =   "" 
     241            Left            =   26 
     242            ListIndex       =   0 
     243            LockBottom      =   "" 
     244            LockedInPosition=   False 
     245            LockLeft        =   "" 
     246            LockRight       =   "" 
     247            LockTop         =   "" 
     248            Scope           =   0 
     249            TabIndex        =   0 
     250            TabPanelIndex   =   2 
     251            TabStop         =   True 
     252            TextFont        =   "System" 
     253            TextSize        =   0 
     254            Top             =   106 
     255            Underline       =   "" 
     256            Visible         =   True 
     257            Width           =   176 
     258         End 
     259         Begin PushButton PushButton_Create 
     260            AutoDeactivate  =   True 
     261            Bold            =   "" 
     262            Cancel          =   "" 
     263            Caption         =   "Create" 
     264            Default         =   "" 
     265            Enabled         =   True 
     266            Height          =   20 
     267            HelpTag         =   "" 
     268            Index           =   -2147483648 
     269            InitialParent   =   "GroupBox1" 
     270            Italic          =   "" 
     271            Left            =   26 
     272            LockBottom      =   "" 
     273            LockedInPosition=   False 
     274            LockLeft        =   "" 
     275            LockRight       =   "" 
     276            LockTop         =   "" 
     277            Scope           =   0 
     278            TabIndex        =   1 
     279            TabPanelIndex   =   2 
     280            TabStop         =   True 
     281            TextFont        =   "System" 
     282            TextSize        =   0 
     283            Top             =   142 
     284            Underline       =   "" 
     285            Visible         =   True 
     286            Width           =   88 
     287         End 
     288         Begin PushButton PushButton_Delete 
     289            AutoDeactivate  =   True 
     290            Bold            =   "" 
     291            Cancel          =   "" 
     292            Caption         =   "Delete" 
     293            Default         =   "" 
     294            Enabled         =   True 
     295            Height          =   20 
     296            HelpTag         =   "" 
     297            Index           =   -2147483648 
     298            InitialParent   =   "GroupBox1" 
     299            Italic          =   "" 
     300            Left            =   126 
     301            LockBottom      =   "" 
     302            LockedInPosition=   False 
     303            LockLeft        =   "" 
     304            LockRight       =   "" 
     305            LockTop         =   "" 
     306            Scope           =   0 
     307            TabIndex        =   2 
     308            TabPanelIndex   =   2 
     309            TabStop         =   True 
     310            TextFont        =   "System" 
     311            TextSize        =   0 
     312            Top             =   142 
     313            Underline       =   "" 
     314            Visible         =   False 
     315            Width           =   88 
     316         End 
     317         Begin StaticText StaticText_Profiles 
     318            AutoDeactivate  =   True 
     319            Bold            =   "" 
     320            DataField       =   "" 
     321            DataSource      =   "" 
     322            Enabled         =   True 
     323            Height          =   20 
     324            HelpTag         =   "" 
     325            Index           =   -2147483648 
     326            InitialParent   =   "GroupBox1" 
     327            Italic          =   "" 
     328            Left            =   214 
     329            LockBottom      =   "" 
     330            LockedInPosition=   False 
     331            LockLeft        =   "" 
     332            LockRight       =   "" 
     333            LockTop         =   "" 
     334            Multiline       =   "" 
     335            Scope           =   0 
     336            TabIndex        =   4 
     337            TabPanelIndex   =   2 
     338            Text            =   "Profiles" 
     339            TextAlign       =   0 
     340            TextColor       =   "&cB8B8B8" 
     341            TextFont        =   "System" 
     342            TextSize        =   0 
     343            Top             =   106 
     344            Underline       =   "" 
     345            Visible         =   True 
     346            Width           =   100 
     347         End 
     348      End 
     349      Begin GroupBox GroupBox2 
     350         AutoDeactivate  =   True 
     351         Bold            =   "" 
     352         Caption         =   "" 
     353         Enabled         =   True 
     354         Height          =   202 
     355         HelpTag         =   "" 
     356         Index           =   -2147483648 
     357         InitialParent   =   "TabPanel1" 
     358         Italic          =   "" 
     359         Left            =   14 
     360         LockBottom      =   "" 
     361         LockedInPosition=   False 
     362         LockLeft        =   "" 
     363         LockRight       =   "" 
     364         LockTop         =   "" 
     365         Scope           =   0 
     366         TabIndex        =   0 
     367         TabPanelIndex   =   3 
     368         TextFont        =   "System" 
     369         TextSize        =   0 
     370         Top             =   94 
     371         Underline       =   "" 
     372         Visible         =   True 
     373         Width           =   608 
     374         Begin Slider Slider_THGain 
     375            AutoDeactivate  =   True 
     376            Enabled         =   True 
     377            Height          =   16 
     378            HelpTag         =   "" 
     379            Index           =   -2147483648 
     380            InitialParent   =   "GroupBox2" 
     381            Left            =   322 
     382            LineStep        =   1 
     383            LiveScroll      =   "" 
     384            LockBottom      =   "" 
     385            LockedInPosition=   False 
     386            LockLeft        =   "" 
     387            LockRight       =   "" 
     388            LockTop         =   "" 
     389            Maximum         =   255 
     390            Minimum         =   1 
     391            PageStep        =   20 
     392            Scope           =   0 
     393            TabIndex        =   0 
     394            TabPanelIndex   =   3 
     395            TabStop         =   True 
     396            Top             =   268 
     397            Value           =   0 
     398            Visible         =   True 
     399            Width           =   128 
     400         End 
     401         Begin EditField EditField_THGain 
     402            AcceptTabs      =   "" 
     403            Alignment       =   0 
     404            AutoDeactivate  =   True 
     405            BackColor       =   &hFFFFFF 
     406            Bold            =   "" 
     407            Border          =   True 
     408            DataField       =   "" 
     409            DataSource      =   "" 
     410            Enabled         =   True 
     411            Format          =   "" 
     412            Height          =   22 
     413            HelpTag         =   "" 
     414            Index           =   -2147483648 
     415            InitialParent   =   "GroupBox2" 
     416            Italic          =   "" 
     417            Left            =   462 
     418            LimitText       =   0 
     419            LockBottom      =   "" 
     420            LockedInPosition=   False 
     421            LockLeft        =   "" 
     422            LockRight       =   "" 
     423            LockTop         =   "" 
     424            Mask            =   "###" 
     425            Multiline       =   "" 
     426            Password        =   "" 
     427            ReadOnly        =   "" 
     428            Scope           =   0 
     429            ScrollbarHorizontal=   "" 
     430            ScrollbarVertical=   True 
     431            Styled          =   "" 
     432            TabIndex        =   1 
     433            TabPanelIndex   =   3 
     434            TabStop         =   True 
     435            Text            =   "" 
     436            TextColor       =   &h000000 
     437            TextFont        =   "System" 
     438            TextSize        =   0 
     439            Top             =   268 
     440            Underline       =   "" 
     441            UseFocusRing    =   True 
     442            Visible         =   True 
     443            Width           =   32 
     444         End 
     445         Begin StaticText StaticText_THGain 
     446            AutoDeactivate  =   True 
     447            Bold            =   "" 
     448            DataField       =   "" 
     449            DataSource      =   "" 
     450            Enabled         =   True 
     451            Height          =   20 
     452            HelpTag         =   "" 
     453            Index           =   -2147483648 
     454            InitialParent   =   "GroupBox2" 
     455            Italic          =   "" 
     456            Left            =   506 
     457            LockBottom      =   "" 
     458            LockedInPosition=   False 
     459            LockLeft        =   "" 
     460            LockRight       =   "" 
     461            LockTop         =   "" 
     462            Multiline       =   "" 
     463            Scope           =   0 
     464            TabIndex        =   2 
     465            TabPanelIndex   =   3 
     466            Text            =   "Throttle Gain" 
     467            TextAlign       =   0 
     468            TextColor       =   "&cB8B8B8" 
     469            TextFont        =   "System" 
     470            TextSize        =   0 
     471            Top             =   268 
     472            Underline       =   "" 
     473            Visible         =   True 
     474            Width           =   128 
     475         End 
     476         Begin Slider Slider_STGain 
     477            AutoDeactivate  =   True 
     478            Enabled         =   True 
     479            Height          =   16 
     480            HelpTag         =   "" 
     481            Index           =   -2147483648 
     482            InitialParent   =   "GroupBox2" 
     483            Left            =   322 
     484            LineStep        =   1 
     485            LiveScroll      =   "" 
     486            LockBottom      =   "" 
     487            LockedInPosition=   False 
     488            LockLeft        =   "" 
     489            LockRight       =   "" 
     490            LockTop         =   "" 
     491            Maximum         =   255 
     492            Minimum         =   1 
     493            PageStep        =   20 
     494            Scope           =   0 
     495            TabIndex        =   3 
     496            TabPanelIndex   =   3 
     497            TabStop         =   True 
     498            Top             =   234 
     499            Value           =   0 
     500            Visible         =   True 
     501            Width           =   128 
     502         End 
     503         Begin EditField EditField_STGain 
     504            AcceptTabs      =   "" 
     505            Alignment       =   0 
     506            AutoDeactivate  =   True 
     507            BackColor       =   &hFFFFFF 
     508            Bold            =   "" 
     509            Border          =   True 
     510            DataField       =   "" 
     511            DataSource      =   "" 
     512            Enabled         =   True 
     513            Format          =   "" 
     514            Height          =   22 
     515            HelpTag         =   "" 
     516            Index           =   -2147483648 
     517            InitialParent   =   "GroupBox2" 
     518            Italic          =   "" 
     519            Left            =   462 
     520            LimitText       =   0 
     521            LockBottom      =   "" 
     522            LockedInPosition=   False 
     523            LockLeft        =   "" 
     524            LockRight       =   "" 
     525            LockTop         =   "" 
     526            Mask            =   "###" 
     527            Multiline       =   "" 
     528            Password        =   "" 
     529            ReadOnly        =   "" 
     530            Scope           =   0 
     531            ScrollbarHorizontal=   "" 
     532            ScrollbarVertical=   True 
     533            Styled          =   "" 
     534            TabIndex        =   4 
     535            TabPanelIndex   =   3 
     536            TabStop         =   True 
     537            Text            =   "" 
     538            TextColor       =   &h000000 
     539            TextFont        =   "System" 
     540            TextSize        =   0 
     541            Top             =   234 
     542            Underline       =   "" 
     543            UseFocusRing    =   True 
     544            Visible         =   True 
     545            Width           =   32 
     546         End 
     547         Begin StaticText StaticText_STGain 
     548            AutoDeactivate  =   True 
     549            Bold            =   "" 
     550            DataField       =   "" 
     551            DataSource      =   "" 
     552            Enabled         =   True 
     553            Height          =   20 
     554            HelpTag         =   "" 
     555            Index           =   -2147483648 
     556            InitialParent   =   "GroupBox2" 
     557            Italic          =   "" 
     558            Left            =   506 
     559            LockBottom      =   "" 
     560            LockedInPosition=   False 
     561            LockLeft        =   "" 
     562            LockRight       =   "" 
     563            LockTop         =   "" 
     564            Multiline       =   "" 
     565            Scope           =   0 
     566            TabIndex        =   5 
     567            TabPanelIndex   =   3 
     568            Text            =   "Steering Gain" 
     569            TextAlign       =   0 
     570            TextColor       =   "&cB8B8B8" 
     571            TextFont        =   "System" 
     572            TextSize        =   0 
     573            Top             =   234 
     574            Underline       =   "" 
     575            Visible         =   True 
     576            Width           =   128 
     577         End 
     578         Begin PopupMenu PopupMenu_BackTiming 
     579            AutoDeactivate  =   True 
     580            Bold            =   "" 
     581            DataField       =   "" 
     582            DataSource      =   "" 
     583            Enabled         =   True 
     584            Height          =   20 
     585            HelpTag         =   "" 
     586            Index           =   -2147483648 
     587            InitialParent   =   "GroupBox2" 
     588            InitialValue    =   "1\r2\r3\r4\r5\rCustom" 
     589            Italic          =   "" 
     590            Left            =   322 
     591            ListIndex       =   0 
     592            LockBottom      =   "" 
     593            LockedInPosition=   False 
     594            LockLeft        =   "" 
     595            LockRight       =   "" 
     596            LockTop         =   "" 
     597            Scope           =   0 
     598            TabIndex        =   6 
     599            TabPanelIndex   =   3 
     600            TabStop         =   True 
     601            TextFont        =   "System" 
     602            TextSize        =   0 
     603            Top             =   202 
     604            Underline       =   "" 
     605            Visible         =   True 
     606            Width           =   172 
     607         End 
     608         Begin StaticText StaticText_BackTiming 
     609            AutoDeactivate  =   True 
     610            Bold            =   "" 
     611            DataField       =   "" 
     612            DataSource      =   "" 
     613            Enabled         =   True 
     614            Height          =   20 
     615            HelpTag         =   "" 
     616            Index           =   -2147483648 
     617            InitialParent   =   "GroupBox2" 
     618            Italic          =   "" 
     619            Left            =   506 
     620            LockBottom      =   "" 
     621            LockedInPosition=   False 
     622            LockLeft        =   "" 
     623            LockRight       =   "" 
     624            LockTop         =   "" 
     625            Multiline       =   "" 
     626            Scope           =   0 
     627            TabIndex        =   7 
     628            TabPanelIndex   =   3 
     629            Text            =   "Back Timing" 
     630            TextAlign       =   0 
     631            TextColor       =   "&cB8B8B8" 
     632            TextFont        =   "System" 
     633            TextSize        =   0 
     634            Top             =   202 
     635            Underline       =   "" 
     636            Visible         =   True 
     637            Width           =   128 
     638         End 
     639         Begin PopupMenu PopupMenu_VerticalInteria 
     640            AutoDeactivate  =   True 
     641            Bold            =   "" 
     642            DataField       =   "" 
     643            DataSource      =   "" 
     644            Enabled         =   True 
     645            Height          =   20 
     646            HelpTag         =   "" 
     647            Index           =   -2147483648 
     648            InitialParent   =   "GroupBox2" 
     649            InitialValue    =   "Strong\r2\r3\r4\rOff\rCustom" 
     650            Italic          =   "" 
     651            Left            =   322 
     652            ListIndex       =   0 
     653            LockBottom      =   "" 
     654            LockedInPosition=   False 
     655            LockLeft        =   "" 
     656            LockRight       =   "" 
     657            LockTop         =   "" 
     658            Scope           =   0 
     659            TabIndex        =   8 
     660            TabPanelIndex   =   3 
     661            TabStop         =   True 
     662            TextFont        =   "System" 
     663            TextSize        =   0 
     664            Top             =   171 
     665            Underline       =   "" 
     666            Visible         =   True 
     667            Width           =   172 
     668         End 
     669         Begin StaticText StaticText_VerticalIntertia 
     670            AutoDeactivate  =   True 
     671            Bold            =   "" 
     672            DataField       =   "" 
     673            DataSource      =   "" 
     674            Enabled         =   True 
     675            Height          =   20 
     676            HelpTag         =   "" 
     677            Index           =   -2147483648 
     678            InitialParent   =   "GroupBox2" 
     679            Italic          =   "" 
     680            Left            =   506 
     681            LockBottom      =   "" 
     682            LockedInPosition=   False 
     683            LockLeft        =   "" 
     684            LockRight       =   "" 
     685            LockTop         =   "" 
     686            Multiline       =   "" 
     687            Scope           =   0 
     688            TabIndex        =   9 
     689            TabPanelIndex   =   3 
     690            Text            =   "Vertical Intertia" 
     691            TextAlign       =   0 
     692            TextColor       =   "&cB8B8B8" 
     693            TextFont        =   "System" 
     694            TextSize        =   0 
     695            Top             =   171 
     696            Underline       =   "" 
     697            Visible         =   True 
     698            Width           =   128 
     699         End 
     700         Begin PopupMenu PopupMenu_Nuetral 
     701            AutoDeactivate  =   True 
     702            Bold            =   "" 
     703            DataField       =   "" 
     704            DataSource      =   "" 
     705            Enabled         =   True 
     706            Height          =   20 
     707            HelpTag         =   "" 
     708            Index           =   -2147483648 
     709            InitialParent   =   "GroupBox2" 
     710            InitialValue    =   "Narrow\rMid\rWide\rCustom" 
     711            Italic          =   "" 
     712            Left            =   322 
     713            ListIndex       =   0 
     714            LockBottom      =   "" 
     715            LockedInPosition=   False 
     716            LockLeft        =   "" 
     717            LockRight       =   "" 
     718            LockTop         =   "" 
     719            Scope           =   0 
     720            TabIndex        =   10 
     721            TabPanelIndex   =   3 
     722            TabStop         =   True 
     723            TextFont        =   "System" 
     724            TextSize        =   0 
     725            Top             =   139 
     726            Underline       =   "" 
     727            Visible         =   True 
     728            Width           =   172 
     729         End 
     730         Begin StaticText StaticText_Nuetral 
     731            AutoDeactivate  =   True 
     732            Bold            =   "" 
     733            DataField       =   "" 
     734            DataSource      =   "" 
     735            Enabled         =   True 
     736            Height          =   20 
     737            HelpTag         =   "" 
     738            Index           =   -2147483648 
     739            InitialParent   =   "GroupBox2" 
     740            Italic          =   "" 
     741            Left            =   506 
     742            LockBottom      =   "" 
     743            LockedInPosition=   False 
     744            LockLeft        =   "" 
     745            LockRight       =   "" 
     746            LockTop         =   "" 
     747            Multiline       =   "" 
     748            Scope           =   0 
     749            TabIndex        =   11 
     750            TabPanelIndex   =   3 
     751            Text            =   "Nuetral" 
     752            TextAlign       =   0 
     753            TextColor       =   "&cB8B8B8" 
     754            TextFont        =   "System" 
     755            TextSize        =   0 
     756            Top             =   139 
     757            Underline       =   "" 
     758            Visible         =   True 
     759            Width           =   128 
     760         End 
     761         Begin PopupMenu PopupMenu_DFreq 
     762            AutoDeactivate  =   True 
     763            Bold            =   "" 
     764            DataField       =   "" 
     765            DataSource      =   "" 
     766            Enabled         =   True 
     767            Height          =   20 
     768            HelpTag         =   "" 
     769            Index           =   -2147483648 
     770            InitialParent   =   "GroupBox2" 
     771            InitialValue    =   "High\rMedium\rLow\rCustom" 
     772            Italic          =   "" 
     773            Left            =   322 
     774            ListIndex       =   0 
     775            LockBottom      =   "" 
     776            LockedInPosition=   False 
     777            LockLeft        =   "" 
     778            LockRight       =   "" 
     779            LockTop         =   "" 
     780            Scope           =   0 
     781            TabIndex        =   12 
     782            TabPanelIndex   =   3 
     783            TabStop         =   True 
     784            TextFont        =   "System" 
     785            TextSize        =   0 
     786            Top             =   107 
     787            Underline       =   "" 
     788            Visible         =   True 
     789            Width           =   172 
     790         End 
     791         Begin StaticText StaticText_DFreq 
     792            AutoDeactivate  =   True 
     793            Bold            =   "" 
     794            DataField       =   "" 
     795            DataSource      =   "" 
     796            Enabled         =   True 
     797            Height          =   20 
     798            HelpTag         =   "" 
     799            Index           =   -2147483648 
     800            InitialParent   =   "GroupBox2" 
     801            Italic          =   "" 
     802            Left            =   506 
     803            LockBottom      =   "" 
     804            LockedInPosition=   False 
     805            LockLeft        =   "" 
     806            LockRight       =   "" 
     807            LockTop         =   "" 
     808            Multiline       =   "" 
     809            Scope           =   0 
     810            TabIndex        =   13 
     811            TabPanelIndex   =   3 
     812            Text            =   "Drive Frequency" 
     813            TextAlign       =   0 
     814            TextColor       =   "&cB8B8B8" 
     815            TextFont        =   "System" 
     816            TextSize        =   0 
     817            Top             =   106 
     818            Underline       =   "" 
     819            Visible         =   True 
     820            Width           =   106 
     821         End 
     822         Begin PopupMenu PopupMenu_Dump 
     823            AutoDeactivate  =   True 
     824            Bold            =   "" 
     825            DataField       =   "" 
     826            DataSource      =   "" 
     827            Enabled         =   True 
     828            Height          =   20 
     829            HelpTag         =   "" 
     830            Index           =   -2147483648 
     831            InitialParent   =   "GroupBox2" 
     832            InitialValue    =   "Over\rSmooth\rCustom" 
     833            Italic          =   "" 
     834            Left            =   26 
     835            ListIndex       =   0 
     836            LockBottom      =   "" 
     837            LockedInPosition=   False 
     838            LockLeft        =   "" 
     839            LockRight       =   "" 
     840            LockTop         =   "" 
     841            Scope           =   0 
     842            TabIndex        =   14 
     843            TabPanelIndex   =   3 
     844            TabStop         =   True 
     845            TextFont        =   "System" 
     846            TextSize        =   0 
     847            Top             =   262 
     848            Underline       =   "" 
     849            Visible         =   True 
     850            Width           =   172 
     851         End 
     852         Begin StaticText StaticText_Dump 
     853            AutoDeactivate  =   True 
     854            Bold            =   "" 
     855            DataField       =   "" 
     856            DataSource      =   "" 
     857            Enabled         =   True 
     858            Height          =   20 
     859            HelpTag         =   "" 
     860            Index           =   -2147483648 
     861            InitialParent   =   "GroupBox2" 
     862            Italic          =   "" 
     863            Left            =   210 
     864            LockBottom      =   "" 
     865            LockedInPosition=   False 
     866            LockLeft        =   "" 
     867            LockRight       =   "" 
     868            LockTop         =   "" 
     869            Multiline       =   "" 
     870            Scope           =   0 
     871            TabIndex        =   15 
     872            TabPanelIndex   =   3 
     873            Text            =   "Dump" 
     874            TextAlign       =   0 
     875            TextColor       =   "&cB8B8B8" 
     876            TextFont        =   "System" 
     877            TextSize        =   0 
     878            Top             =   262 
     879            Underline       =   "" 
     880            Visible         =   True 
     881            Width           =   128 
     882         End 
     883         Begin PopupMenu PopupMenu_DBand 
     884            AutoDeactivate  =   True 
     885            Bold            =   "" 
     886            DataField       =   "" 
     887            DataSource      =   "" 
     888            Enabled         =   True 
     889            Height          =   20 
     890            HelpTag         =   "" 
     891            Index           =   -2147483648 
     892            InitialParent   =   "GroupBox2" 
     893            InitialValue    =   "Narrow\rMid\rWide\rCustom" 
     894            Italic          =   "" 
     895            Left            =   26 
     896            ListIndex       =   0 
     897            LockBottom      =   "" 
     898            LockedInPosition=   False 
     899            LockLeft        =   "" 
     900            LockRight       =   "" 
     901            LockTop         =   "" 
     902            Scope           =   0 
     903            TabIndex        =   16 
     904            TabPanelIndex   =   3 
     905            TabStop         =   True 
     906            TextFont        =   "System" 
     907            TextSize        =   0 
     908            Top             =   230 
     909            Underline       =   "" 
     910            Visible         =   True 
     911            Width           =   172 
     912         End 
     913         Begin StaticText StaticText_DBand 
     914            AutoDeactivate  =   True 
     915            Bold            =   "" 
     916            DataField       =   "" 
     917            DataSource      =   "" 
     918            Enabled         =   True 
     919            Height          =   20 
     920            HelpTag         =   "" 
     921            Index           =   -2147483648 
     922            InitialParent   =   "GroupBox2" 
     923            Italic          =   "" 
     924            Left            =   210 
     925            LockBottom      =   "" 
     926            LockedInPosition=   False 
     927            LockLeft        =   "" 
     928            LockRight       =   "" 
     929            LockTop         =   "" 
     930            Multiline       =   "" 
     931            Scope           =   0 
     932            TabIndex        =   17 
     933            TabPanelIndex   =   3 
     934            Text            =   "Drive Band" 
     935            TextAlign       =   0 
     936            TextColor       =   "&cB8B8B8" 
     937            TextFont        =   "System" 
     938            TextSize        =   0 
     939            Top             =   230 
     940            Underline       =   "" 
     941            Visible         =   True 
     942            Width           =   128 
     943         End 
     944         Begin Slider Slider_Punch 
     945            AutoDeactivate  =   True 
     946            Enabled         =   True 
     947            Height          =   16 
     948            HelpTag         =   "" 
     949            Index           =   -2147483648 
     950            InitialParent   =   "GroupBox2" 
     951            Left            =   26 
     952            LineStep        =   1 
     953            LiveScroll      =   "" 
     954            LockBottom      =   "" 
     955            LockedInPosition=   False 
     956            LockLeft        =   "" 
     957            LockRight       =   "" 
     958            LockTop         =   "" 
     959            Maximum         =   10 
     960            Minimum         =   1 
     961            PageStep        =   20 
     962            Scope           =   0 
     963            TabIndex        =   18 
     964            TabPanelIndex   =   3 
     965            TabStop         =   True 
     966            Top             =   202 
     967            Value           =   0 
     968            Visible         =   True 
     969            Width           =   128 
     970         End 
     971         Begin EditField EditField_Punch 
     972            AcceptTabs      =   "" 
     973            Alignment       =   0 
     974            AutoDeactivate  =   True 
     975            BackColor       =   &hFFFFFF 
     976            Bold            =   "" 
     977            Border          =   True 
     978            DataField       =   "" 
     979            DataSource      =   "" 
     980            Enabled         =   True 
     981            Format          =   "" 
     982            Height          =   22 
     983            HelpTag         =   "" 
     984            Index           =   -2147483648 
     985            InitialParent   =   "GroupBox2" 
     986            Italic          =   "" 
     987            Left            =   166 
     988            LimitText       =   0 
     989            LockBottom      =   "" 
     990            LockedInPosition=   False 
     991            LockLeft        =   "" 
     992            LockRight       =   "" 
     993            LockTop         =   "" 
     994            Mask            =   "###" 
     995            Multiline       =   "" 
     996            Password        =   "" 
     997            ReadOnly        =   "" 
     998            Scope           =   0 
     999            ScrollbarHorizontal=   "" 
     1000            ScrollbarVertical=   True 
     1001            Styled          =   "" 
     1002            TabIndex        =   19 
     1003            TabPanelIndex   =   3 
     1004            TabStop         =   True 
     1005            Text            =   "" 
     1006            TextColor       =   &h000000 
     1007            TextFont        =   "System" 
     1008            TextSize        =   0 
     1009            Top             =   202 
     1010            Underline       =   "" 
     1011            UseFocusRing    =   True 
     1012            Visible         =   True 
     1013            Width           =   32 
     1014         End 
     1015         Begin StaticText StaticText_Punch 
     1016            AutoDeactivate  =   True 
     1017            Bold            =   "" 
     1018            DataField       =   "" 
     1019            DataSource      =   "" 
     1020            Enabled         =   True 
     1021            Height          =   20 
     1022            HelpTag         =   "" 
     1023            Index           =   -2147483648 
     1024            InitialParent   =   "GroupBox2" 
     1025            Italic          =   "" 
     1026            Left            =   210 
     1027            LockBottom      =   "" 
     1028            LockedInPosition=   False 
     1029            LockLeft        =   "" 
     1030            LockRight       =   "" 
     1031            LockTop         =   "" 
     1032            Multiline       =   "" 
     1033            Scope           =   0 
     1034            TabIndex        =   20 
     1035            TabPanelIndex   =   3 
     1036            Text            =   "Punch" 
     1037            TextAlign       =   0 
     1038            TextColor       =   "&cB8B8B8" 
     1039            TextFont        =   "System" 
     1040            TextSize        =   0 
     1041            Top             =   202 
     1042            Underline       =   "" 
     1043            Visible         =   True 
     1044            Width           =   128 
     1045         End 
     1046         Begin PopupMenu PopupMenu_Speed 
     1047            AutoDeactivate  =   True 
     1048            Bold            =   "" 
     1049            DataField       =   "" 
     1050            DataSource      =   "" 
     1051            Enabled         =   True 
     1052            Height          =   20 
     1053            HelpTag         =   "" 
     1054            Index           =   -2147483648 
     1055            InitialParent   =   "GroupBox2" 
     1056            InitialValue    =   "Slow\r2\r3\r4\rFast\rCustom" 
     1057            Italic          =   "" 
     1058            Left            =   26 
     1059            ListIndex       =   0 
     1060            LockBottom      =   "" 
     1061            LockedInPosition=   False 
     1062            LockLeft        =   "" 
     1063            LockRight       =   "" 
     1064            LockTop         =   "" 
     1065            Scope           =   0 
     1066            TabIndex        =   21 
     1067            TabPanelIndex   =   3 
     1068            TabStop         =   True 
     1069            TextFont        =   "System" 
     1070            TextSize        =   0 
     1071            Top             =   170 
     1072            Underline       =   "" 
     1073            Visible         =   True 
     1074            Width           =   172 
     1075         End 
     1076         Begin StaticText StaticText_Speed 
     1077            AutoDeactivate  =   True 
     1078            Bold            =   "" 
     1079            DataField       =   "" 
     1080            DataSource      =   "" 
     1081            Enabled         =   True 
     1082            Height          =   20 
     1083            HelpTag         =   "" 
     1084            Index           =   -2147483648 
     1085            InitialParent   =   "GroupBox2" 
     1086            Italic          =   "" 
     1087            Left            =   210 
     1088            LockBottom      =   "" 
     1089            LockedInPosition=   False 
     1090            LockLeft        =   "" 
     1091            LockRight       =   "" 
     1092            LockTop         =   "" 
     1093            Multiline       =   "" 
     1094            Scope           =   0 
     1095            TabIndex        =   22 
     1096            TabPanelIndex   =   3 
     1097            Text            =   "Speed" 
     1098            TextAlign       =   0 
     1099            TextColor       =   "&cB8B8B8" 
     1100            TextFont        =   "System" 
     1101            TextSize        =   0 
     1102            Top             =   170 
     1103            Underline       =   "" 
     1104            Visible         =   True 
     1105            Width           =   100 
     1106         End 
     1107         Begin PopupMenu PopupMenu_Gain 
     1108            AutoDeactivate  =   True 
     1109            Bold            =   "" 
     1110            DataField       =   "" 
     1111            DataSource      =   "" 
     1112            Enabled         =   True 
     1113            Height          =   20 
     1114            HelpTag         =   "" 
     1115            Index           =   -2147483648 
     1116            InitialParent   =   "GroupBox2" 
     1117            InitialValue    =   "Min\rMid\rStrong\rCustom" 
     1118            Italic          =   "" 
     1119            Left            =   26 
     1120            ListIndex       =   0 
     1121            LockBottom      =   "" 
     1122            LockedInPosition=   False 
     1123            LockLeft        =   "" 
     1124            LockRight       =   "" 
     1125            LockTop         =   "" 
     1126            Scope           =   0 
     1127            TabIndex        =   23 
     1128            TabPanelIndex   =   3 
     1129            TabStop         =   True 
     1130            TextFont        =   "System" 
     1131            TextSize        =   0 
     1132            Top             =   138 
     1133            Underline       =   "" 
     1134            Visible         =   True 
     1135            Width           =   172 
     1136         End 
     1137         Begin StaticText StaticText_Gain 
     1138            AutoDeactivate  =   True 
     1139            Bold            =   "" 
     1140            DataField       =   "" 
     1141            DataSource      =   "" 
     1142            Enabled         =   True 
     1143            Height          =   20 
     1144            HelpTag         =   "" 
     1145            Index           =   -2147483648 
     1146            InitialParent   =   "GroupBox2" 
     1147            Italic          =   "" 
     1148            Left            =   210 
     1149            LockBottom      =   "" 
     1150            LockedInPosition=   False 
     1151            LockLeft        =   "" 
     1152            LockRight       =   "" 
     1153            LockTop         =   "" 
     1154            Multiline       =   "" 
     1155            Scope           =   0 
     1156            TabIndex        =   24 
     1157            TabPanelIndex   =   3 
     1158            Text            =   "Gain" 
     1159            TextAlign       =   0 
     1160            TextColor       =   "&cB8B8B8" 
     1161            TextFont        =   "System" 
     1162            TextSize        =   0 
     1163            Top             =   139 
     1164            Underline       =   "" 
     1165            Visible         =   True 
     1166            Width           =   100 
     1167         End 
     1168         Begin StaticText StaticText_CarType 
     1169            AutoDeactivate  =   True 
     1170            Bold            =   "" 
     1171            DataField       =   "" 
     1172            DataSource      =   "" 
     1173            Enabled         =   True 
     1174            Height          =   20 
     1175            HelpTag         =   "" 
     1176            Index           =   -2147483648 
     1177            InitialParent   =   "GroupBox2" 
     1178            Italic          =   "" 
     1179            Left            =   210 
     1180            LockBottom      =   "" 
     1181            LockedInPosition=   False 
     1182            LockLeft        =   "" 
     1183            LockRight       =   "" 
     1184            LockTop         =   "" 
     1185            Multiline       =   "" 
     1186            Scope           =   0 
     1187            TabIndex        =   25 
     1188            TabPanelIndex   =   3 
     1189            Text            =   "Car Type" 
     1190            TextAlign       =   0 
     1191            TextColor       =   "&cB8B8B8" 
     1192            TextFont        =   "System" 
     1193            TextSize        =   0 
     1194            Top             =   106 
     1195            Underline       =   "" 
     1196            Visible         =   True 
     1197            Width           =   100 
     1198         End 
     1199         Begin PopupMenu PopupMenu_CarType 
     1200            AutoDeactivate  =   True 
     1201            Bold            =   "" 
     1202            DataField       =   "" 
     1203            DataSource      =   "" 
     1204            Enabled         =   True 
     1205            Height          =   20 
     1206            HelpTag         =   "" 
     1207            Index           =   -2147483648 
     1208            InitialParent   =   "GroupBox2" 
     1209            InitialValue    =   "MR-03\rdNaNo\rASF" 
     1210            Italic          =   "" 
     1211            Left            =   26 
     1212            ListIndex       =   0 
     1213            LockBottom      =   "" 
     1214            LockedInPosition=   False 
     1215            LockLeft        =   "" 
     1216            LockRight       =   "" 
     1217            LockTop         =   "" 
     1218            Scope           =   0 
     1219            TabIndex        =   26 
     1220            TabPanelIndex   =   3 
     1221            TabStop         =   True 
     1222            TextFont        =   "System" 
     1223            TextSize        =   0 
     1224            Top             =   106 
     1225            Underline       =   "" 
     1226            Visible         =   True 
     1227            Width           =   172 
     1228         End 
     1229      End 
    1171230      Begin EditField EditField_Byte1 
    1181231         AcceptTabs      =   "" 
     
    1311244         InitialParent   =   "TabPanel1" 
    1321245         Italic          =   "" 
    133          Left            =   221 
     1246         Left            =   26 
    1341247         LimitText       =   0 
    1351248         LockBottom      =   "" 
     
    1471260         Styled          =   "" 
    1481261         TabIndex        =   2 
    149          TabPanelIndex   =   2 
     1262         TabPanelIndex   =   4 
    1501263         TabStop         =   True 
    1511264         Text            =   "" 
     
    1531266         TextFont        =   "System" 
    1541267         TextSize        =   0 
    155          TextUnit        =   0 
    156          Top             =   58 
     1268         Top             =   96 
    1571269         Underline       =   "" 
    1581270         UseFocusRing    =   True 
     
    1601272         Width           =   32 
    1611273      End 
    162       Begin EditField EditField_Byte9 
     1274      Begin EditField EditField_Byte18 
    1631275         AcceptTabs      =   "" 
    1641276         Alignment       =   0 
     
    1691281         DataField       =   "" 
    1701282         DataSource      =   "" 
    171          Enabled         =   True 
     1283         Enabled         =   False 
    1721284         Format          =   "" 
    1731285         Height          =   22 
     
    1761288         InitialParent   =   "TabPanel1" 
    1771289         Italic          =   "" 
    178          Left            =   221 
     1290         Left            =   316 
    1791291         LimitText       =   0 
    1801292         LockBottom      =   "" 
     
    1911303         ScrollbarVertical=   True 
    1921304         Styled          =   "" 
    193          TabIndex        =   12 
    194          TabPanelIndex   =   2 
     1305         TabIndex        =   3 
     1306         TabPanelIndex   =   4 
    1951307         TabStop         =   True 
    1961308         Text            =   "" 
     
    1981310         TextFont        =   "System" 
    1991311         TextSize        =   0 
    200          TextUnit        =   0 
    201          Top             =   331 
     1312         Top             =   266 
    2021313         Underline       =   "" 
    2031314         UseFocusRing    =   True 
    204          Visible         =   True 
     1315         Visible         =   False 
    2051316         Width           =   32 
    2061317      End 
    207       Begin EditField EditField_Byte8 
     1318      Begin EditField EditField_Byte17 
    2081319         AcceptTabs      =   "" 
    2091320         Alignment       =   0 
     
    2211332         InitialParent   =   "TabPanel1" 
    2221333         Italic          =   "" 
    223          Left            =   221 
     1334         Left            =   316 
    2241335         LimitText       =   0 
    2251336         LockBottom      =   "" 
     
    2361347         ScrollbarVertical=   True 
    2371348         Styled          =   "" 
    238          TabIndex        =   13 
    239          TabPanelIndex   =   2 
     1349         TabIndex        =   4 
     1350         TabPanelIndex   =   4 
    2401351         TabStop         =   True 
    2411352         Text            =   "" 
     
    2431354         TextFont        =   "System" 
    2441355         TextSize        =   0 
    245          TextUnit        =   0 
    246          Top             =   296 
     1356         Top             =   232 
    2471357         Underline       =   "" 
    2481358         UseFocusRing    =   True 
     
    2501360         Width           =   32 
    2511361      End 
    252       Begin EditField EditField_Byte7 
     1362      Begin EditField EditField_Byte16 
    2531363         AcceptTabs      =   "" 
    2541364         Alignment       =   0 
     
    2661376         InitialParent   =   "TabPanel1" 
    2671377         Italic          =   "" 
    268          Left            =   221 
     1378         Left            =   316 
    2691379         LimitText       =   0 
    2701380         LockBottom      =   "" 
     
    2811391         ScrollbarVertical=   True 
    2821392         Styled          =   "" 
    283          TabIndex        =   14 
    284          TabPanelIndex   =   2 
     1393         TabIndex        =   5 
     1394         TabPanelIndex   =   4 
    2851395         TabStop         =   True 
    2861396         Text            =   "" 
     
    2881398         TextFont        =   "System" 
    2891399         TextSize        =   0 
    290          TextUnit        =   0 
    291          Top             =   262 
     1400         Top             =   198 
    2921401         Underline       =   "" 
    2931402         UseFocusRing    =   True 
     
    2951404         Width           =   32 
    2961405      End 
    297       Begin EditField EditField_Byte6 
     1406      Begin EditField EditField_Byte15 
    2981407         AcceptTabs      =   "" 
    2991408         Alignment       =   0 
     
    3111420         InitialParent   =   "TabPanel1" 
    3121421         Italic          =   "" 
    313          Left            =   221 
     1422         Left            =   316 
    3141423         LimitText       =   0 
    3151424         LockBottom      =   "" 
     
    3261435         ScrollbarVertical=   True 
    3271436         Styled          =   "" 
    328          TabIndex        =   15 
    329          TabPanelIndex   =   2 
     1437         TabIndex        =   6 
     1438         TabPanelIndex   =   4 
    3301439         TabStop         =   True 
    3311440         Text            =   "" 
     
    3331442         TextFont        =   "System" 
    3341443         TextSize        =   0 
    335          TextUnit        =   0 
    336          Top             =   228 
     1444         Top             =   164 
    3371445         Underline       =   "" 
    3381446         UseFocusRing    =   True 
     
    3401448         Width           =   32 
    3411449      End 
    342       Begin EditField EditField_Byte5 
     1450      Begin EditField EditField_Byte14 
    3431451         AcceptTabs      =   "" 
    3441452         Alignment       =   0 
     
    3561464         InitialParent   =   "TabPanel1" 
    3571465         Italic          =   "" 
    358          Left            =   221 
     1466         Left            =   316 
    3591467         LimitText       =   0 
    3601468         LockBottom      =   "" 
     
    3711479         ScrollbarVertical=   True 
    3721480         Styled          =   "" 
    373          TabIndex        =   16 
    374          TabPanelIndex   =   2 
     1481         TabIndex        =   7 
     1482         TabPanelIndex   =   4 
    3751483         TabStop         =   True 
    3761484         Text            =   "" 
     
    3781486         TextFont        =   "System" 
    3791487         TextSize        =   0 
    380          TextUnit        =   0 
    381          Top             =   195 
     1488         Top             =   130 
    3821489         Underline       =   "" 
    3831490         UseFocusRing    =   True 
     
    3851492         Width           =   32 
    3861493      End 
    387       Begin EditField EditField_Byte4 
     1494      Begin EditField EditField_Byte13 
    3881495         AcceptTabs      =   "" 
    3891496         Alignment       =   0 
     
    4011508         InitialParent   =   "TabPanel1" 
    4021509         Italic          =   "" 
    403          Left            =   221 
     1510         Left            =   316 
    4041511         LimitText       =   0 
    4051512         LockBottom      =   "" 
     
    4161523         ScrollbarVertical=   True 
    4171524         Styled          =   "" 
    418          TabIndex        =   17 
    419          TabPanelIndex   =   2 
     1525         TabIndex        =   8 
     1526         TabPanelIndex   =   4 
    4201527         TabStop         =   True 
    4211528         Text            =   "" 
     
    4231530         TextFont        =   "System" 
    4241531         TextSize        =   0 
    425          TextUnit        =   0 
    426          Top             =   161 
     1532         Top             =   95 
    4271533         Underline       =   "" 
    4281534         UseFocusRing    =   True 
     
    4301536         Width           =   32 
    4311537      End 
    432       Begin EditField EditField_Byte3 
     1538      Begin EditField EditField_Byte12 
    4331539         AcceptTabs      =   "" 
    4341540         Alignment       =   0 
     
    4461552         InitialParent   =   "TabPanel1" 
    4471553         Italic          =   "" 
    448          Left            =   221 
     1554         Left            =   154 
    4491555         LimitText       =   0 
    4501556         LockBottom      =   "" 
     
    4611567         ScrollbarVertical=   True 
    4621568         Styled          =   "" 
    463          TabIndex        =   18 
    464          TabPanelIndex   =   2 
     1569         TabIndex        =   9 
     1570         TabPanelIndex   =   4 
    4651571         TabStop         =   True 
    4661572         Text            =   "" 
     
    4681574         TextFont        =   "System" 
    4691575         TextSize        =   0 
    470          TextUnit        =   0 
    471          Top             =   126 
     1576         Top             =   266 
    4721577         Underline       =   "" 
    4731578         UseFocusRing    =   True 
     
    4751580         Width           =   32 
    4761581      End 
    477       Begin EditField EditField_Byte2 
     1582      Begin EditField EditField_Byte11 
    4781583         AcceptTabs      =   "" 
    4791584         Alignment       =   0 
     
    4841589         DataField       =   "" 
    4851590         DataSource      =   "" 
    486          Enabled         =   False 
     1591         Enabled         =   True 
    4871592         Format          =   "" 
    4881593         Height          =   22 
     
    4911596         InitialParent   =   "TabPanel1" 
    4921597         Italic          =   "" 
    493          Left            =   221 
     1598         Left            =   154 
    4941599         LimitText       =   0 
    4951600         LockBottom      =   "" 
     
    5061611         ScrollbarVertical=   True 
    5071612         Styled          =   "" 
    508          TabIndex        =   19 
    509          TabPanelIndex   =   2 
     1613         TabIndex        =   10 
     1614         TabPanelIndex   =   4 
    5101615         TabStop         =   True 
    5111616         Text            =   "" 
     
    5131618         TextFont        =   "System" 
    5141619         TextSize        =   0 
    515          TextUnit        =   0 
    516          Top             =   92 
     1620         Top             =   232 
    5171621         Underline       =   "" 
    5181622         UseFocusRing    =   True 
     
    5201624         Width           =   32 
    5211625      End 
    522       Begin StaticText StaticText_Byte1 
    523          AutoDeactivate  =   True 
    524          Bold            =   "" 
    525          DataField       =   "" 
    526          DataSource      =   "" 
    527          Enabled         =   True 
    528          Height          =   20 
    529          HelpTag         =   "" 
    530          Index           =   -2147483648 
    531          InitialParent   =   "TabPanel1" 
    532          Italic          =   "" 
    533          Left            =   265 
    534          LockBottom      =   "" 
    535          LockedInPosition=   False 
    536          LockLeft        =   "" 
    537          LockRight       =   "" 
    538          LockTop         =   "" 
    539          Multiline       =   "" 
    540          Scope           =   0 
    541          TabIndex        =   21 
    542          TabPanelIndex   =   2 
    543          Text            =   "Header" 
    544          TextAlign       =   0 
    545          TextColor       =   "&cB8B8B8" 
    546          TextFont        =   "System" 
    547          TextSize        =   0 
    548          TextUnit        =   0 
    549          Top             =   58 
    550          Underline       =   "" 
    551          Visible         =   True 
    552          Width           =   106 
    553       End 
    554       Begin StaticText StaticText_Byte6 
    555          AutoDeactivate  =   True 
    556          Bold            =   "" 
    557          DataField       =   "" 
    558          DataSource      =   "" 
    559          Enabled         =   True 
    560          Height          =   20 
    561          HelpTag         =   "" 
    562          Index           =   -2147483648 
    563          InitialParent   =   "TabPanel1" 
    564          Italic          =   "" 
    565          Left            =   265 
    566          LockBottom      =   "" 
    567          LockedInPosition=   False 
    568          LockLeft        =   "" 
    569          LockRight       =   "" 
    570          LockTop         =   "" 
    571          Multiline       =   "" 
    572          Scope           =   0 
    573          TabIndex        =   22 
    574          TabPanelIndex   =   2 
    575          Text            =   "Drive Band" 
    576          TextAlign       =   0 
    577          TextColor       =   "&cB8B8B8" 
    578          TextFont        =   "System" 
    579          TextSize        =   0 
    580          TextUnit        =   0 
    581          Top             =   228 
    582          Underline       =   "" 
    583          Visible         =   True 
    584          Width           =   106 
    585       End 
    586       Begin StaticText StaticText_Byte5 
    587          AutoDeactivate  =   True 
    588          Bold            =   "" 
    589          DataField       =   "" 
    590          DataSource      =   "" 
    591          Enabled         =   True 
    592          Height          =   20 
    593          HelpTag         =   "" 
    594          Index           =   -2147483648 
    595          InitialParent   =   "TabPanel1" 
    596          Italic          =   "" 
    597          Left            =   265 
    598          LockBottom      =   "" 
    599          LockedInPosition=   False 
    600          LockLeft        =   "" 
    601          LockRight       =   "" 
    602          LockTop         =   "" 
    603          Multiline       =   "" 
    604          Scope           =   0 
    605          TabIndex        =   23 
    606          TabPanelIndex   =   2 
    607          Text            =   "Punch" 
    608          TextAlign       =   0 
    609          TextColor       =   "&cB8B8B8" 
    610          TextFont        =   "System" 
    611          TextSize        =   0 
    612          TextUnit        =   0 
    613          Top             =   194 
    614          Underline       =   "" 
    615          Visible         =   True 
    616          Width           =   106 
    617       End 
    618       Begin StaticText StaticText_Byte4 
    619          AutoDeactivate  =   True 
    620          Bold            =   "" 
    621          DataField       =   "" 
    622          DataSource      =   "" 
    623          Enabled         =   True 
    624          Height          =   20 
    625          HelpTag         =   "" 
    626          Index           =   -2147483648 
    627          InitialParent   =   "TabPanel1" 
    628          Italic          =   "" 
    629          Left            =   265 
    630          LockBottom      =   "" 
    631          LockedInPosition=   False 
    632          LockLeft        =   "" 
    633          LockRight       =   "" 
    634          LockTop         =   "" 
    635          Multiline       =   "" 
    636          Scope           =   0 
    637          TabIndex        =   24 
    638          TabPanelIndex   =   2 
    639          Text            =   "Speed" 
    640          TextAlign       =   0 
    641          TextColor       =   "&cB8B8B8" 
    642          TextFont        =   "System" 
    643          TextSize        =   0 
    644          TextUnit        =   0 
    645          Top             =   162 
    646          Underline       =   "" 
    647          Visible         =   True 
    648          Width           =   106 
    649       End 
    650       Begin StaticText StaticText_Byte3 
    651          AutoDeactivate  =   True 
    652          Bold            =   "" 
    653          DataField       =   "" 
    654          DataSource      =   "" 
    655          Enabled         =   True 
    656          Height          =   20 
    657          HelpTag         =   "" 
    658          Index           =   -2147483648 
    659          InitialParent   =   "TabPanel1" 
    660          Italic          =   "" 
    661          Left            =   265 
    662          LockBottom      =   "" 
    663          LockedInPosition=   False 
    664          LockLeft        =   "" 
    665          LockRight       =   "" 
    666          LockTop         =   "" 
    667          Multiline       =   "" 
    668          Scope           =   0 
    669          TabIndex        =   25 
    670          TabPanelIndex   =   2 
    671          Text            =   "Gain" 
    672          TextAlign       =   0 
    673          TextColor       =   "&cB8B8B8" 
    674          TextFont        =   "System" 
    675          TextSize        =   0 
    676          TextUnit        =   0 
    677          Top             =   126 
    678          Underline       =   "" 
    679          Visible         =   True 
    680          Width           =   106 
    681       End 
    682       Begin StaticText StaticText_Byte2 
    683          AutoDeactivate  =   True 
    684          Bold            =   "" 
    685          DataField       =   "" 
    686          DataSource      =   "" 
    687          Enabled         =   True 
    688          Height          =   20 
    689          HelpTag         =   "" 
    690          Index           =   -2147483648 
    691          InitialParent   =   "TabPanel1" 
    692          Italic          =   "" 
    693          Left            =   265 
    694          LockBottom      =   "" 
    695          LockedInPosition=   False 
    696          LockLeft        =   "" 
    697          LockRight       =   "" 
    698          LockTop         =   "" 
    699          Multiline       =   "" 
    700          Scope           =   0 
    701          TabIndex        =   26 
    702          TabPanelIndex   =   2 
    703          Text            =   "Header" 
    704          TextAlign       =   0 
    705          TextColor       =   "&cB8B8B8" 
    706          TextFont        =   "System" 
    707          TextSize        =   0 
    708          TextUnit        =   0 
    709          Top             =   92 
    710          Underline       =   "" 
    711          Visible         =   True 
    712          Width           =   106 
    713       End 
    714       Begin StaticText StaticText_Byte7 
    715          AutoDeactivate  =   True 
    716          Bold            =   "" 
    717          DataField       =   "" 
    718          DataSource      =   "" 
    719          Enabled         =   True 
    720          Height          =   20 
    721          HelpTag         =   "" 
    722          Index           =   -2147483648 
    723          InitialParent   =   "TabPanel1" 
    724          Italic          =   "" 
    725          Left            =   267 
    726          LockBottom      =   "" 
    727          LockedInPosition=   False 
    728          LockLeft        =   "" 
    729          LockRight       =   "" 
    730          LockTop         =   "" 
    731          Multiline       =   "" 
    732          Scope           =   0 
    733          TabIndex        =   27 
    734          TabPanelIndex   =   2 
    735          Text            =   "Dump" 
    736          TextAlign       =   0 
    737          TextColor       =   "&cB8B8B8" 
    738          TextFont        =   "System" 
    739          TextSize        =   0 
    740          TextUnit        =   0 
    741          Top             =   264 
    742          Underline       =   "" 
    743          Visible         =   True 
    744          Width           =   106 
    745       End 
    746       Begin StaticText StaticText_Byte8 
    747          AutoDeactivate  =   True 
    748          Bold            =   "" 
    749          DataField       =   "" 
    750          DataSource      =   "" 
    751          Enabled         =   True 
    752          Height          =   20 
    753          HelpTag         =   "" 
    754          Index           =   -2147483648 
    755          InitialParent   =   "TabPanel1" 
    756          Italic          =   "" 
    757          Left            =   267 
    758          LockBottom      =   "" 
    759          LockedInPosition=   False 
    760          LockLeft        =   "" 
    761          LockRight       =   "" 
    762          LockTop         =   "" 
    763          Multiline       =   "" 
    764          Scope           =   0 
    765          TabIndex        =   28 
    766          TabPanelIndex   =   2 
    767          Text            =   "Drive Frequency" 
    768          TextAlign       =   0 
    769          TextColor       =   "&cB8B8B8" 
    770          TextFont        =   "System" 
    771          TextSize        =   0 
    772          TextUnit        =   0 
    773          Top             =   297 
    774          Underline       =   "" 
    775          Visible         =   True 
    776          Width           =   106 
    777       End 
    778       Begin StaticText StaticText_Byte9 
    779          AutoDeactivate  =   True 
    780          Bold            =   "" 
    781          DataField       =   "" 
    782          DataSource      =   "" 
    783          Enabled         =   True 
    784          Height          =   20 
    785          HelpTag         =   "" 
    786          Index           =   -2147483648 
    787          InitialParent   =   "TabPanel1" 
    788          Italic          =   "" 
    789          Left            =   265 
    790          LockBottom      =   "" 
    791          LockedInPosition=   False 
    792          LockLeft        =   "" 
    793          LockRight       =   "" 
    794          LockTop         =   "" 
    795          Multiline       =   "" 
    796          Scope           =   0 
    797          TabIndex        =   29 
    798          TabPanelIndex   =   2 
    799          Text            =   "Unknown" 
    800          TextAlign       =   0 
    801          TextColor       =   "&cB8B8B8" 
    802          TextFont        =   "System" 
    803          TextSize        =   0 
    804          TextUnit        =   0 
    805          Top             =   333 
    806          Underline       =   "" 
    807          Visible         =   True 
    808          Width           =   106 
    809       End 
    810       Begin Slider Slider_THGain 
    811          AutoDeactivate  =   True 
    812          Enabled         =   True 
    813          Height          =   16 
    814          HelpTag         =   "" 
    815          Index           =   -2147483648 
    816          InitialParent   =   "TabPanel1" 
    817          Left            =   448 
    818          LineStep        =   1 
    819          LiveScroll      =   "" 
    820          LockBottom      =   "" 
    821          LockedInPosition=   False 
    822          LockLeft        =   "" 
    823          LockRight       =   "" 
    824          LockTop         =   "" 
    825          Maximum         =   255 
    826          Minimum         =   1 
    827          PageStep        =   20 
    828          Scope           =   0 
    829          TabIndex        =   0 
    830          TabPanelIndex   =   1 
    831          TabStop         =   True 
    832          TickStyle       =   0 
    833          Top             =   218 
    834          Value           =   0 
    835          Visible         =   True 
    836          Width           =   100 
    837       End 
    838       Begin EditField EditField_THGain 
     1626      Begin EditField EditField_Byte10 
    8391627         AcceptTabs      =   "" 
    8401628         Alignment       =   0 
     
    8521640         InitialParent   =   "TabPanel1" 
    8531641         Italic          =   "" 
    854          Left            =   560 
     1642         Left            =   154 
    8551643         LimitText       =   0 
    8561644         LockBottom      =   "" 
     
    8671655         ScrollbarVertical=   True 
    8681656         Styled          =   "" 
    869          TabIndex        =   1 
    870          TabPanelIndex   =   1 
     1657         TabIndex        =   11 
     1658         TabPanelIndex   =   4 
    8711659         TabStop         =   True 
    8721660         Text            =   "" 
     
    8741662         TextFont        =   "System" 
    8751663         TextSize        =   0 
    876          TextUnit        =   0 
    877          Top             =   218 
     1664         Top             =   198 
    8781665         Underline       =   "" 
    8791666         UseFocusRing    =   True 
     
    8811668         Width           =   32 
    8821669      End 
    883       Begin StaticText StaticText_THGain 
    884          AutoDeactivate  =   True 
    885          Bold            =   "" 
    886          DataField       =   "" 
    887          DataSource      =   "" 
    888          Enabled         =   True 
    889          Height          =   20 
    890          HelpTag         =   "" 
    891          Index           =   -2147483648 
    892          InitialParent   =   "TabPanel1" 
    893          Italic          =   "" 
    894          Left            =   604 
    895          LockBottom      =   "" 
    896          LockedInPosition=   False 
    897          LockLeft        =   "" 
    898          LockRight       =   "" 
    899          LockTop         =   "" 
    900          Multiline       =   "" 
    901          Scope           =   0 
    902          TabIndex        =   2 
    903          TabPanelIndex   =   1 
    904          Text            =   "Throttle Gain" 
    905          TextAlign       =   0 
    906          TextColor       =   "&cB8B8B8" 
    907          TextFont        =   "System" 
    908          TextSize        =   0 
    909          TextUnit        =   0 
    910          Top             =   218 
    911          Underline       =   "" 
    912          Visible         =   True 
    913          Width           =   128 
    914       End 
    915       Begin Slider Slider_STGain 
    916          AutoDeactivate  =   True 
    917          Enabled         =   True 
    918          Height          =   16 
    919          HelpTag         =   "" 
    920          Index           =   -2147483648 
    921          InitialParent   =   "TabPanel1" 
    922          Left            =   448 
    923          LineStep        =   1 
    924          LiveScroll      =   "" 
    925          LockBottom      =   "" 
    926          LockedInPosition=   False 
    927          LockLeft        =   "" 
    928          LockRight       =   "" 
    929          LockTop         =   "" 
    930          Maximum         =   255 
    931          Minimum         =   1 
    932          PageStep        =   20 
    933          Scope           =   0 
    934          TabIndex        =   3 
    935          TabPanelIndex   =   1 
    936          TabStop         =   True 
    937          TickStyle       =   0 
    938          Top             =   186 
    939          Value           =   0 
    940          Visible         =   True 
    941          Width           =   100 
    942       End 
    943       Begin EditField EditField_STGain 
     1670      Begin EditField EditField_Byte9 
    9441671         AcceptTabs      =   "" 
    9451672         Alignment       =   0 
     
    9571684         InitialParent   =   "TabPanel1" 
    9581685         Italic          =   "" 
    959          Left            =   560 
     1686         Left            =   154 
    9601687         LimitText       =   0 
    9611688         LockBottom      =   "" 
     
    9721699         ScrollbarVertical=   True 
    9731700         Styled          =   "" 
    974          TabIndex        =   4 
    975          TabPanelIndex   =   1 
     1701         TabIndex        =   12 
     1702         TabPanelIndex   =   4 
    9761703         TabStop         =   True 
    9771704         Text            =   "" 
     
    9791706         TextFont        =   "System" 
    9801707         TextSize        =   0 
    981          TextUnit        =   0 
    982          Top             =   186 
     1708         Top             =   164 
    9831709         Underline       =   "" 
    9841710         UseFocusRing    =   True 
     
    9861712         Width           =   32 
    9871713      End 
    988       Begin StaticText StaticText_STGain 
    989          AutoDeactivate  =   True 
    990          Bold            =   "" 
    991          DataField       =   "" 
    992          DataSource      =   "" 
    993          Enabled         =   True 
    994          Height          =   20 
    995          HelpTag         =   "" 
    996          Index           =   -2147483648 
    997          InitialParent   =   "TabPanel1" 
    998          Italic          =   "" 
    999          Left            =   604 
    1000          LockBottom      =   "" 
    1001          LockedInPosition=   False 
    1002          LockLeft        =   "" 
    1003          LockRight       =   "" 
    1004          LockTop         =   "" 
    1005          Multiline       =   "" 
    1006          Scope           =   0 
    1007          TabIndex        =   5 
    1008          TabPanelIndex   =   1 
    1009          Text            =   "Steering Gain" 
    1010          TextAlign       =   0 
    1011          TextColor       =   "&cB8B8B8" 
    1012          TextFont        =   "System" 
    1013          TextSize        =   0 
    1014          TextUnit        =   0 
    1015          Top             =   186 
    1016          Underline       =   "" 
    1017          Visible         =   True 
    1018          Width           =   128 
    1019       End 
    1020       Begin PopupMenu PopupMenu_BackTiming 
    1021          AutoDeactivate  =   True 
    1022          Bold            =   "" 
    1023          DataField       =   "" 
    1024          DataSource      =   "" 
    1025          Enabled         =   True 
    1026          Height          =   20 
    1027          HelpTag         =   "" 
    1028          Index           =   -2147483648 
    1029          InitialParent   =   "TabPanel1" 
    1030          InitialValue    =   "1\r2\r3\r4\r5\rCustom" 
    1031          Italic          =   "" 
    1032          Left            =   448 
    1033          ListIndex       =   0 
    1034          LockBottom      =   "" 
    1035          LockedInPosition=   False 
    1036          LockLeft        =   "" 
    1037          LockRight       =   "" 
    1038          LockTop         =   "" 
    1039          Scope           =   0 
    1040          TabIndex        =   6 
    1041          TabPanelIndex   =   1 
    1042          TabStop         =   True 
    1043          TextFont        =   "System" 
    1044          TextSize        =   0 
    1045          TextUnit        =   0 
    1046          Top             =   154 
    1047          Underline       =   "" 
    1048          Visible         =   True 
    1049          Width           =   144 
    1050       End 
    1051       Begin StaticText StaticText_BackTiming 
    1052          AutoDeactivate  =   True 
    1053          Bold            =   "" 
    1054          DataField       =   "" 
    1055          DataSource      =   "" 
    1056          Enabled         =   True 
    1057          Height          =   20 
    1058          HelpTag         =   "" 
    1059          Index           =   -2147483648 
    1060          InitialParent   =   "TabPanel1" 
    1061          Italic          =   "" 
    1062          Left            =   604 
    1063          LockBottom      =   "" 
    1064          LockedInPosition=   False 
    1065          LockLeft        =   "" 
    1066          LockRight       =   "" 
    1067          LockTop         =   "" 
    1068          Multiline       =   "" 
    1069          Scope           =   0 
    1070          TabIndex        =   7 
    1071          TabPanelIndex   =   1 
    1072          Text            =   "Back Timing" 
    1073          TextAlign       =   0 
    1074          TextColor       =   "&cB8B8B8" 
    1075          TextFont        =   "System" 
    1076          TextSize        =   0 
    1077          TextUnit        =   0 
    1078          Top             =   154 
    1079          Underline       =   "" 
    1080          Visible         =   True 
    1081          Width           =   128 
    1082       End 
    1083       Begin PopupMenu PopupMenu_VerticalInteria 
    1084          AutoDeactivate  =   True 
    1085          Bold            =   "" 
    1086          DataField       =   "" 
    1087          DataSource      =   "" 
    1088          Enabled         =   True 
    1089          Height          =   20 
    1090          HelpTag         =   "" 
    1091          Index           =   -2147483648 
    1092          InitialParent   =   "TabPanel1" 
    1093          InitialValue    =   "Strong\r2\r3\r4\rOff\rCustom" 
    1094          Italic          =   "" 
    1095          Left            =   448 
    1096          ListIndex       =   0 
    1097          LockBottom      =   "" 
    1098          LockedInPosition=   False 
    1099          LockLeft        =   "" 
    1100          LockRight       =   "" 
    1101          LockTop         =   "" 
    1102          Scope           =   0 
    1103          TabIndex        =   8 
    1104          TabPanelIndex   =   1 
    1105          TabStop         =   True 
    1106          TextFont        =   "System" 
    1107          TextSize        =   0 
    1108          TextUnit        =   0 
    1109          Top             =   122 
    1110          Underline       =   "" 
    1111          Visible         =   True 
    1112          Width           =   144 
    1113       End 
    1114       Begin StaticText StaticText_VerticalIntertia 
    1115          AutoDeactivate  =   True 
    1116          Bold            =   "" 
    1117          DataField       =   "" 
    1118          DataSource      =   "" 
    1119          Enabled         =   True 
    1120          Height          =   20 
    1121          HelpTag         =   "" 
    1122          Index           =   -2147483648 
    1123          InitialParent   =   "TabPanel1" 
    1124          Italic          =   "" 
    1125          Left            =   604 
    1126          LockBottom      =   "" 
    1127          LockedInPosition=   False 
    1128          LockLeft        =   "" 
    1129          LockRight       =   "" 
    1130          LockTop         =   "" 
    1131          Multiline       =   "" 
    1132          Scope           =   0 
    1133          TabIndex        =   9 
    1134          TabPanelIndex   =   1 
    1135          Text            =   "Vertical Intertia" 
    1136          TextAlign       =   0 
    1137          TextColor       =   "&cB8B8B8" 
    1138          TextFont        =   "System" 
    1139          TextSize        =   0 
    1140          TextUnit        =   0 
    1141          Top             =   122 
    1142          Underline       =   "" 
    1143          Visible         =   True 
    1144          Width           =   128 
    1145       End 
    1146       Begin PopupMenu PopupMenu_Nuetral 
    1147          AutoDeactivate  =   True 
    1148          Bold            =   "" 
    1149          DataField       =   "" 
    1150          DataSource      =   "" 
    1151          Enabled         =   True 
    1152          Height          =   20 
    1153          HelpTag         =   "" 
    1154          Index           =   -2147483648 
    1155          InitialParent   =   "TabPanel1" 
    1156          InitialValue    =   "Narrow\rMid\rWide\rCustom" 
    1157          Italic          =   "" 
    1158          Left            =   448 
    1159          ListIndex       =   0 
    1160          LockBottom      =   "" 
    1161          LockedInPosition=   False 
    1162          LockLeft        =   "" 
    1163          LockRight       =   "" 
    1164          LockTop         =   "" 
    1165          Scope           =   0 
    1166          TabIndex        =   10 
    1167          TabPanelIndex   =   1 
    1168          TabStop         =   True 
    1169          TextFont        =   "System" 
    1170          TextSize        =   0 
    1171          TextUnit        =   0 
    1172          Top             =   90 
    1173          Underline       =   "" 
    1174          Visible         =   True 
    1175          Width           =   144 
    1176       End 
    1177       Begin StaticText StaticText_Nuetral 
    1178          AutoDeactivate  =   True 
    1179          Bold            =   "" 
    1180          DataField       =   "" 
    1181          DataSource      =   "" 
    1182          Enabled         =   True 
    1183          Height          =   20 
    1184          HelpTag         =   "" 
    1185          Index           =   -2147483648 
    1186          InitialParent   =   "TabPanel1" 
    1187          Italic          =   "" 
    1188          Left            =   604 
    1189          LockBottom      =   "" 
    1190          LockedInPosition=   False 
    1191          LockLeft        =   "" 
    1192          LockRight       =   "" 
    1193          LockTop         =   "" 
    1194          Multiline       =   "" 
    1195          Scope           =   0 
    1196          TabIndex        =   11 
    1197          TabPanelIndex   =   1 
    1198          Text            =   "Nuetral" 
    1199          TextAlign       =   0 
    1200          TextColor       =   "&cB8B8B8" 
    1201          TextFont        =   "System" 
    1202          TextSize        =   0 
    1203          TextUnit        =   0 
    1204          Top             =   90 
    1205          Underline       =   "" 
    1206          Visible         =   True 
    1207          Width           =   128 
    1208       End 
    1209       Begin PopupMenu PopupMenu_DFreq 
    1210          AutoDeactivate  =   True 
    1211          Bold            =   "" 
    1212          DataField       =   "" 
    1213          DataSource      =   "" 
    1214          Enabled         =   True 
    1215          Height          =   20 
    1216          HelpTag         =   "" 
    1217          Index           =   -2147483648 
    1218          InitialParent   =   "TabPanel1" 
    1219          InitialValue    =   "High\rMedium\rLow\rCustom" 
    1220          Italic          =   "" 
    1221          Left            =   448 
    1222          ListIndex       =   0 
    1223          LockBottom      =   "" 
    1224          LockedInPosition=   False 
    1225          LockLeft        =   "" 
    1226          LockRight       =   "" 
    1227          LockTop         =   "" 
    1228          Scope           =   0 
    1229          TabIndex        =   12 
    1230          TabPanelIndex   =   1 
    1231          TabStop         =   True 
    1232          TextFont        =   "System" 
    1233          TextSize        =   0 
    1234          TextUnit        =   0 
    1235          Top             =   58 
    1236          Underline       =   "" 
    1237          Visible         =   True 
    1238          Width           =   144 
    1239       End 
    1240       Begin StaticText StaticText_DFreq 
    1241          AutoDeactivate  =   True 
    1242          Bold            =   "" 
    1243          DataField       =   "" 
    1244          DataSource      =   "" 
    1245          Enabled         =   True 
    1246          Height          =   20 
    1247          HelpTag         =   "" 
    1248          Index           =   -2147483648 
    1249          InitialParent   =   "TabPanel1" 
    1250          Italic          =   "" 
    1251          Left            =   604 
    1252          LockBottom      =   "" 
    1253          LockedInPosition=   False 
    1254          LockLeft        =   "" 
    1255          LockRight       =   "" 
    1256          LockTop         =   "" 
    1257          Multiline       =   "" 
    1258          Scope           =   0 
    1259          TabIndex        =   13 
    1260          TabPanelIndex   =   1 
    1261          Text            =   "Drive Frequency" 
    1262          TextAlign       =   0 
    1263          TextColor       =   "&cB8B8B8" 
    1264          TextFont        =   "System" 
    1265          TextSize        =   0 
    1266          TextUnit        =   0 
    1267          Top             =   58 
    1268          Underline       =   "" 
    1269          Visible         =   True 
    1270          Width           =   106 
    1271       End 
    1272       Begin PopupMenu PopupMenu_Dump 
    1273          AutoDeactivate  =   True 
    1274          Bold            =   "" 
    1275          DataField       =   "" 
    1276          DataSource      =   "" 
    1277          Enabled         =   True 
    1278          Height          =   20 
    1279          HelpTag         =   "" 
    1280          Index           =   -2147483648 
    1281          InitialParent   =   "TabPanel1" 
    1282          InitialValue    =   "Over\rSmooth\rCustom" 
    1283          Italic          =   "" 
    1284          Left            =   209 
    1285          ListIndex       =   0 
    1286          LockBottom      =   "" 
    1287          LockedInPosition=   False 
    1288          LockLeft        =   "" 
    1289          LockRight       =   "" 
    1290          LockTop         =   "" 
    1291          Scope           =   0 
    1292          TabIndex        =   14 
    1293          TabPanelIndex   =   1 
    1294          TabStop         =   True 
    1295          TextFont        =   "System" 
    1296          TextSize        =   0 
    1297          TextUnit        =   0 
    1298          Top             =   218 
    1299          Underline       =   "" 
    1300          Visible         =   True 
    1301          Width           =   144 
    1302       End 
    1303       Begin StaticText StaticText_Dump 
    1304          AutoDeactivate  =   True 
    1305          Bold            =   "" 
    1306          DataField       =   "" 
    1307          DataSource      =   "" 
    1308          Enabled         =   True 
    1309          Height          =   20 
    1310          HelpTag         =   "" 
    1311          Index           =   -2147483648 
    1312          InitialParent   =   "TabPanel1" 
    1313          Italic          =   "" 
    1314          Left            =   365 
    1315          LockBottom      =   "" 
    1316          LockedInPosition=   False 
    1317          LockLeft        =   "" 
    1318          LockRight       =   "" 
    1319          LockTop         =   "" 
    1320          Multiline       =   "" 
    1321          Scope           =   0 
    1322          TabIndex        =   15 
    1323          TabPanelIndex   =   1 
    1324          Text            =   "Dump" 
    1325          TextAlign       =   0 
    1326          TextColor       =   "&cB8B8B8" 
    1327          TextFont        =   "System" 
    1328          TextSize        =   0 
    1329          TextUnit        =   0 
    1330          Top             =   218 
    1331          Underline       =   "" 
    1332          Visible         =   True 
    1333          Width           =   128 
    1334       End 
    1335       Begin PopupMenu PopupMenu_DBand 
    1336          AutoDeactivate  =   True 
    1337          Bold            =   "" 
    1338          DataField       =   "" 
    1339          DataSource      =   "" 
    1340          Enabled         =   True 
    1341          Height          =   20 
    1342          HelpTag         =   "" 
    1343          Index           =   -2147483648 
    1344          InitialParent   =   "TabPanel1" 
    1345          InitialValue    =   "Narrow\rMid\rWide\rCustom" 
    1346          Italic          =   "" 
    1347          Left            =   209 
    1348          ListIndex       =   0 
    1349          LockBottom      =   "" 
    1350          LockedInPosition=   False 
    1351          LockLeft        =   "" 
    1352          LockRight       =   "" 
    1353          LockTop         =   "" 
    1354          Scope           =   0 
    1355          TabIndex        =   16 
    1356          TabPanelIndex   =   1 
    1357          TabStop         =   True 
    1358          TextFont        =   "System" 
    1359          TextSize        =   0 
    1360          TextUnit        =   0 
    1361          Top             =   186 
    1362          Underline       =   "" 
    1363          Visible         =   True 
    1364          Width           =   144 
    1365       End 
    1366       Begin StaticText StaticText_DBand 
    1367          AutoDeactivate  =   True 
    1368          Bold            =   "" 
    1369          DataField       =   "" 
    1370          DataSource      =   "" 
    1371          Enabled         =   True 
    1372          Height          =   20 
    1373          HelpTag         =   "" 
    1374          Index           =   -2147483648 
    1375          InitialParent   =   "TabPanel1" 
    1376          Italic          =   "" 
    1377          Left            =   365 
    1378          LockBottom      =   "" 
    1379          LockedInPosition=   False 
    1380          LockLeft        =   "" 
    1381          LockRight       =   "" 
    1382          LockTop         =   "" 
    1383          Multiline       =   "" 
    1384          Scope           =   0 
    1385          TabIndex        =   17 
    1386          TabPanelIndex   =   1 
    1387          Text            =   "Drive Band" 
    1388          TextAlign       =   0 
    1389          TextColor       =   "&cB8B8B8" 
    1390          TextFont        =   "System" 
    1391          TextSize        =   0 
    1392          TextUnit        =   0 
    1393          Top             =   182 
    1394          Underline       =   "" 
    1395          Visible         =   True 
    1396          Width           =   128 
    1397       End 
    1398       Begin Slider Slider_Punch 
    1399          AutoDeactivate  =   True 
    1400          Enabled         =   True 
    1401          Height          =   16 
    1402          HelpTag         =   "" 
    1403          Index           =   -2147483648 
    1404          InitialParent   =   "TabPanel1" 
    1405          Left            =   209 
    1406          LineStep        =   1 
    1407          LiveScroll      =   "" 
    1408          LockBottom      =   "" 
    1409          LockedInPosition=   False 
    1410          LockLeft        =   "" 
    1411          LockRight       =   "" 
    1412          LockTop         =   "" 
    1413          Maximum         =   10 
    1414          Minimum         =   1 
    1415          PageStep        =   20 
    1416          Scope           =   0 
    1417          TabIndex        =   18 
    1418          TabPanelIndex   =   1 
    1419          TabStop         =   True 
    1420          TickStyle       =   0 
    1421          Top             =   154 
    1422          Value           =   0 
    1423          Visible         =   True 
    1424          Width           =   100 
    1425       End 
    1426       Begin EditField EditField_Punch 
     1714      Begin EditField EditField_Byte8 
    14271715         AcceptTabs      =   "" 
    14281716         Alignment       =   0 
     
    14401728         InitialParent   =   "TabPanel1" 
    14411729         Italic          =   "" 
    1442          Left            =   321 
     1730         Left            =   154 
    14431731         LimitText       =   0 
    14441732         LockBottom      =   "" 
     
    14551743         ScrollbarVertical=   True 
    14561744         Styled          =   "" 
    1457          TabIndex        =   19 
    1458          TabPanelIndex   =   1 
     1745         TabIndex        =   13 
     1746         TabPanelIndex   =   4 
    14591747         TabStop         =   True 
    14601748         Text            =   "" 
     
    14621750         TextFont        =   "System" 
    14631751         TextSize        =   0 
    1464          TextUnit        =   0 
    1465          Top             =   153 
     1752         Top             =   129 
    14661753         Underline       =   "" 
    14671754         UseFocusRing    =   True 
     
    14691756         Width           =   32 
    14701757      End 
    1471       Begin StaticText StaticText_Punch 
    1472          AutoDeactivate  =   True 
    1473          Bold            =   "" 
    1474          DataField       =   "" 
    1475          DataSource      =   "" 
    1476          Enabled         =   True 
    1477          Height          =   20 
    1478          HelpTag         =   "" 
    1479          Index           =   -2147483648 
    1480          InitialParent   =   "TabPanel1" 
    1481          Italic          =   "" 
    1482          Left            =   365 
    1483          LockBottom      =   "" 
    1484          LockedInPosition=   False 
    1485          LockLeft        =   "" 
    1486          LockRight       =   "" 
    1487          LockTop         =   "" 
    1488          Multiline       =   "" 
    1489          Scope           =   0 
    1490          TabIndex        =   20 
    1491          TabPanelIndex   =   1 
    1492          Text            =   "Punch" 
    1493          TextAlign       =   0 
    1494          TextColor       =   "&cB8B8B8" 
    1495          TextFont        =   "System" 
    1496          TextSize        =   0 
    1497          TextUnit        =   0 
    1498          Top             =   153 
    1499          Underline       =   "" 
    1500          Visible         =   True 
    1501          Width           =   81 
    1502       End 
    1503       Begin PopupMenu PopupMenu_Speed 
    1504          AutoDeactivate  =   True 
    1505          Bold            =   "" 
    1506          DataField       =   "" 
    1507          DataSource      =   "" 
    1508          Enabled         =   True 
    1509          Height          =   20 
    1510          HelpTag         =   "" 
    1511          Index           =   -2147483648 
    1512          InitialParent   =   "TabPanel1" 
    1513          InitialValue    =   "Slow\r2\r3\r4\rFast\rCustom" 
    1514          Italic          =   "" 
    1515          Left            =   209 
    1516          ListIndex       =   0 
    1517          LockBottom      =   "" 
    1518          LockedInPosition=   False 
    1519          LockLeft        =   "" 
    1520          LockRight       =   "" 
    1521          LockTop         =   "" 
    1522          Scope           =   0 
    1523          TabIndex        =   21 
    1524          TabPanelIndex   =   1 
    1525          TabStop         =   True 
    1526          TextFont        =   "System" 
    1527          TextSize        =   0 
    1528          TextUnit        =   0 
    1529          Top             =   122 
    1530          Underline       =   "" 
    1531          Visible         =   True 
    1532          Width           =   144 
    1533       End 
    1534       Begin StaticText StaticText_Speed 
    1535          AutoDeactivate  =   True 
    1536          Bold            =   "" 
    1537          DataField       =   "" 
    1538          DataSource      =   "" 
    1539          Enabled         =   True 
    1540          Height          =   20 
    1541          HelpTag         =   "" 
    1542          Index           =   -2147483648 
    1543          InitialParent   =   "TabPanel1" 
    1544          Italic          =   "" 
    1545          Left            =   365 
    1546          LockBottom      =   "" 
    1547          LockedInPosition=   False 
    1548          LockLeft        =   "" 
    1549          LockRight       =   "" 
    1550          LockTop         =   "" 
    1551          Multiline       =   "" 
    1552          Scope           =   0 
    1553          TabIndex        =   22 
    1554          TabPanelIndex   =   1 
    1555          Text            =   "Speed" 
    1556          TextAlign       =   0 
    1557          TextColor       =   "&cB8B8B8" 
    1558          TextFont        =   "System" 
    1559          TextSize        =   0 
    1560          TextUnit        =   0 
    1561          Top             =   122 
    1562          Underline       =   "" 
    1563          Visible         =   True 
    1564          Width           =   100 
    1565       End 
    1566       Begin PopupMenu PopupMenu_Gain 
    1567          AutoDeactivate  =   True 
    1568          Bold            =   "" 
    1569          DataField       =   "" 
    1570          DataSource      =   "" 
    1571          Enabled         =   True 
    1572          Height          =   20 
    1573          HelpTag         =   "" 
    1574          Index           =   -2147483648 
    1575          InitialParent   =   "TabPanel1" 
    1576          InitialValue    =   "Min\rMid\rStrong\rCustom" 
    1577          Italic          =   "" 
    1578          Left            =   209 
    1579          ListIndex       =   0 
    1580          LockBottom      =   "" 
    1581          LockedInPosition=   False 
    1582          LockLeft        =   "" 
    1583          LockRight       =   "" 
    1584          LockTop         =   "" 
    1585          Scope           =   0 
    1586          TabIndex        =   23 
    1587          TabPanelIndex   =   1 
    1588          TabStop         =   True 
    1589          TextFont        =   "System" 
    1590          TextSize        =   0 
    1591          TextUnit        =   0 
    1592          Top             =   90 
    1593          Underline       =   "" 
    1594          Visible         =   True 
    1595          Width           =   144 
    1596       End 
    1597       Begin StaticText StaticText_Gain 
    1598          AutoDeactivate  =   True 
    1599          Bold            =   "" 
    1600          DataField       =   "" 
    1601          DataSource      =   "" 
    1602          Enabled         =   True 
    1603          Height          =   20 
    1604          HelpTag         =   "" 
    1605          Index           =   -2147483648 
    1606          InitialParent   =   "TabPanel1" 
    1607          Italic          =   "" 
    1608          Left            =   365 
    1609          LockBottom      =   "" 
    1610          LockedInPosition=   False 
    1611          LockLeft        =   "" 
    1612          LockRight       =   "" 
    1613          LockTop         =   "" 
    1614          Multiline       =   "" 
    1615          Scope           =   0 
    1616          TabIndex        =   24 
    1617          TabPanelIndex   =   1 
    1618          Text            =   "Gain" 
    1619          TextAlign       =   0 
    1620          TextColor       =   "&cB8B8B8" 
    1621          TextFont        =   "System" 
    1622          TextSize        =   0 
    1623          TextUnit        =   0 
    1624          Top             =   91 
    1625          Underline       =   "" 
    1626          Visible         =   True 
    1627          Width           =   100 
    1628       End 
    1629       Begin StaticText StaticText_CarType 
    1630          AutoDeactivate  =   True 
    1631          Bold            =   "" 
    1632          DataField       =   "" 
    1633          DataSource      =   "" 
    1634          Enabled         =   True 
    1635          Height          =   20 
    1636          HelpTag         =   "" 
    1637          Index           =   -2147483648 
    1638          InitialParent   =   "TabPanel1" 
    1639          Italic          =   "" 
    1640          Left            =   365 
    1641          LockBottom      =   "" 
    1642          LockedInPosition=   False 
    1643          LockLeft        =   "" 
    1644          LockRight       =   "" 
    1645          LockTop         =   "" 
    1646          Multiline       =   "" 
    1647          Scope           =   0 
    1648          TabIndex        =   25 
    1649          TabPanelIndex   =   1 
    1650          Text            =   "Car Type" 
    1651          TextAlign       =   0 
    1652          TextColor       =   "&cB8B8B8" 
    1653          TextFont        =   "System" 
    1654          TextSize        =   0 
    1655          TextUnit        =   0 
    1656          Top             =   58 
    1657          Underline       =   "" 
    1658          Visible         =   True 
    1659          Width           =   100 
    1660       End 
    1661       Begin PopupMenu PopupMenu_CarType 
    1662          AutoDeactivate  =   True 
    1663          Bold            =   "" 
    1664          DataField       =   "" 
    1665          DataSource      =   "" 
    1666          Enabled         =   True 
    1667          Height          =   20 
    1668          HelpTag         =   "" 
    1669          Index           =   -2147483648 
    1670          InitialParent   =   "TabPanel1" 
    1671          InitialValue    =   "MR-03\rdNaNo\rASF" 
    1672          Italic          =   "" 
    1673          Left            =   209 
    1674          ListIndex       =   0 
    1675          LockBottom      =   "" 
    1676          LockedInPosition=   False 
    1677          LockLeft        =   "" 
    1678          LockRight       =   "" 
    1679          LockTop         =   "" 
    1680          Scope           =   0 
    1681          TabIndex        =   26 
    1682          TabPanelIndex   =   1 
    1683          TabStop         =   True 
    1684          TextFont        =   "System" 
    1685          TextSize        =   0 
    1686          TextUnit        =   0 
    1687          Top             =   58 
    1688          Underline       =   "" 
    1689          Visible         =   True 
    1690          Width           =   144 
    1691       End 
    1692       Begin EditField EditField_Byte12 
     1758      Begin EditField EditField_Byte7 
    16931759         AcceptTabs      =   "" 
    16941760         Alignment       =   0 
     
    17061772         InitialParent   =   "TabPanel1" 
    17071773         Italic          =   "" 
    1708          Left            =   380 
     1774         Left            =   154 
    17091775         LimitText       =   0 
    17101776         LockBottom      =   "" 
     
    17211787         ScrollbarVertical=   True 
    17221788         Styled          =   "" 
    1723          TabIndex        =   41 
    1724          TabPanelIndex   =   2 
     1789         TabIndex        =   14 
     1790         TabPanelIndex   =   4 
    17251791         TabStop         =   True 
    17261792         Text            =   "" 
     
    17281794         TextFont        =   "System" 
    17291795         TextSize        =   0 
    1730          TextUnit        =   0 
    1731          Top             =   126 
     1796         Top             =   95 
    17321797         Underline       =   "" 
    17331798         UseFocusRing    =   True 
     
    17351800         Width           =   32 
    17361801      End 
    1737       Begin EditField EditField_Byte11 
     1802      Begin EditField EditField_Byte6 
    17381803         AcceptTabs      =   "" 
    17391804         Alignment       =   0 
     
    17511816         InitialParent   =   "TabPanel1" 
    17521817         Italic          =   "" 
    1753          Left            =   380 
     1818         Left            =   26 
    17541819         LimitText       =   0 
    17551820         LockBottom      =   "" 
     
    17661831         ScrollbarVertical=   True 
    17671832         Styled          =   "" 
    1768          TabIndex        =   42 
    1769          TabPanelIndex   =   2 
     1833         TabIndex        =   15 
     1834         TabPanelIndex   =   4 
    17701835         TabStop         =   True 
    17711836         Text            =   "" 
     
    17731838         TextFont        =   "System" 
    17741839         TextSize        =   0 
    1775          TextUnit        =   0 
    1776          Top             =   92 
     1840         Top             =   266 
    17771841         Underline       =   "" 
    17781842         UseFocusRing    =   True 
     
    17801844         Width           =   32 
    17811845      End 
    1782       Begin EditField EditField_Byte10 
     1846      Begin EditField EditField_Byte5 
    17831847         AcceptTabs      =   "" 
    17841848         Alignment       =   0 
     
    17961860         InitialParent   =   "TabPanel1" 
    17971861         Italic          =   "" 
    1798          Left            =   380 
     1862         Left            =   26 
    17991863         LimitText       =   0 
    18001864         LockBottom      =   "" 
     
    18111875         ScrollbarVertical=   True 
    18121876         Styled          =   "" 
    1813          TabIndex        =   43 
    1814          TabPanelIndex   =   2 
     1877         TabIndex        =   16 
     1878         TabPanelIndex   =   4 
    18151879         TabStop         =   True 
    18161880         Text            =   "" 
     
    18181882         TextFont        =   "System" 
    18191883         TextSize        =   0 
    1820          TextUnit        =   0 
    1821          Top             =   58 
     1884         Top             =   233 
    18221885         Underline       =   "" 
    18231886         UseFocusRing    =   True 
     
    18251888         Width           =   32 
    18261889      End 
    1827       Begin StaticText StaticText_Byte10 
    1828          AutoDeactivate  =   True 
    1829          Bold            =   "" 
    1830          DataField       =   "" 
    1831          DataSource      =   "" 
    1832          Enabled         =   True 
    1833          Height          =   20 
    1834          HelpTag         =   "" 
    1835          Index           =   -2147483648 
    1836          InitialParent   =   "TabPanel1" 
    1837          Italic          =   "" 
    1838          Left            =   426 
    1839          LockBottom      =   "" 
    1840          LockedInPosition=   False 
    1841          LockLeft        =   "" 
    1842          LockRight       =   "" 
    1843          LockTop         =   "" 
    1844          Multiline       =   "" 
    1845          Scope           =   0 
    1846          TabIndex        =   44 
    1847          TabPanelIndex   =   2 
    1848          Text            =   "Unknown" 
    1849          TextAlign       =   0 
    1850          TextColor       =   "&cB8B8B8" 
    1851          TextFont        =   "System" 
    1852          TextSize        =   0 
    1853          TextUnit        =   0 
    1854          Top             =   60 
    1855          Underline       =   "" 
    1856          Visible         =   True 
    1857          Width           =   106 
    1858       End 
    1859       Begin StaticText StaticText_Byte11 
    1860          AutoDeactivate  =   True 
    1861          Bold            =   "" 
    1862          DataField       =   "" 
    1863          DataSource      =   "" 
    1864          Enabled         =   True 
    1865          Height          =   20 
    1866          HelpTag         =   "" 
    1867          Index           =   -2147483648 
    1868          InitialParent   =   "TabPanel1" 
    1869          Italic          =   "" 
    1870          Left            =   424 
    1871          LockBottom      =   "" 
    1872          LockedInPosition=   False 
    1873          LockLeft        =   "" 
    1874          LockRight       =   "" 
    1875          LockTop         =   "" 
    1876          Multiline       =   "" 
    1877          Scope           =   0 
    1878          TabIndex        =   45 
    1879          TabPanelIndex   =   2 
    1880          Text            =   "Neutral High" 
    1881          TextAlign       =   0 
    1882          TextColor       =   "&cB8B8B8" 
    1883          TextFont        =   "System" 
    1884          TextSize        =   0 
    1885          TextUnit        =   0 
    1886          Top             =   93 
    1887          Underline       =   "" 
    1888          Visible         =   True 
    1889          Width           =   106 
    1890       End 
    1891       Begin StaticText StaticText_Byte12 
    1892          AutoDeactivate  =   True 
    1893          Bold            =   "" 
    1894          DataField       =   "" 
    1895          DataSource      =   "" 
    1896          Enabled         =   True 
    1897          Height          =   20 
    1898          HelpTag         =   "" 
    1899          Index           =   -2147483648 
    1900          InitialParent   =   "TabPanel1" 
    1901          Italic          =   "" 
    1902          Left            =   424 
    1903          LockBottom      =   "" 
    1904          LockedInPosition=   False 
    1905          LockLeft        =   "" 
    1906          LockRight       =   "" 
    1907          LockTop         =   "" 
    1908          Multiline       =   "" 
    1909          Scope           =   0 
    1910          TabIndex        =   46 
    1911          TabPanelIndex   =   2 
    1912          Text            =   "Neutral Low" 
    1913          TextAlign       =   0 
    1914          TextColor       =   "&cB8B8B8" 
    1915          TextFont        =   "System" 
    1916          TextSize        =   0 
    1917          TextUnit        =   0 
    1918          Top             =   126 
    1919          Underline       =   "" 
    1920          Visible         =   True 
    1921          Width           =   106 
    1922       End 
    1923       Begin EditField EditField_Byte18 
     1890      Begin EditField EditField_Byte4 
    19241891         AcceptTabs      =   "" 
    19251892         Alignment       =   0 
     
    19301897         DataField       =   "" 
    19311898         DataSource      =   "" 
    1932          Enabled         =   False 
     1899         Enabled         =   True 
    19331900         Format          =   "" 
    19341901         Height          =   22 
     
    19371904         InitialParent   =   "TabPanel1" 
    19381905         Italic          =   "" 
    1939          Left            =   380 
     1906         Left            =   26 
    19401907         LimitText       =   0 
    19411908         LockBottom      =   "" 
     
    19521919         ScrollbarVertical=   True 
    19531920         Styled          =   "" 
    1954          TabIndex        =   47 
    1955          TabPanelIndex   =   2 
     1921         TabIndex        =   17 
     1922         TabPanelIndex   =   4 
    19561923         TabStop         =   True 
    19571924         Text            =   "" 
     
    19591926         TextFont        =   "System" 
    19601927         TextSize        =   0 
    1961          TextUnit        =   0 
    1962          Top             =   329 
     1928         Top             =   199 
    19631929         Underline       =   "" 
    19641930         UseFocusRing    =   True 
    1965          Visible         =   False 
     1931         Visible         =   True 
    19661932         Width           =   32 
    19671933      End 
    1968       Begin EditField EditField_Byte17 
     1934      Begin EditField EditField_Byte3 
    19691935         AcceptTabs      =   "" 
    19701936         Alignment       =   0 
     
    19821948         InitialParent   =   "TabPanel1" 
    19831949         Italic          =   "" 
    1984          Left            =   380 
     1950         Left            =   26 
    19851951         LimitText       =   0 
    19861952         LockBottom      =   "" 
     
    19971963         ScrollbarVertical=   True 
    19981964         Styled          =   "" 
    1999          TabIndex        =   48 
    2000          TabPanelIndex   =   2 
     1965         TabIndex        =   18 
     1966         TabPanelIndex   =   4 
    20011967         TabStop         =   True 
    20021968         Text            =   "" 
     
    20041970         TextFont        =   "System" 
    20051971         TextSize        =   0 
    2006          TextUnit        =   0 
    2007          Top             =   295 
     1972         Top             =   164 
    20081973         Underline       =   "" 
    20091974         UseFocusRing    =   True 
     
    20111976         Width           =   32 
    20121977      End 
    2013       Begin EditField EditField_Byte16 
     1978      Begin EditField EditField_Byte2 
    20141979         AcceptTabs      =   "" 
    20151980         Alignment       =   0 
     
    20201985         DataField       =   "" 
    20211986         DataSource      =   "" 
    2022          Enabled         =   True 
     1987         Enabled         =   False 
    20231988         Format          =   "" 
    20241989         Height          =   22 
     
    20271992         InitialParent   =   "TabPanel1" 
    20281993         Italic          =   "" 
    2029          Left            =   380 
     1994         Left            =   26 
    20301995         LimitText       =   0 
    20311996         LockBottom      =   "" 
     
    20422007         ScrollbarVertical=   True 
    20432008         Styled          =   "" 
    2044          TabIndex        =   49 
    2045          TabPanelIndex   =   2 
     2009         TabIndex        =   19 
     2010         TabPanelIndex   =   4 
    20462011         TabStop         =   True 
    20472012         Text            =   "" 
     
    20492014         TextFont        =   "System" 
    20502015         TextSize        =   0 
    2051          TextUnit        =   0 
    2052          Top             =   261 
     2016         Top             =   130 
    20532017         Underline       =   "" 
    20542018         UseFocusRing    =   True 
     
    20562020         Width           =   32 
    20572021      End 
    2058       Begin EditField EditField_Byte15 
    2059          AcceptTabs      =   "" 
    2060          Alignment       =   0 
    2061          AutoDeactivate  =   True 
    2062          BackColor       =   &hFFFFFF 
    2063          Bold            =   "" 
    2064          Border          =   True 
    2065          DataField       =   "" 
    2066          DataSource      =   "" 
    2067          Enabled         =   True 
    2068          Format          =   "" 
    2069          Height          =   22 
    2070          HelpTag         =   "" 
    2071          Index           =   -2147483648 
    2072          InitialParent   =   "TabPanel1" 
    2073          Italic          =   "" 
    2074          Left            =   380 
    2075          LimitText       =   0 
    2076          LockBottom      =   "" 
    2077          LockedInPosition=   False 
    2078          LockLeft        =   "" 
    2079          LockRight       =   "" 
    2080          LockTop         =   "" 
    2081          Mask            =   "###" 
     2022      Begin StaticText StaticText_Byte1 
     2023         AutoDeactivate  =   True 
     2024         Bold            =   "" 
     2025         DataField       =   "" 
     2026         DataSource      =   "" 
     2027         Enabled         =   True 
     2028         Height          =   20 
     2029         HelpTag         =   "" 
     2030         Index           =   -2147483648 
     2031         InitialParent   =   "TabPanel1" 
     2032         Italic          =   "" 
     2033         Left            =   70 
     2034         LockBottom      =   "" 
     2035         LockedInPosition=   False 
     2036         LockLeft        =   "" 
     2037         LockRight       =   "" 
     2038         LockTop         =   "" 
    20822039         Multiline       =   "" 
    2083          Password        =   "" 
    2084          ReadOnly        =   "" 
    2085          Scope           =   0 
    2086          ScrollbarHorizontal=   "" 
    2087          ScrollbarVertical=   True 
    2088          Styled          =   "" 
    2089          TabIndex        =   50 
    2090          TabPanelIndex   =   2 
    2091          TabStop         =   True 
    2092          Text            =   "" 
    2093          TextColor       =   &h000000 
    2094          TextFont        =   "System" 
    2095          TextSize        =   0 
    2096          TextUnit        =   0 
    2097          Top             =   227 
    2098          Underline       =   "" 
    2099          UseFocusRing    =   True 
    2100          Visible         =   True 
    2101          Width           =   32 
    2102       End 
    2103       Begin EditField EditField_Byte14 
    2104          AcceptTabs      =   "" 
    2105          Alignment       =   0 
    2106          AutoDeactivate  =   True 
    2107          BackColor       =   &hFFFFFF 
    2108          Bold            =   "" 
    2109          Border          =   True 
    2110          DataField       =   "" 
    2111          DataSource      =   "" 
    2112          Enabled         =   True 
    2113          Format          =   "" 
    2114          Height          =   22 
    2115          HelpTag         =   "" 
    2116          Index           =   -2147483648 
    2117          InitialParent   =   "TabPanel1" 
    2118          Italic          =   "" 
    2119          Left            =   380 
    2120          LimitText       =   0 
    2121          LockBottom      =   "" 
    2122          LockedInPosition=   False 
    2123          LockLeft        =   "" 
    2124          LockRight       =   "" 
    2125          LockTop         =   "" 
    2126          Mask            =   "###" 
     2040         Scope           =   0 
     2041         TabIndex        =   21 
     2042         TabPanelIndex   =   4 
     2043         Text            =   "Header" 
     2044         TextAlign       =   0 
     2045         TextColor       =   "&cB8B8B8" 
     2046         TextFont        =   "System" 
     2047         TextSize        =   0 
     2048         Top             =   96 
     2049         Underline       =   "" 
     2050         Visible         =   True 
     2051         Width           =   106 
     2052      End 
     2053      Begin StaticText StaticText_Byte6 
     2054         AutoDeactivate  =   True 
     2055         Bold            =   "" 
     2056         DataField       =   "" 
     2057         DataSource      =   "" 
     2058         Enabled         =   True 
     2059         Height          =   20 
     2060         HelpTag         =   "" 
     2061         Index           =   -2147483648 
     2062         InitialParent   =   "TabPanel1" 
     2063         Italic          =   "" 
     2064         Left            =   70 
     2065         LockBottom      =   "" 
     2066         LockedInPosition=   False 
     2067         LockLeft        =   "" 
     2068         LockRight       =   "" 
     2069         LockTop         =   "" 
    21272070         Multiline       =   "" 
    2128          Password        =   "" 
    2129          ReadOnly        =   "" 
    2130          Scope           =   0 
    2131          ScrollbarHorizontal=   "" 
    2132          ScrollbarVertical=   True 
    2133          Styled          =   "" 
    2134          TabIndex        =   51 
    2135          TabPanelIndex   =   2 
    2136          TabStop         =   True 
    2137          Text            =   "" 
    2138          TextColor       =   &h000000 
    2139          TextFont        =   "System" 
    2140          TextSize        =   0 
    2141          TextUnit        =   0 
    2142          Top             =   193 
    2143          Underline       =   "" 
    2144          UseFocusRing    =   True 
    2145          Visible         =   True 
    2146          Width           =   32 
    2147       End 
    2148       Begin EditField EditField_Byte13 
    2149          AcceptTabs      =   "" 
    2150          Alignment       =   0 
    2151          AutoDeactivate  =   True 
    2152          BackColor       =   &hFFFFFF 
    2153          Bold            =   "" 
    2154          Border          =   True 
    2155          DataField       =   "" 
    2156          DataSource      =   "" 
    2157          Enabled         =   True 
    2158          Format          =   "" 
    2159          Height          =   22 
    2160          HelpTag         =   "" 
    2161          Index           =   -2147483648 
    2162          InitialParent   =   "TabPanel1" 
    2163          Italic          =   "" 
    2164          Left            =   380 
    2165          LimitText       =   0 
    2166          LockBottom      =   "" 
    2167          LockedInPosition=   False 
    2168          LockLeft        =   "" 
    2169          LockRight       =   "" 
    2170          LockTop         =   "" 
    2171          Mask            =   "###" 
     2071         Scope           =   0 
     2072         TabIndex        =   22 
     2073         TabPanelIndex   =   4 
     2074         Text            =   "Drive Band" 
     2075         TextAlign       =   0 
     2076         TextColor       =   "&cB8B8B8" 
     2077         TextFont        =   "System" 
     2078         TextSize        =   0 
     2079         Top             =   266 
     2080         Underline       =   "" 
     2081         Visible         =   True 
     2082         Width           =   106 
     2083      End 
     2084      Begin StaticText StaticText_Byte5 
     2085         AutoDeactivate  =   True 
     2086         Bold            =   "" 
     2087         DataField       =   "" 
     2088         DataSource      =   "" 
     2089         Enabled         =   True 
     2090         Height          =   20 
     2091         HelpTag         =   "" 
     2092         Index           =   -2147483648 
     2093         InitialParent   =   "TabPanel1" 
     2094         Italic          =   "" 
     2095         Left            =   70 
     2096         LockBottom      =   "" 
     2097         LockedInPosition=   False 
     2098         LockLeft        =   "" 
     2099         LockRight       =   "" 
     2100         LockTop         =   "" 
    21722101         Multiline       =   "" 
    2173          Password        =   "" 
    2174          ReadOnly        =   "" 
    2175          Scope           =   0 
    2176          ScrollbarHorizontal=   "" 
    2177          ScrollbarVertical=   True 
    2178          Styled          =   "" 
    2179          TabIndex        =   52 
    2180          TabPanelIndex   =   2 
    2181          TabStop         =   True 
    2182          Text            =   "" 
    2183          TextColor       =   &h000000 
    2184          TextFont        =   "System" 
    2185          TextSize        =   0 
    2186          TextUnit        =   0 
    2187          Top             =   158 
    2188          Underline       =   "" 
    2189          UseFocusRing    =   True 
    2190          Visible         =   True 
    2191          Width           =   32 
     2102         Scope           =   0 
     2103         TabIndex        =   23 
     2104         TabPanelIndex   =   4 
     2105         Text            =   "Punch" 
     2106         TextAlign       =   0 
     2107         TextColor       =   "&cB8B8B8" 
     2108         TextFont        =   "System" 
     2109         TextSize        =   0 
     2110         Top             =   232 
     2111         Underline       =   "" 
     2112         Visible         =   True 
     2113         Width           =   106 
     2114      End 
     2115      Begin StaticText StaticText_Byte4 
     2116         AutoDeactivate  =   True 
     2117         Bold            =   "" 
     2118         DataField       =   "" 
     2119         DataSource      =   "" 
     2120         Enabled         =   True 
     2121         Height          =   20 
     2122         HelpTag         =   "" 
     2123         Index           =   -2147483648 
     2124         InitialParent   =   "TabPanel1" 
     2125         Italic          =   "" 
     2126         Left            =   70 
     2127         LockBottom      =   "" 
     2128         LockedInPosition=   False 
     2129         LockLeft        =   "" 
     2130         LockRight       =   "" 
     2131         LockTop         =   "" 
     2132         Multiline       =   "" 
     2133         Scope           =   0 
     2134         TabIndex        =   24 
     2135         TabPanelIndex   =   4 
     2136         Text            =   "Speed" 
     2137         TextAlign       =   0 
     2138         TextColor       =   "&cB8B8B8" 
     2139         TextFont        =   "System" 
     2140         TextSize        =   0 
     2141         Top             =   200 
     2142         Underline       =   "" 
     2143         Visible         =   True 
     2144         Width           =   106 
     2145      End 
     2146      Begin StaticText StaticText_Byte3 
     2147         AutoDeactivate  =   True 
     2148         Bold            =   "" 
     2149         DataField       =   "" 
     2150         DataSource      =   "" 
     2151         Enabled         =   True 
     2152         Height          =   20 
     2153         HelpTag         =   "" 
     2154         Index           =   -2147483648 
     2155         InitialParent   =   "TabPanel1" 
     2156         Italic          =   "" 
     2157         Left            =   70 
     2158         LockBottom      =   "" 
     2159         LockedInPosition=   False 
     2160         LockLeft        =   "" 
     2161         LockRight       =   "" 
     2162         LockTop         =   "" 
     2163         Multiline       =   "" 
     2164         Scope           =   0 
     2165         TabIndex        =   25 
     2166         TabPanelIndex   =   4 
     2167         Text            =   "Gain" 
     2168         TextAlign       =   0 
     2169         TextColor       =   "&cB8B8B8" 
     2170         TextFont        =   "System" 
     2171         TextSize        =   0 
     2172         Top             =   164 
     2173         Underline       =   "" 
     2174         Visible         =   True 
     2175         Width           =   106 
     2176      End 
     2177      Begin StaticText StaticText_Byte2 
     2178         AutoDeactivate  =   True 
     2179         Bold            =   "" 
     2180         DataField       =   "" 
     2181         DataSource      =   "" 
     2182         Enabled         =   True 
     2183         Height          =   20 
     2184         HelpTag         =   "" 
     2185         Index           =   -2147483648 
     2186         InitialParent   =   "TabPanel1" 
     2187         Italic          =   "" 
     2188         Left            =   70 
     2189         LockBottom      =   "" 
     2190         LockedInPosition=   False 
     2191         LockLeft        =   "" 
     2192         LockRight       =   "" 
     2193         LockTop         =   "" 
     2194         Multiline       =   "" 
     2195         Scope           =   0 
     2196         TabIndex        =   26 
     2197         TabPanelIndex   =   4 
     2198         Text            =   "Header" 
     2199         TextAlign       =   0 
     2200         TextColor       =   "&cB8B8B8" 
     2201         TextFont        =   "System" 
     2202         TextSize        =   0 
     2203         Top             =   130 
     2204         Underline       =   "" 
     2205         Visible         =   True 
     2206         Width           =   106 
     2207      End 
     2208      Begin StaticText StaticText_Byte7 
     2209         AutoDeactivate  =   True 
     2210         Bold            =   "" 
     2211         DataField       =   "" 
     2212         DataSource      =   "" 
     2213         Enabled         =   True 
     2214         Height          =   20 
     2215         HelpTag         =   "" 
     2216         Index           =   -2147483648 
     2217         InitialParent   =   "TabPanel1" 
     2218         Italic          =   "" 
     2219         Left            =   200 
     2220         LockBottom      =   "" 
     2221         LockedInPosition=   False 
     2222         LockLeft        =   "" 
     2223         LockRight       =   "" 
     2224         LockTop         =   "" 
     2225         Multiline       =   "" 
     2226         Scope           =   0 
     2227         TabIndex        =   27 
     2228         TabPanelIndex   =   4 
     2229         Text            =   "Dump" 
     2230         TextAlign       =   0 
     2231         TextColor       =   "&cB8B8B8" 
     2232         TextFont        =   "System" 
     2233         TextSize        =   0 
     2234         Top             =   97 
     2235         Underline       =   "" 
     2236         Visible         =   True 
     2237         Width           =   106 
     2238      End 
     2239      Begin StaticText StaticText_Byte8 
     2240         AutoDeactivate  =   True 
     2241         Bold            =   "" 
     2242         DataField       =   "" 
     2243         DataSource      =   "" 
     2244         Enabled         =   True 
     2245         Height          =   20 
     2246         HelpTag         =   "" 
     2247         Index           =   -2147483648 
     2248         InitialParent   =   "TabPanel1" 
     2249         Italic          =   "" 
     2250         Left            =   200 
     2251         LockBottom      =   "" 
     2252         LockedInPosition=   False 
     2253         LockLeft        =   "" 
     2254         LockRight       =   "" 
     2255         LockTop         =   "" 
     2256         Multiline       =   "" 
     2257         Scope           =   0 
     2258         TabIndex        =   28 
     2259         TabPanelIndex   =   4 
     2260         Text            =   "Drive Frequency" 
     2261         TextAlign       =   0 
     2262         TextColor       =   "&cB8B8B8" 
     2263         TextFont        =   "System" 
     2264         TextSize        =   0 
     2265         Top             =   130 
     2266         Underline       =   "" 
     2267         Visible         =   True 
     2268         Width           =   106 
     2269      End 
     2270      Begin StaticText StaticText_Byte9 
     2271         AutoDeactivate  =   True 
     2272         Bold            =   "" 
     2273         DataField       =   "" 
     2274         DataSource      =   "" 
     2275         Enabled         =   True 
     2276         Height          =   20 
     2277         HelpTag         =   "" 
     2278         Index           =   -2147483648 
     2279         InitialParent   =   "TabPanel1" 
     2280         Italic          =   "" 
     2281         Left            =   198 
     2282         LockBottom      =   "" 
     2283         LockedInPosition=   False 
     2284         LockLeft        =   "" 
     2285         LockRight       =   "" 
     2286         LockTop         =   "" 
     2287         Multiline       =   "" 
     2288         Scope           =   0 
     2289         TabIndex        =   29 
     2290         TabPanelIndex   =   4 
     2291         Text            =   "Unknown" 
     2292         TextAlign       =   0 
     2293         TextColor       =   "&cB8B8B8" 
     2294         TextFont        =   "System" 
     2295         TextSize        =   0 
     2296         Top             =   166 
     2297         Underline       =   "" 
     2298         Visible         =   True 
     2299         Width           =   106 
     2300      End 
     2301      Begin StaticText StaticText_Byte10 
     2302         AutoDeactivate  =   True 
     2303         Bold            =   "" 
     2304         DataField       =   "" 
     2305         DataSource      =   "" 
     2306         Enabled         =   True 
     2307         Height          =   20 
     2308         HelpTag         =   "" 
     2309         Index           =   -2147483648 
     2310         InitialParent   =   "TabPanel1" 
     2311         Italic          =   "" 
     2312         Left            =   200 
     2313         LockBottom      =   "" 
     2314         LockedInPosition=   False 
     2315         LockLeft        =   "" 
     2316         LockRight       =   "" 
     2317         LockTop         =   "" 
     2318         Multiline       =   "" 
     2319         Scope           =   0 
     2320         TabIndex        =   30 
     2321         TabPanelIndex   =   4 
     2322         Text            =   "Unknown" 
     2323         TextAlign       =   0 
     2324         TextColor       =   "&cB8B8B8" 
     2325         TextFont        =   "System" 
     2326         TextSize        =   0 
     2327         Top             =   200 
     2328         Underline       =   "" 
     2329         Visible         =   True 
     2330         Width           =   106 
     2331      End 
     2332      Begin StaticText StaticText_Byte11 
     2333         AutoDeactivate  =   True 
     2334         Bold            =   "" 
     2335         DataField       =   "" 
     2336         DataSource      =   "" 
     2337         Enabled         =   True 
     2338         Height          =   20 
     2339         HelpTag         =   "" 
     2340         Index           =   -2147483648 
     2341         InitialParent   =   "TabPanel1" 
     2342         Italic          =   "" 
     2343         Left            =   198 
     2344         LockBottom      =   "" 
     2345         LockedInPosition=   False 
     2346         LockLeft        =   "" 
     2347         LockRight       =   "" 
     2348         LockTop         =   "" 
     2349         Multiline       =   "" 
     2350         Scope           =   0 
     2351         TabIndex        =   31 
     2352         TabPanelIndex   =   4 
     2353         Text            =   "Neutral Low" 
     2354         TextAlign       =   0 
     2355         TextColor       =   "&cB8B8B8" 
     2356         TextFont        =   "System" 
     2357         TextSize        =   0 
     2358         Top             =   233 
     2359         Underline       =   "" 
     2360         Visible         =   True 
     2361         Width           =   106 
     2362      End 
     2363      Begin StaticText StaticText_Byte12 
     2364         AutoDeactivate  =   True 
     2365         Bold            =   "" 
     2366         DataField       =   "" 
     2367         DataSource      =   "" 
     2368         Enabled         =   True 
     2369         Height          =   20 
     2370         HelpTag         =   "" 
     2371         Index           =   -2147483648 
     2372         InitialParent   =   "TabPanel1" 
     2373         Italic          =   "" 
     2374         Left            =   198 
     2375         LockBottom      =   "" 
     2376         LockedInPosition=   False 
     2377         LockLeft        =   "" 
     2378         LockRight       =   "" 
     2379         LockTop         =   "" 
     2380         Multiline       =   "" 
     2381         Scope           =   0 
     2382         TabIndex        =   32 
     2383         TabPanelIndex   =   4 
     2384         Text            =   "Neutral High" 
     2385         TextAlign       =   0 
     2386         TextColor       =   "&cB8B8B8" 
     2387         TextFont        =   "System" 
     2388         TextSize        =   0 
     2389         Top             =   266 
     2390         Underline       =   "" 
     2391         Visible         =   True 
     2392         Width           =   106 
    21922393      End 
    21932394      Begin StaticText StaticText_Byte13 
     
    22022403         InitialParent   =   "TabPanel1" 
    22032404         Italic          =   "" 
    2204          Left            =   424 
     2405         Left            =   360 
    22052406         LockBottom      =   "" 
    22062407         LockedInPosition=   False 
     
    22102411         Multiline       =   "" 
    22112412         Scope           =   0 
    2212          TabIndex        =   53 
    2213          TabPanelIndex   =   2 
     2413         TabIndex        =   33 
     2414         TabPanelIndex   =   4 
    22142415         Text            =   "Vertical Inertia" 
    22152416         TextAlign       =   0 
     
    22172418         TextFont        =   "System" 
    22182419         TextSize        =   0 
    2219          TextUnit        =   0 
    2220          Top             =   160 
     2420         Top             =   97 
    22212421         Underline       =   "" 
    22222422         Visible         =   True 
     
    22342434         InitialParent   =   "TabPanel1" 
    22352435         Italic          =   "" 
    2236          Left            =   424 
     2436         Left            =   360 
    22372437         LockBottom      =   "" 
    22382438         LockedInPosition=   False 
     
    22422442         Multiline       =   False 
    22432443         Scope           =   0 
    2244          TabIndex        =   54 
    2245          TabPanelIndex   =   2 
     2444         TabIndex        =   34 
     2445         TabPanelIndex   =   4 
    22462446         Text            =   "Unknown" 
    22472447         TextAlign       =   0 
     
    22492449         TextFont        =   "System" 
    22502450         TextSize        =   0 
    2251          TextUnit        =   0 
    2252          Top             =   194 
     2451         Top             =   131 
    22532452         Underline       =   "" 
    22542453         Visible         =   True 
     
    22662465         InitialParent   =   "TabPanel1" 
    22672466         Italic          =   "" 
    2268          Left            =   424 
     2467         Left            =   360 
    22692468         LockBottom      =   "" 
    22702469         LockedInPosition=   False 
     
    22742473         Multiline       =   "" 
    22752474         Scope           =   0 
    2276          TabIndex        =   55 
    2277          TabPanelIndex   =   2 
     2475         TabIndex        =   35 
     2476         TabPanelIndex   =   4 
    22782477         Text            =   "Back Timing" 
    22792478         TextAlign       =   0 
     
    22812480         TextFont        =   "System" 
    22822481         TextSize        =   0 
    2283          TextUnit        =   0 
    2284          Top             =   228 
     2482         Top             =   165 
    22852483         Underline       =   "" 
    22862484         Visible         =   True 
     
    22982496         InitialParent   =   "TabPanel1" 
    22992497         Italic          =   "" 
    2300          Left            =   424 
     2498         Left            =   360 
    23012499         LockBottom      =   "" 
    23022500         LockedInPosition=   False 
     
    23062504         Multiline       =   "" 
    23072505         Scope           =   0 
    2308          TabIndex        =   56 
    2309          TabPanelIndex   =   2 
     2506         TabIndex        =   36 
     2507         TabPanelIndex   =   4 
    23102508         Text            =   "Steering Gain" 
    23112509         TextAlign       =   0 
     
    23132511         TextFont        =   "System" 
    23142512         TextSize        =   0 
    2315          TextUnit        =   0 
    2316          Top             =   262 
     2513         Top             =   199 
    23172514         Underline       =   "" 
    23182515         Visible         =   True 
     
    23302527         InitialParent   =   "TabPanel1" 
    23312528         Italic          =   "" 
    2332          Left            =   424 
     2529         Left            =   360 
    23332530         LockBottom      =   "" 
    23342531         LockedInPosition=   False 
     
    23382535         Multiline       =   "" 
    23392536         Scope           =   0 
    2340          TabIndex        =   57 
    2341          TabPanelIndex   =   2 
     2537         TabIndex        =   37 
     2538         TabPanelIndex   =   4 
    23422539         Text            =   "Throttle Gain" 
    23432540         TextAlign       =   0 
     
    23452542         TextFont        =   "System" 
    23462543         TextSize        =   0 
    2347          TextUnit        =   0 
    2348          Top             =   296 
     2544         Top             =   233 
    23492545         Underline       =   "" 
    23502546         Visible         =   True 
     
    23622558         InitialParent   =   "TabPanel1" 
    23632559         Italic          =   "" 
    2364          Left            =   424 
     2560         Left            =   360 
    23652561         LockBottom      =   "" 
    23662562         LockedInPosition=   False 
     
    23702566         Multiline       =   "" 
    23712567         Scope           =   0 
    2372          TabIndex        =   58 
    2373          TabPanelIndex   =   2 
     2568         TabIndex        =   38 
     2569         TabPanelIndex   =   4 
    23742570         Text            =   "Checksum" 
    23752571         TextAlign       =   0 
     
    23772573         TextFont        =   "System" 
    23782574         TextSize        =   0 
    2379          TextUnit        =   0 
    2380          Top             =   330 
     2575         Top             =   267 
    23812576         Underline       =   "" 
    23822577         Visible         =   False 
    23832578         Width           =   106 
    23842579      End 
    2385       Begin StaticText StaticText_Warning 
     2580      Begin StaticText StaticText1 
    23862581         AutoDeactivate  =   True 
    23872582         Bold            =   True 
     
    23942589         InitialParent   =   "TabPanel1" 
    23952590         Italic          =   "" 
    2396          Left            =   542 
     2591         Left            =   472 
    23972592         LockBottom      =   "" 
    23982593         LockedInPosition=   False 
     
    24022597         Multiline       =   "" 
    24032598         Scope           =   0 
    2404          TabIndex        =   59 
    2405          TabPanelIndex   =   2 
     2599         TabIndex        =   39 
     2600         TabPanelIndex   =   4 
    24062601         Text            =   "WARNING:" 
    24072602         TextAlign       =   0 
     
    24092604         TextFont        =   "System" 
    24102605         TextSize        =   22 
    2411          TextUnit        =   0 
    2412          Top             =   57 
     2606         Top             =   96 
    24132607         Underline       =   True 
    24142608         Visible         =   True 
    24152609         Width           =   142 
    24162610      End 
    2417       Begin StaticText StaticText_WarningMessage 
     2611      Begin StaticText StaticText2 
    24182612         AutoDeactivate  =   True 
    24192613         Bold            =   "" 
     
    24262620         InitialParent   =   "TabPanel1" 
    24272621         Italic          =   "" 
    2428          Left            =   542 
     2622         Left            =   472 
    24292623         LockBottom      =   "" 
    24302624         LockedInPosition=   False 
     
    24342628         Multiline       =   True 
    24352629         Scope           =   0 
    2436          TabIndex        =   60 
    2437          TabPanelIndex   =   2 
     2630         TabIndex        =   40 
     2631         TabPanelIndex   =   4 
    24382632         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.  " 
    24392633         TextAlign       =   0 
     
    24412635         TextFont        =   "System" 
    24422636         TextSize        =   0 
    2443          TextUnit        =   0 
    2444          Top             =   93 
     2637         Top             =   132 
    24452638         Underline       =   "" 
    24462639         Visible         =   True 
     
    24572650      Height          =   32 
    24582651      Index           =   -2147483648 
    2459       Left            =   786 
     2652      Left            =   716 
    24602653      LockedInPosition=   False 
    24612654      mode            =   "read" 
     
    24642657      Stop            =   0 
    24652658      TabPanelIndex   =   0 
    2466       Top             =   -16 
     2659      Top             =   -6 
    24672660      Width           =   32 
    24682661      XON             =   "" 
     
    24802673      InitialParent   =   "" 
    24812674      Italic          =   "" 
    2482       Left            =   612 
    2483       LockBottom      =   True 
     2675      Left            =   326 
     2676      LockBottom      =   "" 
    24842677      LockedInPosition=   False 
    24852678      LockLeft        =   "" 
     
    24922685      TextFont        =   "System" 
    24932686      TextSize        =   0 
    2494       TextUnit        =   0 
    2495       Top             =   388 
     2687      Top             =   312 
    24962688      Underline       =   "" 
    24972689      Visible         =   True 
    24982690      Width           =   88 
    24992691   End 
    2500    Begin StaticText StaticText_SerialPort 
     2692   Begin PushButton PushButton_SaveProfile 
    25012693      AutoDeactivate  =   True 
    25022694      Bold            =   "" 
    2503       DataField       =   "" 
    2504       DataSource      =   "" 
     2695      Cancel          =   "" 
     2696      Caption         =   "Save Profile" 
     2697      Default         =   "" 
    25052698      Enabled         =   True 
    25062699      Height          =   20 
     
    25092702      InitialParent   =   "" 
    25102703      Italic          =   "" 
    2511       Left            =   20 
    2512       LockBottom      =   "" 
    2513       LockedInPosition=   False 
    2514       LockLeft        =   "" 
    2515       LockRight       =   "" 
    2516       LockTop         =   "" 
    2517       Multiline       =   "" 
    2518       Scope           =   0 
    2519       TabIndex        =   46 
    2520       TabPanelIndex   =   0 
    2521       Text            =   "COM Port" 
    2522       TextAlign       =   0 
    2523       TextColor       =   "&cB8B8B8" 
    2524       TextFont        =   "System" 
    2525       TextSize        =   0 
    2526       TextUnit        =   0 
    2527       Top             =   58 
    2528       Underline       =   "" 
    2529       Visible         =   True 
    2530       Width           =   100 
    2531    End 
    2532    Begin PopupMenu PopupMenu_SerialPort 
    2533       AutoDeactivate  =   True 
    2534       Bold            =   "" 
    2535       DataField       =   "" 
    2536       DataSource      =   "" 
    2537       Enabled         =   True 
    2538       Height          =   20 
    2539       HelpTag         =   "" 
    2540       Index           =   -2147483648 
    2541       InitialParent   =   "" 
    2542       InitialValue    =   "" 
    2543       Italic          =   "" 
    2544       Left            =   20 
    2545       ListIndex       =   0 
     2704      Left            =   520 
    25462705      LockBottom      =   "" 
    25472706      LockedInPosition=   False 
     
    25502709      LockTop         =   "" 
    25512710      Scope           =   0 
    2552       TabIndex        =   47 
     2711      TabIndex        =   45 
    25532712      TabPanelIndex   =   0 
    25542713      TabStop         =   True 
    25552714      TextFont        =   "System" 
    25562715      TextSize        =   0 
    2557       TextUnit        =   0 
    2558       Top             =   90 
     2716      Top             =   312 
    25592717      Underline       =   "" 
    2560       Visible         =   True 
    2561       Width           =   128 
     2718      Visible         =   False 
     2719      Width           =   100 
    25622720   End 
    25632721   Begin StaticText StaticText_Version 
     
    25722730      InitialParent   =   "" 
    25732731      Italic          =   "" 
    2574       Left            =   20 
    2575       LockBottom      =   True 
    2576       LockedInPosition=   False 
    2577       LockLeft        =   "" 
    2578       LockRight       =   "" 
    2579       LockTop         =   "" 
    2580       Multiline       =   "" 
    2581       Scope           =   0 
    2582       TabIndex        =   48 
    2583       TabPanelIndex   =   0 
    2584       Text            =   "Version " 
    2585       TextAlign       =   0 
    2586       TextColor       =   "&cB8B8B8" 
    2587       TextFont        =   "System" 
    2588       TextSize        =   0 
    2589       TextUnit        =   0 
    2590       Top             =   388 
    2591       Underline       =   "" 
    2592       Visible         =   True 
    2593       Width           =   100 
    2594    End 
    2595    Begin StaticText StaticText_Profiles 
    2596       AutoDeactivate  =   True 
    2597       Bold            =   "" 
    2598       DataField       =   "" 
    2599       DataSource      =   "" 
    2600       Enabled         =   True 
    2601       Height          =   20 
    2602       HelpTag         =   "" 
    2603       Index           =   -2147483648 
    2604       InitialParent   =   "" 
    2605       Italic          =   "" 
    2606       Left            =   20 
     2732      Left            =   522 
    26072733      LockBottom      =   "" 
    26082734      LockedInPosition=   False 
     
    26122738      Multiline       =   "" 
    26132739      Scope           =   0 
    2614       TabIndex        =   51 
     2740      TabIndex        =   46 
    26152741      TabPanelIndex   =   0 
    2616       Text            =   "Profiles" 
     2742      Text            =   "Version " 
    26172743      TextAlign       =   0 
    2618       TextColor       =   "&cB8B8B8" 
     2744      TextColor       =   &h000000 
    26192745      TextFont        =   "System" 
    26202746      TextSize        =   0 
    2621       TextUnit        =   0 
    2622       Top             =   122 
     2747      Top             =   14 
    26232748      Underline       =   "" 
    26242749      Visible         =   True 
    26252750      Width           =   100 
    2626    End 
    2627    Begin PopupMenu PopupMenu_Profile 
    2628       AutoDeactivate  =   True 
    2629       Bold            =   "" 
    2630       DataField       =   "" 
    2631       DataSource      =   "" 
    2632       Enabled         =   True 
    2633       Height          =   20 
    2634       HelpTag         =   "" 
    2635       Index           =   -2147483648 
    2636       InitialParent   =   "" 
    2637       InitialValue    =   "" 
    2638       Italic          =   "" 
    2639       Left            =   20 
    2640       ListIndex       =   0 
    2641       LockBottom      =   "" 
    2642       LockedInPosition=   False 
    2643       LockLeft        =   "" 
    2644       LockRight       =   "" 
    2645       LockTop         =   "" 
    2646       Scope           =   0 
    2647       TabIndex        =   54 
    2648       TabPanelIndex   =   0 
    2649       TabStop         =   True 
    2650       TextFont        =   "System" 
    2651       TextSize        =   0 
    2652       TextUnit        =   0 
    2653       Top             =   154 
    2654       Underline       =   "" 
    2655       Visible         =   True 
    2656       Width           =   128 
    2657    End 
    2658    Begin PushButton PushButton_SaveProfile 
    2659       AutoDeactivate  =   True 
    2660       Bold            =   "" 
    2661       Cancel          =   "" 
    2662       Caption         =   "Save" 
    2663       Default         =   "" 
    2664       Enabled         =   False 
    2665       Height          =   20 
    2666       HelpTag         =   "" 
    2667       Index           =   -2147483648 
    2668       InitialParent   =   "" 
    2669       Italic          =   "" 
    2670       Left            =   20 
    2671       LockBottom      =   "" 
    2672       LockedInPosition=   False 
    2673       LockLeft        =   "" 
    2674       LockRight       =   "" 
    2675       LockTop         =   "" 
    2676       Scope           =   0 
    2677       TabIndex        =   55 
    2678       TabPanelIndex   =   0 
    2679       TabStop         =   True 
    2680       TextFont        =   "System" 
    2681       TextSize        =   0 
    2682       TextUnit        =   0 
    2683       Top             =   250 
    2684       Underline       =   "" 
    2685       Visible         =   True 
    2686       Width           =   88 
    2687    End 
    2688    Begin PushButton PushButton_Delete 
    2689       AutoDeactivate  =   True 
    2690       Bold            =   "" 
    2691       Cancel          =   "" 
    2692       Caption         =   "Delete" 
    2693       Default         =   "" 
    2694       Enabled         =   False 
    2695       Height          =   20 
    2696       HelpTag         =   "" 
    2697       Index           =   -2147483648 
    2698       InitialParent   =   "" 
    2699       Italic          =   "" 
    2700       Left            =   20 
    2701       LockBottom      =   "" 
    2702       LockedInPosition=   False 
    2703       LockLeft        =   "" 
    2704       LockRight       =   "" 
    2705       LockTop         =   "" 
    2706       Scope           =   0 
    2707       TabIndex        =   56 
    2708       TabPanelIndex   =   0 
    2709       TabStop         =   True 
    2710       TextFont        =   "System" 
    2711       TextSize        =   0 
    2712       TextUnit        =   0 
    2713       Top             =   282 
    2714       Underline       =   "" 
    2715       Visible         =   True 
    2716       Width           =   88 
    2717    End 
    2718    Begin PushButton PushButton_Create 
    2719       AutoDeactivate  =   True 
    2720       Bold            =   "" 
    2721       Cancel          =   "" 
    2722       Caption         =   "Create" 
    2723       Default         =   "" 
    2724       Enabled         =   True 
    2725       Height          =   20 
    2726       HelpTag         =   "" 
    2727       Index           =   -2147483648 
    2728       InitialParent   =   "" 
    2729       Italic          =   "" 
    2730       Left            =   20 
    2731       LockBottom      =   "" 
    2732       LockedInPosition=   False 
    2733       LockLeft        =   "" 
    2734       LockRight       =   "" 
    2735       LockTop         =   "" 
    2736       Scope           =   0 
    2737       TabIndex        =   57 
    2738       TabPanelIndex   =   0 
    2739       TabStop         =   True 
    2740       TextFont        =   "System" 
    2741       TextSize        =   0 
    2742       TextUnit        =   0 
    2743       Top             =   186 
    2744       Underline       =   "" 
    2745       Visible         =   True 
    2746       Width           =   88 
    2747    End 
    2748    Begin PushButton PushButton_Import 
    2749       AutoDeactivate  =   True 
    2750       Bold            =   "" 
    2751       Cancel          =   "" 
    2752       Caption         =   "Import" 
    2753       Default         =   "" 
    2754       Enabled         =   True 
    2755       Height          =   20 
    2756       HelpTag         =   "" 
    2757       Index           =   -2147483648 
    2758       InitialParent   =   "" 
    2759       Italic          =   "" 
    2760       Left            =   20 
    2761       LockBottom      =   "" 
    2762       LockedInPosition=   False 
    2763       LockLeft        =   "" 
    2764       LockRight       =   "" 
    2765       LockTop         =   "" 
    2766       Scope           =   0 
    2767       TabIndex        =   58 
    2768       TabPanelIndex   =   0 
    2769       TabStop         =   True 
    2770       TextFont        =   "System" 
    2771       TextSize        =   0 
    2772       TextUnit        =   0 
    2773       Top             =   218 
    2774       Underline       =   "" 
    2775       Visible         =   True 
    2776       Width           =   88 
    2777    End 
    2778    Begin PushButton PushButton_Export 
    2779       AutoDeactivate  =   True 
    2780       Bold            =   "" 
    2781       Cancel          =   "" 
    2782       Caption         =   "Export" 
    2783       Default         =   "" 
    2784       Enabled         =   False 
    2785       Height          =   20 
    2786       HelpTag         =   "" 
    2787       Index           =   -2147483648 
    2788       InitialParent   =   "" 
    2789       Italic          =   "" 
    2790       Left            =   20 
    2791       LockBottom      =   "" 
    2792       LockedInPosition=   False 
    2793       LockLeft        =   "" 
    2794       LockRight       =   "" 
    2795       LockTop         =   "" 
    2796       Scope           =   0 
    2797       TabIndex        =   59 
    2798       TabPanelIndex   =   0 
    2799       TabStop         =   True 
    2800       TextFont        =   "System" 
    2801       TextSize        =   0 
    2802       TextUnit        =   0 
    2803       Top             =   314 
    2804       Underline       =   "" 
    2805       Visible         =   True 
    2806       Width           =   88 
    28072751   End 
    28082752End 
     
    28402784                          //Could not open 
    28412785                          MsgBox "Error opening defined com port" 
    2842                         else 
    2843                           //Enable buttons 
    2844                           PushButton_Read.Enabled = True 
    2845                           PushButton_Write.Enabled = True 
    2846                           PushButton_Reset.Enabled = True 
    28472786                        end if 
    28482787                        //No need to continue loop 
     
    28542793                  end if 
    28552794                   
    2856                   #if TargetWin32 
    2857                     //Have to change text colors since Windows does not allow for transparancy of the tab panel 
    2858                     StaticText_BackTiming.TextColor = &c000000 
    2859                     StaticText_Byte1.TextColor = &c000000 
    2860                     StaticText_Byte10.TextColor = &c000000 
    2861                     StaticText_Byte11.TextColor = &c000000 
    2862                     StaticText_Byte12.TextColor = &c000000 
    2863                     StaticText_Byte13.TextColor = &c000000 
    2864                     StaticText_Byte14.TextColor = &c000000 
    2865                     StaticText_Byte15.TextColor = &c000000 
    2866                     StaticText_Byte16.TextColor = &c000000 
    2867                     StaticText_Byte17.TextColor = &c000000 
    2868                     StaticText_Byte18.TextColor = &c000000 
    2869                     StaticText_Byte2.TextColor = &c000000 
    2870                     StaticText_Byte3.TextColor = &c000000 
    2871                     StaticText_Byte4.TextColor = &c000000 
    2872                     StaticText_Byte5.TextColor = &c000000 
    2873                     StaticText_Byte6.TextColor = &c000000 
    2874                     StaticText_Byte7.TextColor = &c000000 
    2875                     StaticText_Byte8.TextColor = &c000000 
    2876                     StaticText_Byte9.TextColor = &c000000 
    2877                     StaticText_CarType.TextColor = &c000000 
    2878                     StaticText_DBand.TextColor = &c000000 
    2879                     StaticText_DFreq.TextColor = &c000000 
    2880                     StaticText_Dump.TextColor = &c000000 
    2881                     StaticText_Gain.TextColor = &c000000 
    2882                     StaticText_Nuetral.TextColor = &c000000 
    2883                     //StaticText_Profiles.TextColor = &c000000 
    2884                     StaticText_Punch.TextColor = &c000000 
    2885                     //StaticText_SerialPort.TextColor = &c000000 
    2886                     StaticText_Speed.TextColor = &c000000 
    2887                     StaticText_STGain.TextColor = &c000000 
    2888                     StaticText_THGain.TextColor = &c000000 
    2889                     //StaticText_Version.TextColor = &c000000 
    2890                     StaticText_VerticalIntertia.TextColor = &c000000 
    2891                      
    2892                   #endif 
    2893                    
    28942795                End Sub 
    28952796        #tag EndEvent 
     
    29072808                    Slider_STGain.Enabled = True 
    29082809                    StaticText_STGain.Enabled = True 
    2909                     EditField_STGain.Enabled = True 
    29102810                     
    29112811                    Slider_THGain.Enabled = True 
    29122812                    StaticText_THGain.Enabled = True 
    2913                     EditField_THGain.Enabled = True 
     2813                     
    29142814                     
    29152815                  Case "dNaNo" 
     
    29222822                    Slider_STGain.Enabled = True 
    29232823                    StaticText_STGain.Enabled = True 
    2924                     EditField_STGain.Enabled = True 
    29252824                     
    29262825                    Slider_THGain.Enabled = True 
    29272826                    StaticText_THGain.Enabled = True 
    2928                     EditField_THGain.Enabled = True 
    29292827                     
    29302828                  Case "ASF" 
     
    29372835                    StaticText_STGain.Enabled = False 
    29382836                    Slider_STGain.Value = 255 
    2939                     EditField_STGain.Enabled = False 
    29402837                     
    29412838                    Slider_THGain.Enabled = False 
    29422839                    StaticText_THGain.Enabled = False 
    29432840                    Slider_THGain.Value = 255 
    2944                     EditField_THGain.Enabled = False 
     2841                     
    29452842                     
    29462843                  end select 
     
    29492846 
    29502847        #tag Method, Flags = &h21 
    2951                 Private Sub readPreferences() 
    2952                   dim filePreference as FolderItem = GetFolderItem("icspref.xml") 
    2953                   dim xdoc as XmlDocument 
    2954                   dim root as XmlNode 
    2955                   dim i as Integer 
    2956                   dim count as integer 
    2957                   dim item as string 
    2958                    
    2959                   //Read the settings from the preferences file 
    2960                   if filePreference <> Nil then 
    2961                     if filePreference.Exists then 
    2962                       xdoc = New XmlDocument(filePreference) 
    2963                        
    2964                       count = xdoc.DocumentElement.ChildCount 
    2965                        
    2966                       for i = 0 to count - 1 
    2967                         root = xdoc.DocumentElement.Child(i) 
    2968                          
    2969                         item = root.FirstChild.Value 
    2970                          
    2971                         select case root.Name 
    2972                         case "comPort" 
    2973                           comPort = item 
    2974                         end select 
    2975                       next 
     2848                Private Sub updateCarScreen() 
     2849                  //Use this method to update the car screen 
     2850                   
     2851                  //Update Gain 
     2852                  Select Case ICSSerialPort1.byte03 
     2853                     
     2854                  Case chrb(&h32) 
     2855                    PopupMenu_Gain.ListIndex = 0 
     2856                     
     2857                  Case chrb(&h64) 
     2858                    PopupMenu_Gain.ListIndex = 1 
     2859                     
     2860                  Case chrb(&hFF) 
     2861                    PopupMenu_Gain.ListIndex = 2 
     2862                     
     2863                  Else 
     2864                    PopupMenu_Gain.ListIndex = 3 
     2865                     
     2866                  End Select 
     2867                   
     2868                  //Update Speed 
     2869                  Select Case ICSSerialPort1.Byte04 
     2870                     
     2871                  Case chrb(&h0A) 
     2872                    PopupMenu_Speed.ListIndex = 0 
     2873                     
     2874                  Case chrb(&h14) 
     2875                    PopupMenu_Speed.ListIndex = 1 
     2876                     
     2877                  Case chrb(&h1E) 
     2878                    PopupMenu_Speed.ListIndex = 2 
     2879                     
     2880                  Case chrb(&h28) 
     2881                    PopupMenu_Speed.ListIndex = 3 
     2882                     
     2883                  Case chrb(&hFF) 
     2884                    PopupMenu_Speed.ListIndex = 4 
     2885                     
     2886                  Else 
     2887                    PopupMenu_Speed.ListIndex = 5 
     2888                     
     2889                  End Select 
     2890                   
     2891                  //Update punch 
     2892                  Slider_Punch.Value = asc(ICSSerialPort1.Byte05) 
     2893                  EditField_Punch.Text = str(asc(ICSSerialPort1.Byte05)) 
     2894                   
     2895                  //Update DBAND 
     2896                  Select Case ICSSerialPort1.Byte06 
     2897                     
     2898                  Case chrb(&h01) 
     2899                    PopupMenu_DBand.ListIndex = 0 
     2900                     
     2901                  Case chrb(&h02) 
     2902                    PopupMenu_DBand.ListIndex = 1 
     2903                     
     2904                  Case chrb(&h03) 
     2905                    PopupMenu_DBand.ListIndex = 2 
     2906                     
     2907                  Else 
     2908                    PopupMenu_DBand.ListIndex = 3 
     2909                     
     2910                  End Select 
     2911                   
     2912                  //Update Dump 
     2913                  Select Case ICSSerialPort1.Byte07 
     2914                     
     2915                  Case chrb(&h01) 
     2916                    PopupMenu_Dump.ListIndex = 0 
     2917                     
     2918                  Case chrb(&h02) 
     2919                    PopupMenu_Dump.ListIndex = 1 
     2920                     
     2921                  Else 
     2922                    PopupMenu_Dump.ListIndex = 2 
     2923                     
     2924                  End Select 
     2925                   
     2926                  //Update DFREQ 
     2927                  Select Case ICSSerialPort1.Byte08 
     2928                     
     2929                  Case chrb(&h40) 
     2930                    PopupMenu_DFreq.ListIndex = 0 
     2931                     
     2932                  Case chrb(&h78) 
     2933                    PopupMenu_DFreq.ListIndex = 1 
     2934                     
     2935                  Case chrb(&hFF) 
     2936                    PopupMenu_DFreq.ListIndex = 2 
     2937                     
     2938                  Else 
     2939                    PopupMenu_DFreq.ListIndex = 3 
     2940                     
     2941                  End Select 
     2942                   
     2943                  //Update Nuetral 
     2944                  //Nuetral is defined by 2 bytes 
     2945                  Select Case ICSSerialPort1.Byte11 
     2946                     
     2947                  Case chrb(&h82) 
     2948                    if ICSSerialPort1.Byte12 = chrb(&h7C) then 
     2949                      PopupMenu_Nuetral.ListIndex = 0 
     2950                    else 
     2951                      PopupMenu_Nuetral.ListIndex = 3 
    29762952                    end if 
    2977                   end if 
    2978                    
    2979                    
    2980                 End Sub 
    2981         #tag EndMethod 
    2982  
    2983         #tag Method, Flags = &h21 
    2984                 Private Sub savePreferences() 
    2985                   dim xml as XmlDocument 
    2986                   dim root as XMLNode 
    2987                   dim comPortXML as XmlNode 
    2988                   dim f as FolderItem 
    2989                    
    2990                   //Save the preferences 
    2991                    
    2992                   f = GetFolderItem("icspref.xml") 
    2993                    
    2994                   if f <> Nil then 
    2995                     //Create a new XML document 
    2996                     xml = New XmlDocument 
    2997                     root = xml.AppendChild(xml.CreateElement("icspref")) 
    2998                      
    2999                     //Add elements 
    3000                     comPortXML = root.AppendChild(xml.CreateElement("comPort")) 
    3001                     comPortXML.AppendChild(xml.CreateTextNode(comPort)) 
    3002                      
    3003                     //Save the output 
    3004                     xml.SaveXml(f) 
    3005                   end if 
    3006                    
     2953                     
     2954                  Case chrb(&h88) 
     2955                    if ICSSerialPort1.Byte12 = chrb(&h78) then 
     2956                      PopupMenu_Nuetral.ListIndex = 1 
     2957                    else 
     2958                      PopupMenu_Nuetral.ListIndex = 3 
     2959                    end if 
     2960                     
     2961                  Case chrb(&h94) 
     2962                    if ICSSerialPort1.Byte12 = chrb(&h6C) then 
     2963                      PopupMenu_Nuetral.ListIndex = 2 
     2964                    else 
     2965                      PopupMenu_Nuetral.ListIndex = 3 
     2966                    end if 
     2967                     
     2968                  Else 
     2969                    PopupMenu_Nuetral.ListIndex = 3 
     2970                     
     2971                  End Select 
     2972                   
     2973                  //Update Vertial Intertia 
     2974                  Select Case ICSSerialPort1.Byte13 
     2975                     
     2976                  Case chrb(&h01) 
     2977                    PopupMenu_VerticalInteria.ListIndex = 0 
     2978                     
     2979                  Case chrb(&h02) 
     2980                    PopupMenu_VerticalInteria.ListIndex = 1 
     2981                     
     2982                  Case chrb(&h03) 
     2983                    PopupMenu_VerticalInteria.ListIndex = 2 
     2984                     
     2985                  Case chrb(&h04) 
     2986                    PopupMenu_VerticalInteria.ListIndex = 3 
     2987                     
     2988                  Case chrb(&hFF) 
     2989                    PopupMenu_VerticalInteria.ListIndex = 4 
     2990                     
     2991                  Else 
     2992                    PopupMenu_VerticalInteria.ListIndex = 5 
     2993                     
     2994                  End Select 
     2995                   
     2996                  //Update Back Timing 
     2997                  Select Case ICSSerialPort1.Byte15 
     2998                     
     2999                  Case chrb(&h01) 
     3000                    PopupMenu_BackTiming.ListIndex = 0 
     3001                     
     3002                  Case chrb(&h05) 
     3003                    PopupMenu_BackTiming.ListIndex = 1 
     3004                     
     3005                  Case chrb(&h0A) 
     3006                    PopupMenu_BackTiming.ListIndex = 2 
     3007                     
     3008                  Case chrb(&h14) 
     3009                    PopupMenu_BackTiming.ListIndex = 3 
     3010                     
     3011                  Case chrb(&h28) 
     3012                    PopupMenu_BackTiming.ListIndex = 4 
     3013                     
     3014                  Else 
     3015                    PopupMenu_BackTiming.ListIndex = 5 
     3016                     
     3017                  End Select 
     3018                   
     3019                  //Update Steering Gain 
     3020                  Slider_STGain.Value = asc(ICSSerialPort1.Byte16) 
     3021                  EditField_STGain.Text = str(asc(ICSSerialPort1.Byte16)) 
     3022                   
     3023                  //Update Throttle Gain 
     3024                  Slider_THGain.Value = asc(ICSSerialPort1.Byte17) 
     3025                  EditField_THGain.Text = str(asc(ICSSerialPort1.Byte17)) 
    30073026                End Sub 
    30083027        #tag EndMethod 
     
    30333052 
    30343053        #tag Method, Flags = &h21 
    3035                 Private Sub updateCarScreen() 
    3036                   //Use this method to update the car screen 
    3037                    
    3038                   //Update Gain 
    3039                   Select Case ICSSerialPort1.byte03 
    3040                      
    3041                   Case chrb(&h32) 
    3042                     PopupMenu_Gain.ListIndex = 0 
    3043                      
    3044                   Case chrb(&h64) 
    3045                     PopupMenu_Gain.ListIndex = 1 
    3046                      
    3047                   Case chrb(&hFF) 
    3048                     PopupMenu_Gain.ListIndex = 2 
    3049                      
    3050                   Else 
    3051                     PopupMenu_Gain.ListIndex = 3 
    3052                      
    3053                   End Select 
    3054                    
    3055                   //Update Speed 
    3056                   Select Case ICSSerialPort1.Byte04 
    3057                      
    3058                   Case chrb(&h0A) 
    3059                     PopupMenu_Speed.ListIndex = 0 
    3060                      
    3061                   Case chrb(&h14) 
    3062                     PopupMenu_Speed.ListIndex = 1 
    3063                      
    3064                   Case chrb(&h1E) 
    3065                     PopupMenu_Speed.ListIndex = 2 
    3066                      
    3067                   Case chrb(&h28) 
    3068                     PopupMenu_Speed.ListIndex = 3 
    3069                      
    3070                   Case chrb(&hFF) 
    3071                     PopupMenu_Speed.ListIndex = 4 
    3072                      
    3073                   Else 
    3074                     PopupMenu_Speed.ListIndex = 5 
    3075                      
    3076                   End Select 
    3077                    
    3078                   //Update punch 
    3079                   Slider_Punch.Value = asc(ICSSerialPort1.Byte05) 
    3080                   EditField_Punch.Text = str(asc(ICSSerialPort1.Byte05)) 
    3081                    
    3082                   //Update DBAND 
    3083                   Select Case ICSSerialPort1.Byte06 
    3084                      
    3085                   Case chrb(&h01) 
    3086                     PopupMenu_DBand.ListIndex = 0 
    3087                      
    3088                   Case chrb(&h02) 
    3089                     PopupMenu_DBand.ListIndex = 1 
    3090                      
    3091                   Case chrb(&h03) 
    3092                     PopupMenu_DBand.ListIndex = 2 
    3093                      
    3094                   Else 
    3095                     PopupMenu_DBand.ListIndex = 3 
    3096                      
    3097                   End Select 
    3098                    
    3099                   //Update Dump 
    3100                   Select Case ICSSerialPort1.Byte07 
    3101                      
    3102                   Case chrb(&h01) 
    3103                     PopupMenu_Dump.ListIndex = 0 
    3104                      
    3105                   Case chrb(&h02) 
    3106                     PopupMenu_Dump.ListIndex = 1 
    3107                      
    3108                   Else 
    3109                     PopupMenu_Dump.ListIndex = 2 
    3110                      
    3111                   End Select 
    3112                    
    3113                   //Update DFREQ 
    3114                   Select Case ICSSerialPort1.Byte08 
    3115                      
    3116                   Case chrb(&h40) 
    3117                     PopupMenu_DFreq.ListIndex = 0 
    3118                      
    3119                   Case chrb(&h78) 
    3120                     PopupMenu_DFreq.ListIndex = 1 
    3121                      
    3122                   Case chrb(&hFF) 
    3123                     PopupMenu_DFreq.ListIndex = 2 
    3124                      
    3125                   Else 
    3126                     PopupMenu_DFreq.ListIndex = 3 
    3127                      
    3128                   End Select 
    3129                    
    3130                   //Update Nuetral 
    3131                   //Nuetral is defined by 2 bytes 
    3132                   Select Case ICSSerialPort1.Byte11 
    3133                      
    3134                   Case chrb(&h82) 
    3135                     if ICSSerialPort1.Byte12 = chrb(&h7C) then 
    3136                       PopupMenu_Nuetral.ListIndex = 0 
    3137                     else 
    3138                       PopupMenu_Nuetral.ListIndex = 3 
     3054                Private Sub readPreferences() 
     3055                  dim filePreference as FolderItem = GetFolderItem("icspref.xml") 
     3056                  dim xdoc as XmlDocument 
     3057                  dim root as XmlNode 
     3058                  dim i as Integer 
     3059                  dim count as integer 
     3060                  dim item as string 
     3061                   
     3062                  //Read the settings from the preferences file 
     3063                  if filePreference <> Nil then 
     3064                    if filePreference.Exists then 
     3065                      xdoc = New XmlDocument(filePreference) 
     3066                       
     3067                      count = xdoc.DocumentElement.ChildCount 
     3068                       
     3069                      for i = 0 to count - 1 
     3070                        root = xdoc.DocumentElement.Child(i) 
     3071                         
     3072                        item = root.FirstChild.Value 
     3073                         
     3074                        select case root.Name 
     3075                        case "comPort" 
     3076                          comPort = item 
     3077                        end select 
     3078                      next 
    31393079                    end if 
    3140                      
    3141                   Case chrb(&h88) 
    3142                     if ICSSerialPort1.Byte12 = chrb(&h78) then 
    3143                       PopupMenu_Nuetral.ListIndex = 1 
    3144                     else 
    3145                       PopupMenu_Nuetral.ListIndex = 3 
    3146                     end if 
    3147                      
    3148                   Case chrb(&h94) 
    3149                     if ICSSerialPort1.Byte12 = chrb(&h6C) then 
    3150                       PopupMenu_Nuetral.ListIndex = 2 
    3151                     else 
    3152                       PopupMenu_Nuetral.ListIndex = 3 
    3153                     end if 
    3154                      
    3155                   Else 
    3156                     PopupMenu_Nuetral.ListIndex = 3 
    3157                      
    3158                   End Select 
    3159                    
    3160                   //Update Vertial Intertia 
    3161                   Select Case ICSSerialPort1.Byte13 
    3162                      
    3163                   Case chrb(&h01) 
    3164                     PopupMenu_VerticalInteria.ListIndex = 0 
    3165                      
    3166                   Case chrb(&h02) 
    3167                     PopupMenu_VerticalInteria.ListIndex = 1 
    3168                      
    3169                   Case chrb(&h03) 
    3170                     PopupMenu_VerticalInteria.ListIndex = 2 
    3171                      
    3172                   Case chrb(&h04) 
    3173                     PopupMenu_VerticalInteria.ListIndex = 3 
    3174                      
    3175                   Case chrb(&hFF) 
    3176                     PopupMenu_VerticalInteria.ListIndex = 4 
    3177                      
    3178                   Else 
    3179                     PopupMenu_VerticalInteria.ListIndex = 5 
    3180                      
    3181                   End Select 
    3182                    
    3183                   //Update Back Timing 
    3184                   Select Case ICSSerialPort1.Byte15 
    3185                      
    3186                   Case chrb(&h01) 
    3187                     PopupMenu_BackTiming.ListIndex = 0 
    3188                      
    3189                   Case chrb(&h05) 
    3190                     PopupMenu_BackTiming.ListIndex = 1 
    3191                      
    3192                   Case chrb(&h0A) 
    3193                     PopupMenu_BackTiming.ListIndex = 2 
    3194                      
    3195                   Case chrb(&h14) 
    3196                     PopupMenu_BackTiming.ListIndex = 3 
    3197                      
    3198                   Case chrb(&h28) 
    3199                     PopupMenu_BackTiming.ListIndex = 4 
    3200                      
    3201                   Else 
    3202                     PopupMenu_BackTiming.ListIndex = 5 
    3203                      
    3204                   End Select 
    3205                    
    3206                   //Update Steering Gain 
    3207                   Slider_STGain.Value = asc(ICSSerialPort1.Byte16) 
    3208                   EditField_STGain.Text = str(asc(ICSSerialPort1.Byte16)) 
    3209                    
    3210                   //Update Throttle Gain 
    3211                   Slider_THGain.Value = asc(ICSSerialPort1.Byte17) 
    3212                   EditField_THGain.Text = str(asc(ICSSerialPort1.Byte17)) 
     3080                  end if 
     3081                   
     3082                   
    32133083                End Sub 
    32143084        #tag EndMethod 
    32153085 
    3216  
    3217         #tag Note, Name = License 
    3218                 Copyright 2010 Jeremy Auten 
    3219                  
    3220                 This file is part of Flip Side ICS Software. 
    3221                  
    3222                 Flip Side ICS Software is free software: you can redistribute it and/or modify 
    3223                 it under the terms of the GNU General Public License as published by 
    3224                 the Free Software Foundation, either version 3 of the License, or 
    3225                 (at your option) any later version. 
    3226                  
    3227                 Flip Side ICS Software is distributed in the hope that it will be useful, 
    3228                 but WITHOUT ANY WARRANTY; without even the implied warranty of 
    3229                 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    3230                 GNU General Public License for more details. 
    3231                  
    3232                 You should have received a copy of the GNU General Public License 
    3233                 along with Flip Side ICS Software.  If not, see <http://www.gnu.org/licenses/>. 
    3234         #tag EndNote 
     3086        #tag Method, Flags = &h21 
     3087                Private Sub savePreferences() 
     3088                  dim xml as XmlDocument 
     3089                  dim root as XMLNode 
     3090                  dim comPortXML as XmlNode 
     3091                  dim f as FolderItem 
     3092                   
     3093                  //Save the preferences 
     3094                   
     3095                  f = GetFolderItem("icspref.xml") 
     3096                   
     3097                  if f <> Nil then 
     3098                    //Create a new XML document 
     3099                    xml = New XmlDocument 
     3100                    root = xml.AppendChild(xml.CreateElement("icspref")) 
     3101                     
     3102                    //Add elements 
     3103                    comPortXML = root.AppendChild(xml.CreateElement("comPort")) 
     3104                    comPortXML.AppendChild(xml.CreateTextNode(comPort)) 
     3105                     
     3106                    //Save the output 
     3107                    xml.SaveXml(f) 
     3108                  end if 
     3109                   
     3110                End Sub 
     3111        #tag EndMethod 
    32353112 
    32363113 
     
    32633140        #tag EndEvent 
    32643141#tag EndEvents 
     3142#tag Events PushButton_Reset 
     3143        #tag Event 
     3144                Sub Action() 
     3145                  ICSSerialPort1.resetCar 
     3146                End Sub 
     3147        #tag EndEvent 
     3148#tag EndEvents 
    32653149#tag Events TabPanel1 
    32663150        #tag Event 
     
    32713155        #tag EndEvent 
    32723156#tag EndEvents 
    3273 #tag Events EditField_Byte9 
    3274         #tag Event 
    3275                 Sub TextChange() 
    3276                   //Make sure we have a valid value if not then set it to something 
     3157#tag Events PopupMenu_SerialPort 
     3158        #tag Event 
     3159                Sub Change() 
     3160                  //Set and open the COM Port 
     3161                  dim i, count as integer 
     3162                  count = System.SerialPortCount 
     3163                   
     3164                  if comPort <> "" then 
     3165                    //We can try opening the com port and set the popup menu to that port 
     3166                     
     3167                    for i = 0 to PopupMenu_SerialPort.ListCount - 1 
     3168                       
     3169                      if PopupMenu_SerialPort.list(i) = me.Text then 
     3170                        //Found a match, set and open 
     3171                        ICSSerialPort1.SerialPort = System.SerialPort(i) 
     3172                        ICSSerialPort1.Close 
     3173                         
     3174                         
     3175                        if not ICSSerialPort1.Open then 
     3176                          //Could not open 
     3177                          MsgBox "Error opening defined com port" 
     3178                        end if 
     3179                        //Save and exit 
     3180                        comPort = me.Text 
     3181                        savePreferences 
     3182                        exit 
     3183                      end if 
     3184                       
     3185                    next 
     3186                     
     3187                  end if 
     3188                End Sub 
     3189        #tag EndEvent 
     3190#tag EndEvents 
     3191#tag Events PopupMenu_Profile 
     3192        #tag Event 
     3193                Sub Change() 
    32773194                  if me.Text <> "" then 
    3278                     if val(me.Text) > 255 or val(me.Text) < 0 then 
    3279                       me.Text = "255" 
    3280                     end if 
     3195                    PushButton_SaveProfile.Visible = true 
     3196                    PushButton_Delete.Visible = true 
     3197                    ICSSerialPort1.loadProfile(me.Text) 
    32813198                  end if 
    3282                    
    3283                   dim d as double 
     3199                End Sub 
     3200        #tag EndEvent 
     3201        #tag Event 
     3202                Sub Open() 
     3203                  dim s() as string 
    32843204                  dim i as integer 
    3285                   d = val(me.Text) 
    3286                   i = d 
    3287                   ICSSerialPort1.Byte09 = chrb(i) 
    3288                 End Sub 
    3289         #tag EndEvent 
    3290 #tag EndEvents 
    3291 #tag Events EditField_Byte8 
    3292         #tag Event 
    3293                 Sub TextChange() 
    3294                   //Make sure we have a valid value if not then set it to something 
    3295                   if me.Text <> "" then 
    3296                     if val(me.Text) > 255 or val(me.Text) < 0 then 
    3297                       me.Text = "255" 
    3298                     end if 
     3205                   
     3206                  s = ICSSerialPort1.listProfiles 
     3207                   
     3208                  if UBound(s) > -1 then 
     3209                    for each element as string in s 
     3210                      me.AddRow(element) 
     3211                    next 
    32993212                  end if 
    3300                    
    3301                   dim d as double 
    3302                   dim i as integer 
    3303                   d = val(me.Text) 
    3304                   i = d 
    3305                   ICSSerialPort1.Byte08 = chrb(i) 
    3306                 End Sub 
    3307         #tag EndEvent 
    3308 #tag EndEvents 
    3309 #tag Events EditField_Byte7 
    3310         #tag Event 
    3311                 Sub TextChange() 
    3312                   //Make sure we have a valid value if not then set it to something 
    3313                   if me.Text <> "" then 
    3314                     if val(me.Text) > 255 or val(me.Text) < 0 then 
    3315                       me.Text = "255" 
    3316                     end if 
    3317                   end if 
    3318                    
    3319                   dim d as double 
    3320                   dim i as integer 
    3321                   d = val(me.Text) 
    3322                   i = d 
    3323                   ICSSerialPort1.Byte07 = chrb(i) 
    3324                 End Sub 
    3325         #tag EndEvent 
    3326 #tag EndEvents 
    3327 #tag Events EditField_Byte6 
    3328         #tag Event 
    3329                 Sub TextChange() 
    3330                   //Make sure we have a valid value if not then set it to something 
    3331                   if me.Text <> "" then 
    3332                     if val(me.Text) > 255 or val(me.Text) < 0 then 
    3333                       me.Text = "255" 
    3334                     end if 
    3335                   end if 
    3336                    
    3337                   dim d as double 
    3338                   dim i as integer 
    3339                   d = val(me.Text) 
    3340                   i = d 
    3341                   ICSSerialPort1.Byte06 = chrb(i) 
    3342                 End Sub 
    3343         #tag EndEvent 
    3344 #tag EndEvents 
    3345 #tag Events EditField_Byte5 
    3346         #tag Event 
    3347                 Sub TextChange() 
    3348                   //Make sure we have a valid value if not then set it to something 
    3349                   if me.Text <> "" then 
    3350                     if val(me.Text) > 255 or val(me.Text) < 0 then 
    3351                       me.Text = "255" 
    3352                     end if 
    3353                   end if 
    3354                    
    3355                   dim d as double 
    3356                   dim i as integer 
    3357                   d = val(me.Text) 
    3358                   i = d 
    3359                   ICSSerialPort1.Byte05 = chrb(i) 
    3360                 End Sub 
    3361         #tag EndEvent 
    3362 #tag EndEvents 
    3363 #tag Events EditField_Byte4 
    3364         #tag Event 
    3365                 Sub TextChange() 
    3366                   //Make sure we have a valid value if not then set it to something 
    3367                   if me.Text <> "" then 
    3368                     if val(me.Text) > 255 or val(me.Text) < 0 then 
    3369                       me.Text = "255" 
    3370                     end if 
    3371                   end if 
    3372                    
    3373                   dim d as double 
    3374                   dim i as integer 
    3375                   d = val(me.Text) 
    3376                   i = d 
    3377                   ICSSerialPort1.Byte04 = chrb(i) 
    3378                 End Sub 
    3379         #tag EndEvent 
    3380 #tag EndEvents 
    3381 #tag Events EditField_Byte3 
    3382         #tag Event 
    3383                 Sub TextChange() 
    3384                   //Make sure we have a valid value if not then set it to something 
    3385                   if me.Text <> "" then 
    3386                     if val(me.Text) > 255 or val(me.Text) < 0 then 
    3387                       me.Text = "255" 
    3388                     end if 
    3389                   end if 
    3390                    
    3391                   dim d as double 
    3392                   dim i as integer 
    3393                   d = val(me.Text) 
    3394                   i = d 
    3395                   ICSSerialPort1.Byte03 = chrb(i) 
     3213                End Sub 
     3214        #tag EndEvent 
     3215#tag EndEvents 
     3216#tag Events PushButton_Create 
     3217        #tag Event 
     3218                Sub Action() 
     3219                  dim tempProfWindow as new createProfile 
     3220                  tempProfWindow.Show 
     3221                End Sub 
     3222        #tag EndEvent 
     3223#tag EndEvents 
     3224#tag Events PushButton_Delete 
     3225        #tag Event 
     3226                Sub Action() 
     3227                  ICSSerialPort1.deleteProfile(PopupMenu_Profile.Text) 
    33963228                End Sub 
    33973229        #tag EndEvent 
     
    34373269                  ICSSerialPort1.Byte16 = chrb(me.Value) 
    34383270                  //Check to see if we need to update the edit field 
    3439                   //This prevents the edit field from triggering this event that then updates the edit field again 
     3271                  //This prevents the edit field from triggering this event that then updates the edit field again  
    34403272                  //Causing the cursor to move to the begginning of the editfield 
    34413273                  if EditField_STGain.Text <> str(me.Value) then 
     
    36623494                Sub Change() 
    36633495                  ICSSerialPort1.setCarType(me.Text) 
    3664                   ICSSerialPort1.setDefaultValues 
    36653496                  disableControls 
    36663497                   
     
    36683499        #tag EndEvent 
    36693500#tag EndEvents 
    3670 #tag Events EditField_Byte12 
     3501#tag Events EditField_Byte17 
    36713502        #tag Event 
    36723503                Sub TextChange() 
     
    36823513                  d = val(me.Text) 
    36833514                  i = d 
    3684                   ICSSerialPort1.Byte12 = chrb(i) 
    3685                 End Sub 
    3686         #tag EndEvent 
    3687 #tag EndEvents 
    3688 #tag Events EditField_Byte11 
     3515                  ICSSerialPort1.Byte17 = chrb(i) 
     3516                End Sub 
     3517        #tag EndEvent 
     3518#tag EndEvents 
     3519#tag Events EditField_Byte16 
    36893520        #tag Event 
    36903521                Sub TextChange() 
     
    37003531                  d = val(me.Text) 
    37013532                  i = d 
    3702                   ICSSerialPort1.Byte11 = chrb(i) 
    3703                 End Sub 
    3704         #tag EndEvent 
    3705 #tag EndEvents 
    3706 #tag Events EditField_Byte10 
     3533                  ICSSerialPort1.Byte16 = chrb(i) 
     3534                End Sub 
     3535        #tag EndEvent 
     3536#tag EndEvents 
     3537#tag Events EditField_Byte15 
    37073538        #tag Event 
    37083539                Sub TextChange() 
     
    37183549                  d = val(me.Text) 
    37193550                  i = d 
    3720                   ICSSerialPort1.Byte10 = chrb(i) 
    3721                 End Sub 
    3722         #tag EndEvent 
    3723 #tag EndEvents 
    3724 #tag Events EditField_Byte17 
     3551                  ICSSerialPort1.Byte15 = chrb(i) 
     3552                End Sub 
     3553        #tag EndEvent 
     3554#tag EndEvents 
     3555#tag Events EditField_Byte14 
    37253556        #tag Event 
    37263557                Sub TextChange() 
     
    37363567                  d = val(me.Text) 
    37373568                  i = d 
    3738                   ICSSerialPort1.Byte17 = chrb(i) 
    3739                 End Sub 
    3740         #tag EndEvent 
    3741 #tag EndEvents 
    3742 #tag Events EditField_Byte16 
     3569                  ICSSerialPort1.Byte14 = chrb(i) 
     3570                End Sub 
     3571        #tag EndEvent 
     3572#tag EndEvents 
     3573#tag Events EditField_Byte13 
    37433574        #tag Event 
    37443575                Sub TextChange() 
     
    37543585                  d = val(me.Text) 
    37553586                  i = d 
    3756                   ICSSerialPort1.Byte16 = chrb(i) 
    3757                 End Sub 
    3758         #tag EndEvent 
    3759 #tag EndEvents 
    3760 #tag Events EditField_Byte15 
     3587                  ICSSerialPort1.Byte13 = chrb(i) 
     3588                End Sub 
     3589        #tag EndEvent 
     3590#tag EndEvents 
     3591#tag Events EditField_Byte12 
    37613592        #tag Event 
    37623593                Sub TextChange() 
     
    37723603                  d = val(me.Text) 
    37733604                  i = d 
    3774                   ICSSerialPort1.Byte15 = chrb(i) 
    3775                 End Sub 
    3776         #tag EndEvent 
    3777 #tag EndEvents 
    3778 #tag Events EditField_Byte14 
     3605                  ICSSerialPort1.Byte12 = chrb(i) 
     3606                End Sub 
     3607        #tag EndEvent 
     3608#tag EndEvents 
     3609#tag Events EditField_Byte11 
    37793610        #tag Event 
    37803611                Sub TextChange() 
     
    37903621                  d = val(me.Text) 
    37913622                  i = d 
    3792                   ICSSerialPort1.Byte14 = chrb(i) 
    3793                 End Sub 
    3794         #tag EndEvent 
    3795 #tag EndEvents 
    3796 #tag Events EditField_Byte13 
     3623                  ICSSerialPort1.Byte11 = chrb(i) 
     3624                End Sub 
     3625        #tag EndEvent 
     3626#tag EndEvents 
     3627#tag Events EditField_Byte10 
    37973628        #tag Event 
    37983629                Sub TextChange() 
     
    38083639                  d = val(me.Text) 
    38093640                  i = d 
    3810                   ICSSerialPort1.Byte13 = chrb(i) 
     3641                  ICSSerialPort1.Byte10 = chrb(i) 
     3642                End Sub 
     3643        #tag EndEvent 
     3644#tag EndEvents 
     3645#tag Events EditField_Byte9 
     3646        #tag Event 
     3647                Sub TextChange() 
     3648                  //Make sure we have a valid value if not then set it to something 
     3649                  if me.Text <> "" then 
     3650                    if val(me.Text) > 255 or val(me.Text) < 0 then 
     3651                      me.Text = "255" 
     3652                    end if 
     3653                  end if 
     3654                   
     3655                  dim d as double 
     3656                  dim i as integer 
     3657                  d = val(me.Text) 
     3658                  i = d 
     3659                  ICSSerialPort1.Byte09 = chrb(i) 
     3660                End Sub 
     3661        #tag EndEvent 
     3662#tag EndEvents 
     3663#tag Events EditField_Byte8 
     3664        #tag Event 
     3665                Sub TextChange() 
     3666                  //Make sure we have a valid value if not then set it to something 
     3667                  if me.Text <> "" then 
     3668                    if val(me.Text) > 255 or val(me.Text) < 0 then 
     3669                      me.Text = "255" 
     3670                    end if 
     3671                  end if 
     3672                   
     3673                  dim d as double 
     3674                  dim i as integer 
     3675                  d = val(me.Text) 
     3676                  i = d 
     3677                  ICSSerialPort1.Byte08 = chrb(i) 
     3678                End Sub 
     3679        #tag EndEvent 
     3680#tag EndEvents 
     3681#tag Events EditField_Byte7 
     3682        #tag Event 
     3683                Sub TextChange() 
     3684                  //Make sure we have a valid value if not then set it to something 
     3685                  if me.Text <> "" then 
     3686                    if val(me.Text) > 255 or val(me.Text) < 0 then 
     3687                      me.Text = "255" 
     3688                    end if 
     3689                  end if 
     3690                   
     3691                  dim d as double 
     3692                  dim i as integer 
     3693                  d = val(me.Text) 
     3694                  i = d 
     3695                  ICSSerialPort1.Byte07 = chrb(i) 
     3696                End Sub 
     3697        #tag EndEvent 
     3698#tag EndEvents 
     3699#tag Events EditField_Byte6 
     3700        #tag Event 
     3701                Sub TextChange() 
     3702                  //Make sure we have a valid value if not then set it to something 
     3703                  if me.Text <> "" then 
     3704                    if val(me.Text) > 255 or val(me.Text) < 0 then 
     3705                      me.Text = "255" 
     3706                    end if 
     3707                  end if 
     3708                   
     3709                  dim d as double 
     3710                  dim i as integer 
     3711                  d = val(me.Text) 
     3712                  i = d 
     3713                  ICSSerialPort1.Byte06 = chrb(i) 
     3714                End Sub 
     3715        #tag EndEvent 
     3716#tag EndEvents 
     3717#tag Events EditField_Byte5 
     3718        #tag Event 
     3719                Sub TextChange() 
     3720                  //Make sure we have a valid value if not then set it to something 
     3721                  if me.Text <> "" then 
     3722                    if val(me.Text) > 255 or val(me.Text) < 0 then 
     3723                      me.Text = "255" 
     3724                    end if 
     3725                  end if 
     3726                   
     3727                  dim d as double 
     3728                  dim i as integer 
     3729                  d = val(me.Text) 
     3730                  i = d 
     3731                  ICSSerialPort1.Byte05 = chrb(i) 
     3732                End Sub 
     3733        #tag EndEvent 
     3734#tag EndEvents 
     3735#tag Events EditField_Byte4 
     3736        #tag Event 
     3737                Sub TextChange() 
     3738                  //Make sure we have a valid value if not then set it to something 
     3739                  if me.Text <> "" then 
     3740                    if val(me.Text) > 255 or val(me.Text) < 0 then 
     3741                      me.Text = "255" 
     3742                    end if 
     3743                  end if 
     3744                   
     3745                  dim d as double 
     3746                  dim i as integer 
     3747                  d = val(me.Text) 
     3748                  i = d 
     3749                  ICSSerialPort1.Byte04 = chrb(i) 
     3750                End Sub 
     3751        #tag EndEvent 
     3752#tag EndEvents 
     3753#tag Events EditField_Byte3 
     3754        #tag Event 
     3755                Sub TextChange() 
     3756                  //Make sure we have a valid value if not then set it to something 
     3757                  if me.Text <> "" then 
     3758                    if val(me.Text) > 255 or val(me.Text) < 0 then 
     3759                      me.Text = "255" 
     3760                    end if 
     3761                  end if 
     3762                   
     3763                  dim d as double 
     3764                  dim i as integer 
     3765                  d = val(me.Text) 
     3766                  i = d 
     3767                  ICSSerialPort1.Byte03 = chrb(i) 
    38113768                End Sub 
    38123769        #tag EndEvent 
     
    38203777                End Sub 
    38213778        #tag EndEvent 
    3822         #tag Event 
    3823                 Sub profileImported(profileName as string) 
    3824                   PopupMenu_Profile.AddRow(profileName) 
    3825                    
    3826                   //Make sure to switch to the new profile 
    3827                   PopupMenu_Profile.ListIndex = PopupMenu_Profile.ListCount 
    3828                    
    3829                   //Update the screens with the new values 
    3830                   updateAdvancedScreen 
    3831                   updateCarScreen 
    3832                 End Sub 
    3833         #tag EndEvent 
    38343779#tag EndEvents 
    38353780#tag Events PushButton_Default 
     
    38403785        #tag EndEvent 
    38413786#tag EndEvents 
    3842 #tag Events PopupMenu_SerialPort 
    3843         #tag Event 
    3844                 Sub Change() 
    3845                   //Set and open the COM Port 
    3846                   dim i, count as integer 
    3847                   count = System.SerialPortCount 
    3848                    
    3849                   if PopupMenu_SerialPort.Text <> "" then 
    3850                     //We can try opening the com port and set the popup menu to that port 
    3851                      
    3852                     for i = 0 to PopupMenu_SerialPort.ListCount - 1 
    3853                        
    3854                       if PopupMenu_SerialPort.list(i) = me.Text then 
    3855                         //Found a match, set and open 
    3856                         ICSSerialPort1.SerialPort = System.SerialPort(i) 
    3857                         ICSSerialPort1.Close 
    3858                          
    3859                          
    3860                         if not ICSSerialPort1.Open then 
    3861                           //Could not open 
    3862                           MsgBox "Error opening defined com port" 
    3863                           //Disable buttons 
    3864                           PushButton_Read.Enabled = False 
    3865                           PushButton_Write.Enabled = False 
    3866                           PushButton_Reset.Enabled = False 
    3867                         else 
    3868                           //Enable buttons 
    3869                           PushButton_Read.Enabled = True 
    3870                           PushButton_Write.Enabled = True 
    3871                           PushButton_Reset.Enabled = True 
    3872                            
    3873                         end if 
    3874                         //Save and exit 
    3875                         comPort = me.Text 
    3876                         savePreferences 
    3877                         exit 
    3878                       end if 
    3879                        
    3880                     next 
    3881                      
    3882                   end if 
    3883                 End Sub 
    3884         #tag EndEvent 
    3885 #tag EndEvents 
    3886 #tag Events PopupMenu_Profile 
    3887         #tag Event 
    3888                 Sub Change() 
    3889                   if me.Text <> "" then 
    3890                     PushButton_SaveProfile.Enabled = true 
    3891                     PushButton_Delete.Enabled = true 
    3892                     PushButton_Export.Enabled = true 
    3893                     ICSSerialPort1.loadProfile(me.Text) 
    3894                   end if 
    3895                 End Sub 
    3896         #tag EndEvent 
    3897         #tag Event 
    3898                 Sub Open() 
    3899                   dim s() as string 
    3900                    
    3901                   s = ICSSerialPort1.listProfiles 
    3902                    
    3903                   if UBound(s) > -1 then 
    3904                     for each element as string in s 
    3905                       me.AddRow(element) 
    3906                     next 
    3907                   end if 
    3908                 End Sub 
    3909         #tag EndEvent 
    3910 #tag EndEvents 
    39113787#tag Events PushButton_SaveProfile 
    39123788        #tag Event 
    39133789                Sub Action() 
    3914                   if PopupMenu_Profile.Text <> "" then 
    3915                     ICSSerialPort1.saveProfile(PopupMenu_Profile.Text) 
    3916                   end if 
    3917                 End Sub 
    3918         #tag EndEvent 
    3919 #tag EndEvents 
    3920 #tag Events PushButton_Delete 
    3921         #tag Event 
    3922                 Sub Action() 
    3923                   if PopupMenu_Profile.Text <> "" then 
    3924                     ICSSerialPort1.deleteProfile(PopupMenu_Profile.Text) 
    3925                      
    3926                     PopupMenu_Profile.RemoveRow(PopupMenu_Profile.ListIndex) 
    3927                      
    3928                     //Make sure to hide the save and delete profile buttons since no profile will be selected after this has been deleted 
    3929                     PushButton_SaveProfile.Enabled = False 
    3930                     PushButton_Delete.Enabled = False 
    3931                     PushButton_Export.Enabled = False 
    3932                      
    3933                   end if 
    3934                 End Sub 
    3935         #tag EndEvent 
    3936 #tag EndEvents 
    3937 #tag Events PushButton_Create 
    3938         #tag Event 
    3939                 Sub Action() 
    3940                   dim tempProfWindow as new createProfile 
    3941                   tempProfWindow.Show 
    3942                 End Sub 
    3943         #tag EndEvent 
    3944 #tag EndEvents 
    3945 #tag Events PushButton_Import 
    3946         #tag Event 
    3947                 Sub Action() 
    3948                   dim success as Boolean 
    3949                    
    3950                   success = ICSSerialPort1.importProfile 
    3951                    
    3952                   if success = false then 
    3953                     MsgBox "Error importing profile" 
    3954                   end if 
    3955                 End Sub 
    3956         #tag EndEvent 
    3957 #tag EndEvents 
    3958 #tag Events PushButton_Export 
    3959         #tag Event 
    3960                 Sub Action() 
    3961                   if PopupMenu_Profile.Text <> "" then 
    3962                     ICSSerialPort1.exportProfile(PopupMenu_Profile.Text) 
    3963                   end if 
    3964                 End Sub 
    3965         #tag EndEvent 
    3966 #tag EndEvents 
     3790                  ICSSerialPort1.saveProfile(PopupMenu_Profile.Text) 
     3791                End Sub 
     3792        #tag EndEvent 
     3793#tag EndEvents 
  • /trunk/desktop/FlipSideICS.rbbas

    r28 r8  
    22Protected Class FlipSideICS 
    33Inherits Application 
    4         #tag Note, Name = License 
    5                 Copyright 2010 Jeremy Auten 
    6                  
    7                 This file is part of Flip Side ICS Software. 
    8                  
    9                 Flip Side ICS Software is free software: you can redistribute it and/or modify 
    10                 it under the terms of the GNU General Public License as published by 
    11                 the Free Software Foundation, either version 3 of the License, or 
    12                 (at your option) any later version. 
    13                  
    14                 Flip Side ICS Software is distributed in the hope that it will be useful, 
    15                 but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16                 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    17                 GNU General Public License for more details. 
    18                  
    19                 You should have received a copy of the GNU General Public License 
    20                 along with Flip Side ICS Software.  If not, see <http://www.gnu.org/licenses/>. 
    21                  
    22         #tag EndNote 
    23  
    24  
    254        #tag Constant, Name = kFileQuitShortcut, Type = String, Dynamic = False, Default = \"", Scope = Public 
    265                #Tag Instance, Platform = Mac OS, Language = Default, Definition  = \"Cmd+Q" 
Note: See TracChangeset for help on using the changeset viewer.