Search the Community
Showing results for tags 'altitude'.
Found 3 results
Hi folks, I am trying change altitude on MCP by rotary encoder, unfortunately I am not sure if I send to ipc.control correct data ipc.control(70032, altitude) value in altitude is correct, I have there (100,200....1000,1100.......12000....) It works only for first three hundred, and then even though I change altitude value by rotary, the value on MCP will not change. Could someone help me? Thank you. EDIT: I tried to send it real altitude /100. This works fine, but only for increasing altitude. If I turn with rotary to anti-clockwise position, the value is decreasing, but altitude on MCP in FSX is still increasing. EDIT2: Solved, I don't know why, but if I send there ipc.control(70032, 536870912) it is decreasing. EDIT3: Sorry, I have one more problem. When I send there real altitude, it is increasing till 35700. Why? I also noticed when I quick turning with rotary the value which I send to ipc.control is e.g. 2100 but it sets only 2000.
Hello, To start, I'm using v4.934 of FSUIPC. I try to change altitude of the plane. I test that with an example of FSUIPC of use. It's FSUIPCClientExample_CSharp project. slewMode.Value = 1; FSUIPCConnection.Process(); // Make a new point representing the centre of the threshold for 27L FsLatitude lat = new FsLatitude(51.464943d); FsLongitude lon = new FsLongitude(-0.434046d); FsLatLonPoint newPos = new FsLatLonPoint(lat, lon); // Now move this point 150 metres up the runway // Use one of the OffsetBy methods of the FsLatLonPoint class double rwyTrueHeading = 269.7d; newPos = newPos.OffsetByMetres(rwyTrueHeading, 150); // Set the new position playerLatitude.Value = newPos.Latitude.ToFSUnits8(); playerLongitude.Value = newPos.Longitude.ToFSUnits8(); // set the heading and altitude playerAltitude.Value = 1000; // Here I try to put the plane over the runway FSUIPCConnection.Process(); playerHeadingTrue.Value = (uint)(rwyTrueHeading * (65536d * 65536d) / 360d); FSUIPCConnection.Process(); // Turn off the slew mode slewMode.Value = 0; FSUIPCConnection.Process(); // Refresh the scenery sendControl.Value = REFRESH_SCENERY; FSUIPCConnection.Process(); // Reenable the timers this.timer1.Enabled = true; this.AIRadarTimer.Enabled = this.chkEnableAIRadar.Checked; FSUIPCConnection.Process(); So I try to put the plane at 1000feet with this line : playerAltitude.Value = 1000; But the plane is still on the runway. I don't understand why. I use this offset : private Offset<long> playerAltitude = new Offset<long>(0x0570); // Offset for moving the plane Thank you in advance for your help. Regards, Gwenael
Hi, Just for the fun of it I decided to make myself my own autopilot panel, and I would love to make it similar to what it looks like on the B737. Since I fly mostly the PMDG B737 or B738, I was wondering whether is it even possible to actually retrieve the altitude shown on the autopilot, from an external add on like PMDG plane, so I can display it on a display on my autopilot panel. I have pretty much figured out everything else, I just need to understand a bit better the connection with external add ons and FSUIPC Thanks Denis