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)