Gudday all,
As a Mac user I've always felt a bit left out, as I now have a bike with DDA, last night I finally made time and decided to look at the problem.
There are two problems, getting the data onto the Mac and then parsing the file that has been downloaded.
At the moment, I'm only looking at parsing the information (conecting the DDA will come later).
The file appears to be a continuous block of data recorded with a clock frequency of 0.01 second intervals.
On my DDA the data file appears to be as follows:
RPM - every 0.02 secs (16bits)
Throttle - every 0.05 secs (8bits)
Speed - every 0.10 secs (16bits)
Temperature - every 5.0 secs (8bits)
Distance - not investigated (16 or 32bits?).
Lap timing - not investigated
Header data - to be decoded
I deliberately made a small dumb file intitially to made the initial decoding easier to determine.
What I need help with is decoding the header file (specifically if the different bikes record different information) and if the clock frequency is included there.
Additionally bikes with traction control record more data (I believe).
What I'm looking for is a few more readings to compare before I write a specification for a parser.
If anybody can give a small file from thier DDA (i.e. 1 - 5 minutes of recording) and with the file please note the bike model, traction control settings (if fitted), odometer and trip meter readings at beginning of data file (please indicate units miles or km too). It would be appreciated.
Andrew...
PS I'm also happy to further discuss this with anyone who is interested in my studies.
As a Mac user I've always felt a bit left out, as I now have a bike with DDA, last night I finally made time and decided to look at the problem.
There are two problems, getting the data onto the Mac and then parsing the file that has been downloaded.
At the moment, I'm only looking at parsing the information (conecting the DDA will come later).
The file appears to be a continuous block of data recorded with a clock frequency of 0.01 second intervals.
On my DDA the data file appears to be as follows:
RPM - every 0.02 secs (16bits)
Throttle - every 0.05 secs (8bits)
Speed - every 0.10 secs (16bits)
Temperature - every 5.0 secs (8bits)
Distance - not investigated (16 or 32bits?).
Lap timing - not investigated
Header data - to be decoded
I deliberately made a small dumb file intitially to made the initial decoding easier to determine.
What I need help with is decoding the header file (specifically if the different bikes record different information) and if the clock frequency is included there.
Additionally bikes with traction control record more data (I believe).
What I'm looking for is a few more readings to compare before I write a specification for a parser.
If anybody can give a small file from thier DDA (i.e. 1 - 5 minutes of recording) and with the file please note the bike model, traction control settings (if fitted), odometer and trip meter readings at beginning of data file (please indicate units miles or km too). It would be appreciated.
Andrew...
PS I'm also happy to further discuss this with anyone who is interested in my studies.