- Messages
- 205
- Country

Hi all,
This is my first post to this forum. I'm working on a Citation XLS panel for the aryusworks aircraft and I'm suddenly stuck to a very stupid issue.
I'm trying to change the bleed air source from "engine" to "apu" using the keyevent "K:BLEED_AIR_SOURCE_CONTROL_SET" , but for some reason it wont change the source and (A:BLEED AIR SOURCE CONTROL,enum) remains 0.
this is the code I use:
Just for sake of testing I try to use the BLEED_AIR_SOURCE_CONTROL_INC event and that one works but because the XLS uses a flip switch I cannot use that event(see attached image).
Can somebody tell me what I'm missing or be doing wrong?
thanks.
Adino
This is my first post to this forum. I'm working on a Citation XLS panel for the aryusworks aircraft and I'm suddenly stuck to a very stupid issue.
I'm trying to change the bleed air source from "engine" to "apu" using the keyevent "K:BLEED_AIR_SOURCE_CONTROL_SET" , but for some reason it wont change the source and (A:BLEED AIR SOURCE CONTROL,enum) remains 0.
this is the code I use:
Code:
<Gauge Name="APU BLEED AIR valve Switch" Version="1.0">
(* 0=OFF 1=AUTO 2=APU 3=ENGINES *)
<Update>
(L:APU_BL_SW, bool) 1 == (A:BLEED AIR SOURCE CONTROL,enum) 0 == and if{ 2 (>K:BLEED_AIR_SOURCE_CONTROL_SET) }
(L:APU_BL_SW, bool) 0 == if{ 3 (>K:BLEED_AIR_SOURCE_CONTROL_SET) }
</Update>
<Element>
<Select>
<Value>(L:APU_BL_SW, bool)</Value>
<Case Value="0">
<Image Name="W_SW_DN.bmp"/>
</Case>
<Case Value="1">
<Image Name="W_SW_UP.bmp"/>
</Case>
</Select>
</Element>
<Mouse>
<Cursor Type="Hand"/>
<Click>
(L:APU_BL_SW, bool) ! (>L:APU_BL_SW, bool)
</Click>
</Mouse>
</Gauge>
Just for sake of testing I try to use the BLEED_AIR_SOURCE_CONTROL_INC event and that one works but because the XLS uses a flip switch I cannot use that event(see attached image).
Can somebody tell me what I'm missing or be doing wrong?
thanks.
Adino

