PDA

View Full Version : attempt at modifying scooby dash


sickmint79
06-09-2009, 12:40 PM
i removed some things, and tried to add in some lap data;

current lap num
current lap time
fast lap time
time off from fastest

below is the xml. something must be off; i created and saved the cluster from dashware, but it doesn't show in my gauge toolbox upon refresh or reload.

<Gauge version="1" x="0" y="0" readOnly="False" width="483" height="211" thumbnailBackgroundTransparency="1" thumbnailBackgroundRed="135" thumbnailBackgroundGreen="206" thumbnailBackgroundBlue="235">
<Components>
<Image x="0" y="0" transparency="0.8" src="Subaru-WRX-gauges.png" width="480" height="207">
<Components>
<ImageNeedle x="243" y="87" transparency="0.9" width="23" height="96" src="Subaru-WRX-speed-needle.png" axisX="11" axisY="16" syncValueRangeWithParent="False" syncAngleRangeWithParent="False" minValue="7" maxValue="140" minAngle="55" maxAngle="305">
<Inputs>
<Input name="Value">MPH</Input>
</Inputs>
</ImageNeedle>
</Components>
</Image>
<DynamicText x="23" y="155" displayType="Integer" decimalPrecision="2" restrictRange="False" restrictedMinValue="-1.79769313486232E+308" restrictedMaxValue="1.79769313486232E+308" fontRectWidth="100" fontRectHeight="20" fontFace="Arial" fontSize="11" fontBold="False" fontItalic="False" fontUnderline="False" fontDirection="horizontal" fontAlign="left" fontVAlign="top" fontTransparency="1" fontRed="255" fontGreen="255" fontBlue="255">
<Components>
<DynamicText x="15" y="0" displayType="Time" decimalPrecision="2" restrictRange="False" restrictedMinValue="-1.79769313486232E+308" restrictedMaxValue="1.79769313486232E+308" fontRectWidth="70" fontRectHeight="20" fontFace="Arial" fontSize="11" fontBold="False" fontItalic="False" fontUnderline="False" fontDirection="horizontal" fontAlign="left" fontVAlign="top" fontTransparency="1" fontRed="255" fontGreen="255" fontBlue="255">
<Inputs>
<Input name="Value">&lt;Current Lap Time&gt;</Input>
</Inputs>
</DynamicText>
<DynamicText x="15" y="16" displayType="Time" decimalPrecision="2" restrictRange="False" restrictedMinValue="-1.79769313486232E+308" restrictedMaxValue="1.79769313486232E+308" fontRectWidth="70" fontRectHeight="20" fontFace="Arial" fontSize="11" fontBold="False" fontItalic="False" fontUnderline="False" fontDirection="horizontal" fontAlign="left" fontVAlign="top" fontTransparency="1" fontRed="255" fontGreen="255" fontBlue="255">
<Inputs>
<Input name="Value">&lt;Fastest Lap Time&gt;</Input>
</Inputs>
</DynamicText>
<DynamicText x="70" y="16" displayType="Decimal" decimalPrecision="2" restrictRange="False" restrictedMinValue="-1.79769313486232E+308" restrictedMaxValue="1.79769313486232E+308" fontRectWidth="40" fontRectHeight="20" fontFace="Arial" fontSize="11" fontBold="False" fontItalic="False" fontUnderline="False" fontDirection="horizontal" fontAlign="left" fontVAlign="top" fontTransparency="1" fontRed="255" fontGreen="255" fontBlue="255">
<Inputs>
<Input name="Value">&lt;Fast Lap, Same Pos - Time Diff&gt;</Input>
</Inputs>
</DynamicText>
</Components>
<Inputs>
<Input name="Value">&lt;Current Lap #&gt;</Input>
</Inputs>
</DynamicText>
</Components>
<Inputs>
<Input type="MPH">MPH</Input>
<Input type="LapNumber">&lt;Current Lap #&gt;</Input>
<Input type="LapTime">&lt;Current Lap Time&gt;</Input>
<Input type="FastestLapTime">&lt;Fastest Lap Time&gt;</Input>
<Input type="FastLapSamePosTimeDiff">&lt;Fast Lap, Same Pos - Time Diff&gt;</Input>
</Inputs>
</Gauge>

RandallNoll
06-09-2009, 06:25 PM
When you went to edit the gauge, did you edit the one in your project or the one in your Gauge Toolbox? If it was the project one, then it should be saved in the project, and you can copy it to the toolbox via the Project tab, using the P=> button above the list of gauges.

Hope this helps!

sickmint79
06-10-2009, 02:40 PM
i believe the gauge toolbox. currently the gauge is in the directory with all of the others. i can't p=> it over though, since it does now show up in my gauge toolbox, which leads me to believe that something in the xml is confusing dashware. i didn't edit the xml by hand or anything though, it was created solely from dashware.