SlotForum banner

MPH/KPH,FPS Persistence

811 Views 6 Replies 3 Participants Last post by  Slot'n 77
Hi Dave,

I know you're stacked and you've addressed this issue before and will hopefully resolve in RC 2.0. However, I've been beating my head against the wall trying to get a custom XAML file for supporting Indy-style qualifying. SlotTrak does a pretty good job of showing Fastest Lap with MPH/KPH so I'm trying to duplicate that in RC but because speed is not stored in the database and instead is computed on the fly, it is going to require some serious coding to get it to work...if it can be done in XAML at all.

I know you're supposed to be able to Bind to data with XAML and also declare/set a Resource for use elsewhere. But I have no idea how to do this or even if it's possible given that MPH is not a normal data object.

I'd love to have MPH display with not only the current lap but also the best lap or any lap for that matter. Would it really require a lot of work to make it a stored RC data object? If so, then my question is, is it possible to somehow set a data binding or resource reference in XAML and use it that way? I think I could figure that one out but I don't want to go through all the research and troubleshooting if it's not really possible due to the way the MPH data object is generated and/or presented to XAML.

Another question is, I can get MPH/KPH to display next to a Best Lap, for example, but it obviously goes away or changes on the next lap. Does anybody out there know how to make it persistent just using XAML code? If so, it would mean that we could do this with other similar data objects and not have to ask Dave to change the RC code.
1 - 7 of 7 Posts
Part if the problem with any altereration or extras is just how many people would like or use it.
You should ask if any one and how many people would use it.
For now I would just export the results and use Excel to calculate the speed from the times.
FYI, unless I am misunderstanding MPH/KPH or even Feet per Second can be displayed on the race day screen. However it can only be displayed for last lap time. The only catch is that you have to set the length of each lane (in feet) in the track configuration.

Drag Race Coordinator (currently in an early alpha stage) is essentially a prototype for RC 2.0 and it allows any time to be displayed as speed.

-Dave
FYI, I'm not sure if you can do math in XAML, but even if you could sadly RC provides all those time values as strings so it would not be easy. It's fairly easy for me to do things like best lap as speed, but where does it end? There's a TON of time displays that could be done as speeds... and even a small change requires a new release which is a fairly big ordeal for me time wise...
FYI, unless I am misunderstanding MPH/KPH or even Feet per Second can be displayed on the race day screen. However it can only be displayed for last lap time. The only catch is that you have to set the length of each lane (in feet) in the track configuration.

Drag Race Coordinator (currently in an early alpha stage) is essentially a prototype for RC 2.0 and it allows any time to be displayed as speed.

-Dave
Part if the problem with any altereration or extras is just how many people would like or use it.
You should ask if any one and how many people would use it.
For now I would just export the results and use Excel to calculate the speed from the times.
Thanks guys! Yea, not sure how many folks are interested in Speed. I'm sure anybody running qualifying as part of their race format would be very interested. SlotTrak supports speed on a number of levels and most of the guys I race with that have SlotTrak use it. The Fray also uses it in their qualifying sessions.

So, Dave, if it's fairly easy to do speed along side of Best Lap Time, we're almost there. Right now I just want to be able to show MPH/KPH/FPS with the Best Lap for Practice/Testing and Qualifying. Most people aren't interested in speed for much else. I'm just trying to emulate the popular competing timing systems as much as possible. If the Leader Board, for example, could show the highest-ranked driver's Best Lap Time and Speed, I think that would do the trick for my purposes.

While SlotTrak seems to be able to display speed for any driver's lap, it's not clear whether or not this data is saved to the database for other use but sure looks like it.
The MPH is available in RC,you just need to build your custom UI Race Day screen.
I you look at the "Kitchen Sink" file included with RC you can use that as a good starting point just edit it to provide what you want.
  • Like
Reactions: 1
The MPH is available in RC,you just need to build your custom UI Race Day screen.
I you look at the "Kitchen Sink" file included with RC you can use that as a good starting point just edit it to provide what you want.
Yes, thanks. I am using that feature now. We're talking about being able to display speed for Best Lap or any lap for that matter. Dave believe's it can be done for Best Lap. If so, that is great. Ideally, what I'm looking for is to be able to show the Leader Board with not only the Score but also the Best Lap Time and Speed.
1 - 7 of 7 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top