FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > SimConnect > SimConnect

SimConnect Use this forum for all your SimConnect related discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 02 Dec 2006, 07:34
pdgnr pdgnr is offline
  france
Join Date: Oct 2006
Posts: 20
Sending Metar to FSX

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
Reply With Quote
  #2  
Old 02 Dec 2006, 11:37
lc0277 lc0277 is offline
  france
Location: Paris, France
Join Date: Sep 2006
Posts: 156
Send a message via ICQ to lc0277 Send a message via AIM to lc0277 Send a message via MSN to lc0277 Send a message via Yahoo to lc0277
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
Reply With Quote
  #3  
Old 02 Dec 2006, 11:47
pdgnr pdgnr is offline
  france
Join Date: Oct 2006
Posts: 20
Hi lc0277,
thanks for the tip... I'll try ASAP !

Regards,

Robert
Reply With Quote
  #4  
Old 04 Dec 2006, 04:53
pdgnr pdgnr is offline
  france
Join Date: Oct 2006
Posts: 20
Shame on me!

That is written black on yellow in the SDK documentation!

Thanks once more lc0277, of course, that works!

Regards,

Robert
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:33.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.