- Messages
- 1,468
- Country

If I can crack this last problem then I'll be able to concentrate on writing up the manuel for a new cockpit.
Below is the code for an oxygen flow indicator. What I would like to be able to do is to add a test facility. That is to click on a switch and that to trigger the flow meter into action. It would I assume be an L:var function and and OR function but I'm not sure how to do it.
vololiberista
Below is the code for an oxygen flow indicator. What I would like to be able to do is to add a test facility. That is to click on a switch and that to trigger the flow meter into action. It would I assume be an L:var function and and OR function but I'm not sure how to do it.
vololiberista
Code:
<Gauge Name="Oxygen Flow Indicator" Version="1.0">
<Image Name="oxy_flow_indicator_bg3.bmp"/>
<Element>
<Position X="15" Y="43"/>
<Image Name="oxy_flow_indicator3.bmp"/>
<Shift>
<Value>(A:Fuel total quantity,gallons) 0 > if{ (A:Indicated Altitude,feet) 5000 > if{ (P:Local time,seconds) 2 % } } </Value>
<Nonlinearity>
<Item Value="0" X="15" Y="63"/>
<Item Value="1" X="15" Y="47"/>
<Item Value="2" X="15" Y="63"/>
</Nonlinearity>
</Shift>
</Element>
<Element>
<Position X="0" Y="58"/>
<Image Name="oxy_flow_indicator_cover3.bmp"/>
</Element>
<Mouse>
<Tooltip ID="">Oxygen Flow Indicator</Tooltip>
</Mouse>
</Gauge>




, so look out for that.