Jump to content
The simFlight Network Forums

Get Airport weather(fs9)


Recommended Posts

Hi,

I can't get airport weather (wind speed etc..) with using offset CC08

My code...


Dim wxicao As Offset(Of String) = New Offset(Of String)(&HCC08, 5)
Dim wxwindkt As Offset(Of Short) = New Offset(Of Short)(&HCCFE)

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        wxicao.Value = textbox1.text     'ex)RJTT


        FSUIPCConnection.Process()

        TextBox2.Text = wxwindkt.Value
End Sub

How can I get airports weather??

Please give me sample..

Edited by Tinsukou
Link to comment
Share on other sites

Hello Tinsukou,

Using the New Weather Interface in FSUIPC is much more complicated than reading normal offsets, especially with a language like VB.NET.

An example would take anyone many hours to write and test.

I do plan to put an easy method of reading and writing weather in my DLL (like I have done with AI Traffic) but I don't know when I will have time to do this.

Sorry I can't help with this at the moment.

Paul

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.