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"><Current Lap Time></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"><Fastest Lap Time></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"><Fast Lap, Same Pos - Time Diff></Input>
</Inputs>
</DynamicText>
</Components>
<Inputs>
<Input name="Value"><Current Lap #></Input>
</Inputs>
</DynamicText>
</Components>
<Inputs>
<Input type="MPH">MPH</Input>
<Input type="LapNumber"><Current Lap #></Input>
<Input type="LapTime"><Current Lap Time></Input>
<Input type="FastestLapTime"><Fastest Lap Time></Input>
<Input type="FastLapSamePosTimeDiff"><Fast Lap, Same Pos - Time Diff></Input>
</Inputs>
</Gauge>
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"><Current Lap Time></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"><Fastest Lap Time></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"><Fast Lap, Same Pos - Time Diff></Input>
</Inputs>
</DynamicText>
</Components>
<Inputs>
<Input name="Value"><Current Lap #></Input>
</Inputs>
</DynamicText>
</Components>
<Inputs>
<Input type="MPH">MPH</Input>
<Input type="LapNumber"><Current Lap #></Input>
<Input type="LapTime"><Current Lap Time></Input>
<Input type="FastestLapTime"><Fastest Lap Time></Input>
<Input type="FastLapSamePosTimeDiff"><Fast Lap, Same Pos - Time Diff></Input>
</Inputs>
</Gauge>