No oil on dipstick

Post any technical issues here. This forum gets priority from our staff.
new reply
Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

No oil on dipstick

Post by Hook »

Ever go to check the oil in the Comanche and the there's no oil on the dipstick? This can be very disconcerting when you first see it. The Shift-4 menu shows oil, the dipstick comes out clean.

The culprit is these lines in the walkaround.xml file:

0 11 (L:E1OilColor,number) rng if{ 0x3f8290 }
12 22 (L:E1OilColor,number) rng if{ 0x037890 }
23 33 (L:E1OilColor,number) rng if{ 0x036a81 }
34 44 (L:E1OilColor,number) rng if{ 0x3e7682 }
45 56 (L:E1OilColor,number) rng if{ 0x336b78 }
57 67 (L:E1OilColor,number) rng if{ 0x27505c }
68 79 (L:E1OilColor,number) rng if{ 0x3c505e }
80 90 (L:E1OilColor,number) rng if{ 0x273038 }
91 100 (L:E1OilColor,number) rng if{ 0x0b0e12 }</MacroValue>

... and ...

<Visibility>0 33 (L:E1OilColor,number) rng</Visibility>
<Visibility>34 66 (L:E1OilColor,number) rng</Visibility>
<Visibility>67 100 (L:E1OilColor,number) rng</Visibility>

You can duplicate the problem by setting the following immediately above the top group of lines:

79.5 (&gt;L:E1OilColor,number)

To fix the problem, you need to round the numbers before checking the range:

0 11 (L:E1OilColor,number) near rng if{ 0x3f8290 }
12 22 (L:E1OilColor,number) near rng if{ 0x037890 }
23 33 (L:E1OilColor,number) near rng if{ 0x036a81 }
34 44 (L:E1OilColor,number) near rng if{ 0x3e7682 }
45 56 (L:E1OilColor,number) near rng if{ 0x336b78 }
57 67 (L:E1OilColor,number) near rng if{ 0x27505c }
68 79 (L:E1OilColor,number) near rng if{ 0x3c505e }
80 90 (L:E1OilColor,number) near rng if{ 0x273038 }
91 100 (L:E1OilColor,number) near rng if{ 0x0b0e12 }</MacroValue>

... and ...

<Visibility>0 33 (L:E1OilColor,number) near rng</Visibility>
<Visibility>34 66 (L:E1OilColor,number) near rng</Visibility>
<Visibility>67 100 (L:E1OilColor,number) near rng</Visibility>

Test again with 79.5 to see the effect.

Hook

new reply

Return to “Piper Comanche 250 Tech Support”

Who is online

Users browsing this forum: No registered users and 15 guests