Jump to content
The simFlight Network Forums

Recommended Posts

Posted

now that the Qualitywings 787 is out i am doing some flying in it and i noticed that my program is not recognizing the 787 as an aircraft...

 

'offset
Dim aircraftType As Offset(Of String) = New FSUIPC.Offset(Of String)("AircraftType", &H3500, 24)



' and under a timer 

Try

FSUIPCConnection.Process("AircraftType")


lblAircraft.Text = aircraftType.Value

Catch ex As Exception

MessageBox.Show(ex.Message, AppTitle, MessageBoxButtons.OK, MessageBoxIcon.Error)

End Try

 

 http://prntscr.com/gxet22

Posted

The code looks fine.

This offset brings back the 'atc_model' value from the [General] section of the aircraft.cfg file. e.g. the bold line in the example below for the default Cessna 172:

[General]
atc_type=Cessna
atc_model=C172
editable=0

1. Check what this value is in the aircraft.cfg file for this 787.

2. Also put a breakpoint on this line:

lblAircraft.Text = aircraftType.Value

and see what the Value is. There may be some strange characters. Or maybe it starts with a line feed or something.

Investigating those two things might lead you to see what the problem is.

If you need more help please post what you find here.

Paul

 

Posted

Ahh! so apparently qualitywings decided not to enter anything there exept for "Category=airplane"
....... that explains my problem

Thank you 

kuba

 

EDIT 
i havent tested this yet as i am in flight ... if it does update inflight there must be another issue but if it does not update inflight then i will test it later 

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.