1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sending Metar to FSX

Discussion in 'SimConnect' started by pdgnr, 2/12/06.

  1. pdgnr

    pdgnr

    Joined:
    28/10/06
    Messages:
    20
    Country:
    france
    Hi all,
    has some one tried (and succeeeded) in sendeing metar to FSX for update the weather ?

    I' am stuck by an "invalid metar" exception with any kind of metar I try to use with SimConnect_WeatherSetObservation , even when getting the metar from FSX, and sending it back to fsx without changing anything, or when using one of the examples of metar given in the SDK ... As I can see in the SimConnect Diagnostic Window, the metar is correct when passed.

    Any idea (very) wellcome... thanks

    Regards,

    Robert
  2. lc0277

    lc0277

    Joined:
    25/9/06
    Messages:
    156
    Country:
    france
    I have the same problem when I send back the observed METAR. However if I remove the altitude extension (after the ICAO code, a FS extension), ie LFXA&A251 021623Z ... -> LFXA 021623Z ... it works well.
    But if you cannot set even the simplest metar like "ICAO 010203Z NIL" that's another problem
  3. pdgnr

    pdgnr

    Joined:
    28/10/06
    Messages:
    20
    Country:
    france
    Hi lc0277,
    thanks for the tip... I'll try ASAP :stirthepo !

    Regards,

    Robert
  4. pdgnr

    pdgnr

    Joined:
    28/10/06
    Messages:
    20
    Country:
    france
    Shame on me!:eek:

    That is written black on yellow in the SDK documentation!

    Thanks once more lc0277, of course, that works!:greenflag

    Regards,

    Robert

Share This Page