Single and Multilap Finishing (Grand Prix) for Sailwave
This is a program for use with excellent Sailwave program produced by Colin Jenkins. It is supplied Free of charge in the hope that other Sailwave users will find it useful.
This initial version is a Beta and there may be a few bugs (Please let me know so I can try and fix them) and it does not yet have all the features that I intend to build into it. But it is released so that any users may try it and give me some feedback as to the direction they would like to see the Development progress.
This program adds the ability to record mutilap results. It is not limited to use with Multilap results, it can also be used for single results input as well.
How it works:-
A simple example is below
First this is in Finishing Order:-
Notice the same competitor appears multiple times and the number of laps completed
After clicking on sail no 989 (or the Helmname) see the line marked with the > above to indicate the first boat to finish. Click the Correct results mode button.
The results are now displayed in the corrected mode. We see that 164 is actually first even though he was not first to finish.
The Update Sailwave button is now enabled
Note This will only update results for a race if the race exists, it will not update results for a non existing race Please use Sailwave to create blank races before you press the update button.
This is a design criteria to make sure the program does not corrupt the .blw file
On clicking the Update Sailwave
This shows that it has detected that Sailwave is open with the file in use.
So what SWGP will do is it will send messages to Sailwave to make sailwave save the file incase any changes have been made and then it will close Sailwave.
It makes a backup of the original sailwave file *.bak
It then modifies the Sailwave .blw file to insert the results and also switch to unscored mode.
Then it restarts Sailwave with the new file so that you can see the entered results and probable wish to Rescore the series.
I've tested this with Sailwave build 2.02 build 5 and build 6 and all seems OK but as . blw format is a custom format which Colin may change in the future please take care when using with other versions of sailwave. Although SWGP is coded to handle changes in the format as much as possible.
The Edit buttons Insert and Delete are not implemented in this release but the functionality is present by first selecting the competitor by clicking on the Sailno and then right clicking
Delete Result will delete this Result and move all positions following up 1
Insert Result will bring up the SailNo Wizard to allow you to select a result for a competitor at this point. All results after this will be incremented by 1
To add results more results to the end Click "Enter Results" and the Sail No Wizard is invoked and results are appended to the end.
Sail No Wizard
The Sail No Wizard entry Form is similar to that of Sailwave except it currently only accepts Sail No's ( This will be expanded please let me know any priorities.)
You should normally set the Race No before you enter results. When you increment the Race No the current race results are saved in a x.swgp file where x is the same as the .blw file.
so if you return to the same race the results will reappear.If you hold the Shift key down while changing the race no. the results are not saved nor are the new race number results read if they exists.
This allows you to change the Race No after you have entered the results if you realise you have enter them against the wrong race.
Results Import
Simple CSV Import
An additional feature is the ability to import results that can be inserted into Sailwave
It currently supports 2 different
The Import Simple CSV is an extra which allows results in the format
RaceNo, SailNo, Code
to be read into the program. The results are verified that the SailNo's are not duplicated and that they are vailid Sail No.s
Example
1,234,
,236,
,239,
,254,OCS
,236,OCS
this is for Race 1
Sail nos are finished 234,236,239 in that order
254 will not have a position but will have OCS
236 will have a position of 2nd but also an OCS (Both will be entered into Sailwave)
SailRacer Import
This is currently in Beta and will work best with SailRacer but could be used with any website capable of supplying the data in the correct format.
Sailracer have developed a Webpage that can be used to input race positions live to their database.
This utility allows that information to be retieved edited and stored in Sailwave for results calculation.
Most of its use should be self explanatory.
Using the SailRacer site the Classes are retrieved when the Event ID is entered.
One thing that should be mentioned is that the URL for accessing the SailRacer results is built into the program however by selecting the Modify Default URL then results can be imported from any other web page cable of supplying the data in the correct format. This format is a CSV in the same format as the simple CSV described above.
If you modify the URL then this is remembered so you don't need to enter it each time
Please feel free to contact me if you require more details.