- Messages
- 1,468
- Country

I'm having a niggling problem which I don't quite understand. That is with the needle deflection of a gauge. (L:WINHEAT,number) is either 0,1 or 2 and on its own all the deflections are correct but when I add (L:BUS_SWITCH,number) (P:local time, seconds) I never get the deflection requested by <Item Value="2". Instead It deflects to <Item Value="1". The reason for (L:BUS_SWITCH,number) (P:local time, seconds) is to momentarily set the gauge to zero which it does do perfectly. Can someone explain why the needle doesn't fully deflect to <Item Value="2" and how it should be coded correctly so that it can.
Many Thanks
vololiberista
btw none of the icons are functioning in my new thread composition box. I'm using firefox 9 So contructed the code tags on my keyboard.
Many Thanks
vololiberista
btw none of the icons are functioning in my new thread composition box. I'm using firefox 9 So contructed the code tags on my keyboard.
Code:
This sets up the time delay
<Click>(G:Var1) 0 != if{ 0 (>G:Var1) 1 (>L:Sound_button,enum) 1 (>L:ground2,enum) 0 (>L:flight,enum) (P:local time, seconds) 0.14 + (>L:BUS_SWITCH,number) } els{ 1 (>G:Var1) 1 (>L:Sound_button,enum) 1 (>L:flight,enum) 0 (>L:ground2,enum) (P:local time, seconds) 0.14 + (>L:BUS_SWITCH,number) }</Click>
Code:
<Value>(L:WINHEAT,number) if{ (L:BUS_SWITCH,number) (P:local time, seconds) > }</Value>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
<SYSTEM_ELECTRICAL Action="0"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="11" Y="15"/>
<Item Value="1" X="25" Y="9"/>
<Item Value="2" X="38" Y="15"/>
</Nonlinearity>

