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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.