Results 1 to 5 of 5

Thread: Apu fire bottle

  1. #1
    25+ Posting Member
    Join Date
    Nov 2010
    Location
    Perth
    Posts
    48
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Apu fire bottle

    Hi Kiek,


    Can you please check the apu fire bottle value, I am getting a 1 or 0. The apu fire bottle annunciator is not like the other engine bottle discharge lights which I have programmed as a testbit.

    many thanks,

    Blake

  2. #2
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Apu fire bottle

    Hi Blake,
    What Qcode var are you referring too? What is your problem?
    Nico

  3. #3
    25+ Posting Member
    Join Date
    Nov 2010
    Location
    Perth
    Posts
    48
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Apu fire bottle

    Variable is - Qi64 , ApuBtlLt , 2064, , b 14 15 16
    Problem is - previous post (cant use as a testbit) only value comes out is 1 or 0.

  4. #4
    25+ Posting Member
    Join Date
    Nov 2010
    Location
    Perth
    Posts
    48
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Apu fire bottle

    Let me do some more testing might be ok.

  5. #5
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Apu fire bottle

    The only difference with other indicatorlights is where it got its powerfrom.
    See this part of my C++ code:

    [CODE]
    ii_IndicatorLightNotIntegrated(Qcode::Qi52, "EngBtl1aLt"s, Qcode::dimRelayK2a); // RR
    ii_IndicatorLightNotIntegrated(Qcode::Qi53, "EngBtl1bLt"s, Qcode::dimRelayK2a); // RR
    ii_IndicatorLightNotIntegrated(Qcode::Qi54, "EngBtl2aLt"s, Qcode::dimRelayK2a); // RR
    ii_IndicatorLightNotIntegrated(Qcode::Qi55, "EngBtl2bLt"s, Qcode::dimRelayK2a); // RR
    ii_IndicatorLightNotIntegrated(Qcode::Qi56, "EngBtl3aLt"s, Qcode::dimRelayK2a); // RR
    ii_IndicatorLightNotIntegrated(Qcode::Qi57, "EngBtl3bLt"s, Qcode::dimRelayK2a); // RR
    ii_IndicatorLightNotIntegrated(Qcode::Qi58, "EngBtl4aLt"s, Qcode::dimRelayK2a); // RR
    ii_IndicatorLightNotIntegrated(Qcode::Qi59, "EngBtl4bLt"s, Qcode::dimRelayK2a); // RR
    ii_IndicatorLightNotIntegrated(Qcode::Qi60, "WingBtlLaLt"s, Qcode::dimRelayK2a); // GE or PW
    ii_IndicatorLightNotIntegrated(Qcode::Qi61, "WingBtlLbLt"s, Qcode::dimRelayK2a); // GE or PW
    ii_IndicatorLightNotIntegrated(Qcode::Qi62, "WingBtlRaLt"s, Qcode::dimRelayK2a); // GE or PW
    ii_IndicatorLightNotIntegrated(Qcode::Qi63, "WingBtlRbLt"s, Qcode::dimRelayK2a); // GE or PW
    ii_IndicatorLightNotIntegrated(Qcode::Qi64, "ApuBtlLt"s, Qcode::dimRelayK4b);
    [\CODE]

    b14 is first bulb, bit 15 is second bulb, bit16 is both bulbs "or-red". You should be able to use a testbit function...

    Nico