RaceTools v3.2 – seeing more data

RaceTools 3.2 adds extra fields to the Session Results table and Heat Map color coding of section times. This is an optional upgrade for INDYCAR users but a recommended upgrade for IMSA users.

Custom Fields in Session Results table:
To bring more information to the main program window, I’m adding some custom fields that you can manually enter into the column field by using the Insert Column or Edit Column options. I consider these ‘works in progress’, but you will be able to add:
1. Section Times/Speeds by entering the section name. If the field is defined as a speed trap, then it will be displayed as SPEED. Otherwise it will be displayed as time.
2. Best Lap Section Times by entering ‘BL_’+ (ie. ‘BL_S01’). This will display the section time for the competitor’s best lap.
3. Best Splits Section Time by entering ‘BS_’+ (ie. ‘BS_S01’). This will display the best section time for the competitor.
4. Best Lap Section Time Delta by entering ‘BLD_’+ (ie. ‘BLD_S01’). For the class leader, it will display the Best Lap Section time. For all others, it will display the delta to the class leader, which may be greater than (longer time, slower) or less than zero (shorter time, faster).
5. Best Splits Section Time Delta by entering ‘BSD_’+ (ie. ‘BSD_S01’). For the class leader, it will display the Best Section time. For all others, it will display the delta to the class leader, which may be greater than (longer time, slower) or less than zero (shorter time, faster).
6. Previous Rank by entering ‘PR’. This will display the competitor’s rank at the last S/F crossing and is used to highlight improvements (P column green) or decline (P column red) in position.

Heat Map:
To make it easier to identify faster/slower section times, the Section Time Delta fields defined above are color coded when the ‘Heat Map’ option is enabled. The colors below are subject to change as this is my first pass at this feature.

History:
v3.2.0
2017 03 07 – clear SessionResults column if field not defined
2017 03 06 – fix Access error in DriveTimes report (accessing sgdResults.Datasource.DataSet before it is configured)
– apply HeatMap to BS and BL section times
– apply position change highlighting to PR field
2017 03 05 – add HeatMap to BSD and BLD fields
2017 03 04 – move SessionResults draw routines to TASDB unit to share with other stringgrid rendering
– add BL_ to SessionResults table Best Lap Section Times
– add BS_ to SessionResults table Best Splits Section Times
– add BLD_ to SessionResults table Best Lap Section Time Delta to P1
– add BSD_ to SessionResults table Best Splits Section Time Delta to P1
– add TOP_ to SessionResults table – average of Top lap times
– fix setting of PrevRank to highlight P field for position changes
v3.1.0
2017 03 03 – save/restore Maps and Graphs on exit/launch
v3.0.10
2017 02 28 – prompt for team name for expired license keys to allow user an opportunity to reset the team name if necessary.
2017 02 27 – add LoadSettings to load all settings from another configuration file.
– check AppDataPath for configuration file, if not found but ParamStr(0) configuration file found, use ParamStr(0) path to load configuration
v3.0.9
2017 02 24 – fix FloatToTimeStr to round time to requested precision before converting to string. Fixes rounding of 118.995 to 1:59.00 instead of 1:58.00
2017 02 23 – check for availability of frmPitWindows before reading settings from it. Eliminate access error frmConfiguration.OnShow in MRTI version.
v3.0.8
2017 02 10 – save alias to track configuration file when saving track, before sorttrack which reloads the alias from disk.
2017 02 10 – trap when [TrackMap] Filename= or MapPath=Filename which disabled OpenDialog from opening to load a new track map
2017 02 10 – clear LastSpeed/BestSpeed from RP $O messages (fields in eRP but not RP, need to ignore if RP message)
v3.0.7
2017 01 28 – add Pause button to pause scrolling of line crossings table to display the latest crossings.
v3.0.6
2017 01 27 – remove SCx/Ex filter under yellow due to flawed logic. Need to replace with a better filter.
– add Highlight LSP in Running Order table. Need to add highlighting to results table.
v3.0.4
2017 01 15 – disable DriveTimesReport.refresh timer onclose to prevent trying to access database while closing.
– ignore Main UpdateDisplay trigger to update pit windows if pit windows update timer enabled to prevent duplicate refresh of pit windows
v3.0.3
2017 01 12 – change default configuration file path to AppDataPath if executable is in the Program Files folder to be more Windows UAC friendly.
v3.0.2
2017 01 07 – update IMSA replay file URL to http://results.imsa.com
– update IMSA data feed server to timing-data.aks port 10030
2017 01 04 – disable CarTracker.BringToFront when main program activated to fix bug accessing main window controls (menus, etc.)
– move ClocksToFront from CarTracker.Activate to imgTrackMap.OnMouseUp to keep clocks on top of track map but without disabling main program or track map interface.

