PDA

View Full Version : Arch Bar Creation


rlara
11-07-2009, 03:49 PM
I was wondering if anybody has modified the ‘Logger Dash’ gauge for increased RPM? Specifically the animated arch bar. I wanted to use something like that will go up to 20,000 rpm for my kart. I’m not a programmer and tried modifying the existing gauge but have just been frustrated trying to change the bar to my specs and get the bars to arch correctly. I was wondering if anybody had successfully tried to increase the RPM range.

nickpoore
11-07-2009, 09:41 PM
Easy enough...

I have attached a ZIP file, that contains a single file called GAUGE.XML.
This file should be copied to the folder that contains a copy of the LOGGER dash.
(eg : C:\ProgramData\ChaseCam\DashWare\Gauges\LoggerDash 20K)

ALL of the programming is done in the 2nd line of the gauge.
They are using a "Non-Linear-Animate-Arc" to display the graph.

I changed the RANGE SETTINGS to go to a Maximum of 20K.

I changed the STEPS setting to be:
10000, -152
12000, -138
14000, -120
16000, -100
18000, -77

The minimum of 0, and maximum of 20K were set in the RANGE settings above.

What this will do is make the gauge do:
0 -10K, in the 1st bar (solid)
10K-12K, in the 2nd bar (dashed)
12K-14K
14K-16K
16K-18K
18K-20K, in the last bar (dashed).

Note that they CHEAT with making the graph dashed.
The 1st line of the Gauge draws a solid blue background.
The 3rd line of the gauge draws a new blue background, with transparant slots in it where the dark part of the gauge will fill in.
As the gauge on line2 draws, it is "masked" by the holes in line 3, giving a dashed appearance.

Having made the changes to the scale, then next SEVEN lines of TEXT contain the text for the numbers in the gauge.

Honestly, this was harder to explain, than it was to do.

Changes you might like to make.

I really made the gauge display 10K-20K, as it has 5 'segments', so this was easy math.

If your kart runs a different running "range", let me know and I'll make it happen.


Nick.

rlara
11-15-2009, 11:35 AM
Thanks Nick. I'll pull the file down and give it a try later this week.