 |
TrackVision.net Data Visualization for Motorsports
|
| View previous topic :: View next topic |
| Author |
Message |
pholst
Joined: 19 Aug 2007 Posts: 1
|
Posted: Sun Aug 19, 2007 6:49 pm Post subject: newbie problems |
|
|
I'm having trouble getting video and data reasonably sync'd. It looks like the data is running at a much higher rate. I can easily find a good start point in the Excel file - pulling away from false-grid. When I find a similar place viewing the data in TV it is not reasonable - up to 100 mph on the warm-up lap, very rapid changes in speed and rpm, inconsistent audio and data (consistent engine speed, large displayed changes in rpm). Also, the data file is over 26000 lines, but the TV Data Logger Input screen shows only 529.5 sec of data - 5295 lines worth at the 0.1 s resolution of my data.
Also, the raw data shows a reasonable line by line acceleration (1, 4, 6, 7, 8 mph), but when I increment the data in TV at 0.1s it goes from 0 to 9, or 1 to 9 mph.
Is there some set-up thing that I have missed?
Also, why doesn't TV display zero speed (only displays non-zero speeds, if speed is zero the speed is blank)?
BTW - I captured the video and data before I bought the software - next time I'll try to make some better synchronization cues. But seems to me that the start of the warm-up lap ought to be a pretty good approach.
Thanks for any help - Peter |
|
| Back to top |
|
 |
kduval

Joined: 31 May 2007 Posts: 71 Location: Cumming,Ga
|
Posted: Mon Aug 20, 2007 8:36 pm Post subject: |
|
|
Follow the instructions the guys posted for exporting the data.
Then go into the loggers folder and find the file for your logger.
Edit this line : sample_interval = 20;
Play with a few different numbers as this will affect the time in the trackvision window. Adjust until the time for the video in seconds is close to the time in seconds for the data.
Also if it goes out of sync later in the video it is usually the result of dropped frames in the video. _________________ WERA Expert #630 |
|
| Back to top |
|
 |
RacerRob
Joined: 26 Sep 2009 Posts: 4
|
Posted: Sat Sep 26, 2009 7:57 am Post subject: |
|
|
I am having the same problem. I have an Mychron3 XG. My data is exported to excel at 20 samples per second, and the Trackvision software will not synch. Looks like TrackVision is looking for 50 samples for second.
I read this post and hoped it would be an easy fix but I can't figure out where to change the sample rate. Is it within TrackVision or the AIM software. Can't find the fie in eather place.
I am using the free version right now until I determine if the TrackVision software will be easy enough to use or if I will go to an all-in-one system. I would prefer the TrackVision due to the price but so far can't get data and video to synch.
Any help is appreciated.
Rob _________________ Van Diemen Formula Continental,
ITS Mazda Miata 1999 |
|
| Back to top |
|
 |
Tony K

Joined: 15 Nov 2004 Posts: 1536 Location: McLean, VA
|
Posted: Sat Sep 26, 2009 2:35 pm Post subject: |
|
|
OK guys, here's the info you need:
Background: Its impossible to predict the format of AiM data. The channel names can be whatever the installer decides to use, and the sample rate varies based on the sensor types installed. Basically, AiM is the only logger vendor that we have this trouble with, but that's beside the point. We just luuuve Italian software, OK?
Solutions: Firstly, once TrackVision is set up for your particular AiM logger configuration, its good to go. The only time you would need to do this again is if you change the logger configuration, add channels etc.
1. Email a sample .drk file to support@TrackVision.net and I'll send you back a custom logger file that matches your data. Easy peasy.
2. You can edit the generic AiM Race Studio logger support file to adjust the sample rate setting. Note that ALL this will do is get your data reading at the correct rate. The channel names may still be a problem if they are not exactly what the generic AiM Race Studio generic support uses.
Here's how:
- Open your test file in Race Studio. Click File/Data Export in Excel
- Look for Frequency [Saved at XXHz] on teh right side of the Export dialog. This is the sample rate that Race Studio is exporting. Remember that, and quit Race Studio.
- Start Notepad, click File/Open, and navigate to the folder below
For VISTA - C:\Program Data\Apex Visualizations\TrackVision\loggers
For XP - C:\Documents and Settings\All Users\Application Data\Apex Visualizations\TrackVision\loggers
[If you do not see the Program Data/Application Data folder, click Folder Options/View/ and check the box for Show Hidden Files and Folders]
- Open the file AiMRaceStudioV2_30_12_XLS_generic.properties
- In the first section of the file, you'll see this:
logger {
name = "AiM Race Studio V2.30.12XLS-Generic";
description = "Logger properties for AiM Race Studio V2.30.12 XLS Export ";
library_path = "generic.dll";
field_name_record = 1;
first_data_record = 2;
tab_separated = 1;
generate_sample_time = 1;
sample_interval = 100;
}
- The sample_interval value is the time in milliseconds between samples. 100 = 10Hz or 10 samples/second/
- Change the value to match the sample rate of your csv, eg for 20Hz change the value to 50 [msec].
IMPORTANT: Change the file name so that your custom file does not get overwritten by an upgrade!!
- Change name = "AiM Race Studio V2.30.12XLS-Generic";
to something like name = "AiM Race Studio V2.30.12XLS-MyName";
- Click Save As, and save the file as AiMRaceStudioV2_30_12_XLS_MyName.properties
- Restart TrackVision. Your data will now read at the correct rate.
If you are feeling adventurous, you can check that the channel names match your data too. Heres' how:
- Open the file again in Notepad, and also open csv exported from Race Studio.
- In the logger file, you'll see the channel mapping section. Its pretty simple
field_mapping {
lap = 1;
laptime = "Time (s)";
rpm = "Engine [rpm]";
speed_mph = "Speed_1 [mph]";
speed_kph = "Speed_1 [km/h]";
throttle_position = "TPS [%]";
oil_Pressure = "Oil Pressure [psi]";
coolant_temp = "Water Temp [°F]";
lateral_acceleration = "Acc_1 [g]";
gear = "Calculated_Gea [#]";
brake = "Brake Switch [on/off]";
}
The names on the left are the TrackVision channel names.
The names on the right, in " " quotes are the Race Studio channel names TrackVision is looking for. These are the 'typical, channel names that Race Studio uses, but yours may be different.
If, for example, your throttle position channel was named Throttle% in the csv, all you need to do is to change that channel name in the TrackVison logger file:
field_mapping {
lap = 1;
laptime = "Time (s)";
rpm = "Engine [rpm]";
speed_mph = "Speed_1 [mph]";
speed_kph = "Speed_1 [km/h]";
throttle_position = "Throttle%";
oil_Pressure = "Oil Pressure [psi]";
coolant_temp = "Water Temp [°F]";
lateral_acceleration = "Acc_1 [g]";
gear = "Calculated_Gea [#]";
brake = "Brake Switch [on/off]";
}
Click Save, and you're done. You need to restart TracKVision to load your edited logger file every time you make a change like this.
Hope this helps. If fiddling with this stuff doesn't sound like fun to you, just email you drk file to me and we'll do it for you. _________________ Tony Kelly
TrackVision
944SuperCup Series |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|