euroastar350
Resource contributor
- Messages
- 863
- Country

Hi guys,
I'm having issues with my 2 attitude indicators and I'm hoping to solve the problem. My Bell 222 has 2 indicators, one primary and one standby indicator. Problem is, the standby unit is powered up with an overhead switch before it can uncaged....but at the same time, uncaging the standby unit will also affect the primary unit which doesn't have an cage button.
This is the code for the primary unit:
This is the code for the standby unit:
And these are the codes for the cage button and power switch:
Any help is greatly appreciated
I'm having issues with my 2 attitude indicators and I'm hoping to solve the problem. My Bell 222 has 2 indicators, one primary and one standby indicator. Problem is, the standby unit is powered up with an overhead switch before it can uncaged....but at the same time, uncaging the standby unit will also affect the primary unit which doesn't have an cage button.
This is the code for the primary unit:
Code:
<PartInfo>
<Name>B222_attitude_bank_02</Name>
<AnimLength>360</AnimLength>
<Animation>
<Parameter>
<Code>
(A:ATTITUDE INDICATOR BANK DEGREES, degrees) dnor }
</Code>
</Parameter>
</Animation>
</PartInfo>
<PartInfo>
<Name>B222_attitude_pitch_02</Name>
<AnimLength>52</AnimLength>
<Animation>
<Parameter>
<Code>
(A:ATTITUDE INDICATOR PITCH DEGREES, degrees) 26 min -26 max 26 + }
</Code>
</Parameter>
</Animation>
</PartInfo>
This is the code for the standby unit:
Code:
<PartInfo>
<Name>B222_attitude_bank_01</Name>
<AnimLength>360</AnimLength>
<Animation>
<Parameter>
<Code>
(A:ATTITUDE CAGE,bool) 1 <
if{ (A:ATTITUDE INDICATOR BANK DEGREES:2, degrees) dnor }
</Code>
</Parameter>
</Animation>
</PartInfo>
<PartInfo>
<Name>B222_attitude_pitch_01</Name>
<AnimLength>52</AnimLength>
<Animation>
<Parameter>
<Code>
(A:ATTITUDE CAGE,bool) 1 <
if{ (A:ATTITUDE INDICATOR PITCH DEGREES:2, degrees) 26 min -26 max 26 + }
</Code>
</Parameter>
</Animation>
</PartInfo>
And these are the codes for the cage button and power switch:
Code:
<PartInfo>
<Name>B222_knob_stby_att</Name>
<AnimLength>20</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>ATTITUDE CAGE</Variable>
<Units>bool</Units>
<Scale>20</Scale>
</Sim>
<Lag>100</Lag>
</Parameter>
</Animation>
<MouseRect>
<TooltipID>TOOLTIPTEXT_ATTITUDE_GYRO_CAGE</TooltipID>
<Cursor>Hand</Cursor>
<CallbackCode>
(>K:ATTITUDE_CAGE_BUTTON)
</CallbackCode>
</MouseRect>
</PartInfo>
<PartInfo>
<Name>B222_switch_stbatt</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Code>
(L:B222_switch_stbatt, enum) 50 *
</Code>
<Lag>300</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>Standby Attitude</TooltipText>
<CallbackCode>
1 (>K:ATTITUDE_CAGE_BUTTON) (L:B222_switch_mastbatt, enum) 1 == if{ (L:B222_switch_stbatt, enum) ! (>L:B222_switch_stbatt, enum)
1 (>L:B222_switch_01, number)
</CallbackCode>
</MouseRect>
</PartInfo>
Any help is greatly appreciated



Working 6 days, 10-12 each day does really take a toll on me that sometimes I forget what I am doing when I am modeling
