Jump to content
The simFlight Network Forums

edward57

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by edward57

  1. Could someone please post the code for writing the ICAO to the Offset C800 and reading back the Metar. I can read the metar using mine, but it always the aircraft location, never the ICAOs. Attempting to set the offsets: Dim weatherICAO As Offset(Of String) = New FSUIPC.Offset(Of String)("WeatherGet", &HC800, 8) Dim weatherfsx As Offset(Of String) = New FSUIPC.Offset(Of String)("Weatherfsx", &HB800) Attempting to write and read (the read works, but always returns Aircraft location Metar): Dim weather As String weatherICAO.Value = txtDepICAO.Text FSUIPCConnection.Process("WeatherGet") FSUIPCConnection.Process("Weatherfsx") weather = weatherfsx.Value MessageBox.Show(weather)
×
×
  • 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.