
A320_Pilot
Members-
Posts
58 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by A320_Pilot
-
So what? Paul, help please!!!) George
-
Some questions! 1.Give me please a sample code, how to do it! 2.How to add in DB coordinates of airport, in one field record the latitude and longitude once or each in its field? 3.What used offset this, and how to write it correctly? if (previous_onGndFlag != current_onGndFlag) { if (current_onGndFlag == 1) { // - save the data you need - } previous_onGndFlag = current_onGndFlag; // update previous_onGndFlag } private Offset<short> gndFlag = new Offset<short>(0x0366); Does not work! George
-
MySQL I know well, so what exactly should the database from the airport: ICAO Code, IATA Code and Coordinates? George
-
MySQL Database for this good?
-
Thanks Paul!
-
Well, and how then to define airport of departure that removed the ICAO code?
-
And still do not understand!
-
And this Grund flag will not work on taxi?
-
In the DB I can write, I do not know how to read parameters when touching!
-
Ok, i made this! But how to do this: Plane touched the runwayneed to write off the parameters (speed, vertical speed, airport, landing lights) and record in the database MySQL ????
-
if (FSUIPCConnection.Open == true) { this.checksim.Text = CLIENT_MSG6_RU; } else { this.checksim.Text = CLIENT_MSG7_RU; } That's it right?
-
How to check whether the simulator is running or not?
-
Thanks Paul!
-
All done, it works, I'm not yet found one offset, what version of the simulator has been launched!
-
Thanks Paul, with coming new year you!!!!)))))
-
//TAS in knots & km/h double tasKMH = ((double)airspeed_tas.Value / 128d * 1.852d); double tasKnots = ((double)airspeed_tas.Value / 128d); this.tasAir1.Text = tasKnots.ToString("F0") + CLIENT_MSG4_RU + " / " + tasKMH.ToString("F0") + CLIENT_MSG5_RU; //IAS in knots & km/h double airpeedKmh = ((double)airspeed.Value / 128d * 1.852d); double airpeedKnots = ((double)airspeed.Value / 128d); this.iasAir1.Text = airpeedKnots.ToString("F0") + CLIENT_MSG4_RU + " / " + airpeedKmh.ToString("F0") + CLIENT_MSG5_RU; I convert correctly? As for the headlights, I did not understand, it is impossible to deduce (On, Off)!
-
Thanks Paul!!!
-
Hello Paul, 1. What offset use for lights (landing, taxi, navigation, strobes for Read)? 2.What is the difference in the offset value "int", "Long", "short", "double", "string"? Where i can read about it? 3.Whether correctly I convert ground speed? double gsKMH = ((double)airspeed_gs.Value / 65536d * 3.28084d); double gsKnots = ((double)airspeed_gs.Value / 65536d * 1.943844492); this.gsAir1.Text = gsKnots.ToString("F0") + " (Knots)" + " / " + gsKMH.ToString("F0") + " (Km/h)"; 4.And how convert Zero fuel weight, empty weight and payload? I write this: //Empty weight in lbs & kgs double fw_ew_lbs = ((double)fw_ew.Value / 256d); double fw_ew_kgs = ((double)fw_ew.Value / 256d); this.emw1.Text = fw_ew_lbs.ToString("F0") + " (Lbs)" + " / " + fw_ew_kgs.ToString("F0") + " (Kgs)"; //---------------------------------------------------------------------------------// //Zero fuel weight in lbs & kgs double fw_zfw_lbs = ((double)fw_zfw.Value / 256d); double fw_zfw_kgs = ((double)fw_zfw.Value / 256d); this.zfw1.Text = fw_zfw_lbs.ToString("F0") + " (Lbs)" + " / " + fw_zfw_kgs.ToString("F0") + " (Kgs)"; //---------------------------------------------------------------------------------// //Weight payload in lbs & kgs double fw_pl_lbs = ((double)fw_payload.Value / 256d); double fw_pl_kgs = ((double)fw_payload.Value / 256d); this.payload1.Text = fw_pl_lbs.ToString("F0") + " (Lbs)" + " / " + fw_pl_kgs.ToString("F0") + " (Kgs)";
-
Thanks Paul!
-
And another question! Why do we need file: FSUIPCClient.XML
-
I have a problem, flaps are displayed correctly, but the slats are not, either 0 or 1 degree! //Flaps position double flapLL = (double)inbFlapLL.Value / 256d; double flapLR = (double)inbFlapLR.Value / 256d; double flapTL = (double)inbFlapTL.Value / 256d; double flapTR = (double)inbFlapTR.Value / 256d; this.flapsPos.Text = flapLL.ToString("F0") + "° " + flapLR.ToString("F0") + "° " + flapTL.ToString("F0") + "° " + flapTR.ToString("F0") + "°"; private Offset<short> inbFlapTL = new Offset<short>(0x30F0); private Offset<short> inbFlapTR = new Offset<short>(0x30F4); private Offset<short> inbFlapLL = new Offset<short>(0x30F8); private Offset<short> inbFlapLR = new Offset<short>(0x30FC);
-
Thanks Paul!
-
Thanks for the answer Paul, and the last two questions: 1. How to deduce the state of the gear (Up, Down)? 2.How to deduce the state of the wing (degrees slats and flaps)?
-
How to derive GS? Do so, but not out! double airpeedKnotsGround = (double)airspeed_gs.Value / (65536d * 3.28084); this.label18.Text = airpeedKnotsGround.ToString("F0") + " Knots";
-
Thanks Paul, code is worked :) Where i can find ofssets fsuipc 4 for FS9???