Results 1 to 5 of 5
  1. #1
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Mar 2014
    Location
    Netherlands
    Posts
    8
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Below glideslope extraction?

    Where can i find the extraction for the "Below Glideslope" amber indicator light?

  2. #2
    300+ Forum Addict Avro748's Avatar
    Join Date
    Dec 2012
    Location
    At the Controls
    Posts
    359
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Below glideslope extraction?

    The light itself doesn't have an offset, rather it is triggered by other conditions being met. Your options are either to figure out these conditions and their offsets, or if the light is an XML gauge, write its state to an empty offset and use that.

  3. #3
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Mar 2014
    Location
    Netherlands
    Posts
    8
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Below glideslope extraction?

    Quote Originally Posted by Avro748 View Post
    The light itself doesn't have an offset, rather it is triggered by other conditions being met. Your options are either to figure out these conditions and their offsets, or if the light is an XML gauge, write its state to an empty offset and use that.
    Thanks Avro748. I found the following thread: http://www.cockpitbuilders.com/commu...p?topic=4011.0 I am not famiiair with sioc but wil experiment.

  4. #4
    New Member
    Join Date
    Sep 2015
    Location
    Brisbane
    Posts
    4
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Below glideslope extraction?

    Disclaimer: I don't know if this works.. but Simconnect has variable NAV GLIDE SLOPE ERROR:index where index is Nav radio (1 for example).

    So if you coded above variable is "> -2 "(for 2 deg below G/S deviation i guess) then I assume it would work but haven't tried it personally.

    Note: Variable is difference between current position and glideslope angle. This provides 32 bit floating point precision, rather than the 8 bit integer precision of NAV GSI. Variable is in degrees so that is why I suggested -2 but could be -.5 or whatever accuracy you want. Trial and error I reckon.
    Cheers

  5. #5
    150+ Forum Groupie BuzziBi's Avatar
    Join Date
    Mar 2013
    Location
    Norway
    Posts
    275
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Below glideslope extraction?

    check the "SimConnect Extractions(1) tab.
    =x
    This will give you the HSI GSI needle position.

    Above void setup:
    int GSIneedlei;
    String GSIneedle;

    Below:
    code:
    Code:
    void EQUALS(){      // The first identifier was "="       
    CodeIn = getChar(); // Get another character
      switch(CodeIn) {// Now lets find what to do with it
    
        case 'x'://Found the second identifier
           GSIneedle = "";
           GSIneedle += getChar();
           GSIneedle += getChar();
           GSIneedle += getChar();
           GSIneedle += getChar();
           GSIneedlei = GSIneedle.toInt();
           Serial.println(GSIneedlei);
        break;
    
    
         }
    }
    You will get this values:
    -119
    -114
    -103
    -88
    -74
    -62
    -48
    -36
    -22
    -7
    7
    19
    33
    47
    57
    74
    88
    100
    114
    119
    Use them to blink lights etc.
    Life was hard, but then came Windows 7.
    Now we can fly! --------
    --------