edward57 Posted April 20, 2009 Report Posted April 20, 2009 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)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now