RaceTools v3.1 – improved settings management

With increased use of the docking features of the software, especially with the ability to have multiple track maps and graphs, the need for better management of configuration settings is needed. With the change in v3 of saving configuration files to the %appdata% folder when running the executable out of the %program files% folder, I needed to add a way for you to restore the settings from v2. RaceTools v3.0.10 (which was never released publically) and v3.1.0 addresses these two key annoyances.

V3.0.10 adds a ‘Load Settings’ menu to the main program menu to load the program settings from any configuration file. This is most useful when migrating from version 2 to version 3 as the location of the configuration files may have changed, depending on where you run the software from. If you run RaceTools from the Program Files or Program Files (x86) folder, version 3 of RaceTools stores and loads the configuration from the AppData folder as recommended by Microsoft. It no longer saves to the Program Files folder as this folder is protected by the operating system and users were having problems closing the software and/or restoring their previous configuration when starting the software. If you run RaceTools from another folder, RaceTools will continue to save/restore the configuration from the same folder. With the ‘Load Settings’ menu, you can now load the configuration from a different folder. If you save or close the software, RaceTools will save the settings to the default folder which is the RaceTools program folder if not the windows program folder, or the AppData folder if the RaceTools program folder is in the Windows Program Folder (ie. c:\Program Files or c:\Program Files (x86)).

V3.1.0 now saves and restores any extra maps and/or graphs that you may have added. Previously you would have to re-add the maps and/or graphs each time you launched the software, but now RaceTools will remember how many maps/graphs you added and restore them when you start the software.

Other fixes include a rounding display error when the Show m:ss.zzz option is enabled and the number of digits to display is less than the timing system precision (ie. when Report Digits is set to 2 or less). The previous version would display the truncated seconds field with the rounded fractional seconds so that 1:57.995 would display as 1:57.00 instead of 1:58.00.

Version History:
v3.1.0
2017 03 03 – save/restore Maps and Graphs on exit/launch
2017 03 02 – fix setting of PrevRank to highlight changes in rank. (IndyCar version)
v3.0.10
2017 02 28 – prompt for team name for expired license keys to allow user an opportunity to reset the team name if necessary.
2017 02 27 – add LoadSettings to load all settings from another configuration file.
– check AppDataPath for configuration file, if not found but ParamStr(0) configuration file found, use ParamStr(0) path to load configuration
v3.0.9
2017 02 24 – fix FloatToTimeStr to round time to requested precision before converting to string. Fixes rounding of 118.995 to 1:59.00 instead of 1:58.00
2017 02 23 – check for availability of frmPitWindows before reading settings from it. Eliminate access error frmConfiguration.OnShow in MRTI version.
v3.0.8
2017 02 10 – save alias to track configuration file when saving track, before sorttrack which reloads the alias from disk.
2017 02 10 – trap when [TrackMap] Filename= or MapPath=Filename which disabled OpenDialog from opening to load a new track map
2017 02 10 – clear LastSpeed/BestSpeed from RP $O messages (fields in eRP but not RP, need to ignore if RP message)