- Messages
- 73
- Country

Hi guys!
I'm working on DC-9 panel for FS2004 as a practice for xml code learning.
Anyway I have created 3 new gauges which supposed to start APU-RPM sequence.
For that purpose I have created one non visible gauge which looks like this:
There I wanted to achieve that if all three variables (L:startpump,number L:cutof,number L:starterapu,number) are equal to 1 L:APURPM,number also equals to 1.
That code supposed to start needle rotation in next gauge which code looks like this:
The problem is that needles in second gauge are not rotating.
I just want someone to check those two codes for me please, and tell me what am I doing wrong here.
And here is one small present for U :
Hope some of you are going to help me since this is my first serious panel project and because I have already done a lot of hard work...
Thanks in advance
Rasha
I'm working on DC-9 panel for FS2004 as a practice for xml code learning.
Anyway I have created 3 new gauges which supposed to start APU-RPM sequence.
For that purpose I have created one non visible gauge which looks like this:
Code:
<Gauge Name="APU-RPM-CONNECTING" Version="1.0">
<Image Name="isklj.bmp"/>
<Value>
1 (>L:startpump,number);
1 (>L:cutof,number);
1 (>L:starterapu,number);
and
and
if{(L:APURPM,number) 1 >}
</Value>
</Gauge>
There I wanted to achieve that if all three variables (L:startpump,number L:cutof,number L:starterapu,number) are equal to 1 L:APURPM,number also equals to 1.
That code supposed to start needle rotation in next gauge which code looks like this:
Code:
<Gauge Name="ENG2-N1" Version="1.0">
<Image Name="N1-N2.bmp" Luminous="Yes"/>
<Element>
<Position X="37" Y="27"/>
<Image Name="N1-N2-MALA.bmp" Luminous="Yes" PointsTo="North">
<Axis X="2.5" Y="8"/>
</Image>
<Rotate>
<Value Minimum="0" Maximum="1">(L:APURPM,number) / </Value>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
</Failures>
<Nonlinearity>
<Item Value="0" Degrees="0"/>
<Item Value=".1" Degrees="-180"/>
<Item Value=".2" Degrees="0"/>
<Item Value=".3" Degrees="-180"/>
<Item Value=".4" Degrees="0"/>
<Item Value=".5" Degrees="-180"/>
<Item Value=".6" Degrees="0"/>
<Item Value=".7" Degrees="-180"/>
<Item Value=".8" Degrees="0"/>
<Item Value=".9" Degrees="-180"/>
<Item Value="1" Degrees="0"/>
</Nonlinearity>
<Delay DegreesPerSecond="130"/>
</Rotate>
</Element>
<Mouse>
<Tooltip>APU-RPM</Tooltip>
</Mouse>
<Element>
<Position X="51" Y="52"/>
<Image Name="N1-N2-VELIKA.bmp" Luminous="Yes" PointsTo="North">
<Axis X="10" Y="47"/>
</Image>
<Rotate>
<Value Minimum="0" Maximum="1">(L:APURPM,number) / </Value>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="52" Y="7"/>
<Item Value=".1" X="73" Y="13"/>
<Item Value=".2" X="88" Y="27"/>
<Item Value=".3" X="95" Y="46"/>
<Item Value=".4" X="94" Y="66"/>
<Item Value=".5" X="81" Y="82"/>
<Item Value=".6" X="63" Y="93"/>
<Item Value=".7" X="42" Y="94"/>
<Item Value=".8" X="23" Y="85"/>
<Item Value=".9" X="11" Y="69"/>
<Item Value="1" X="7" Y="50"/>
</Nonlinearity>
<Delay DegreesPerSecond="40"/>
</Rotate>
</Element>
<Mouse>
<Tooltip>APU-RPM</Tooltip>
</Mouse>
</Gauge>
The problem is that needles in second gauge are not rotating.
I just want someone to check those two codes for me please, and tell me what am I doing wrong here.
And here is one small present for U :
Hope some of you are going to help me since this is my first serious panel project and because I have already done a lot of hard work...
Thanks in advance
Rasha


