October 15, 200619 yr Hi, In my FSXPilot project I set the aircrafts elevator by: // during init hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_POSITIONELEVATOR, "Elevator Position", "Percent");........// and in the elevator control function if (hSimConnect) {sv.value = setval * 100.; // setval is -1.0 to 1.0SimConnect_SetDataOnSimObject(hSimConnect, DEFINITION_POSITIONELEVATOR, SIMCONNECT_OBJECT_ID_USER,0, 0, sizeof(sv), &sv); } .........This works great for all the planes in FSX - except the Airbus. Setting negative values here always results in a full, not a partial deflection (down). Funny: On ground there is no error, but in the air. In addition, my code to set the elevator trim from FSP works in all planes - except the airbus. Anybody else seen this ? Is there a workaround maybe ? regardsrb
October 16, 200619 yr Commercial Member I believe the Airbus has a fly-by-wire code built into it. This could be interfering with your external application trying to control the aircraft. Ed Wilson Mindstar AviationMy Playland - I69
October 16, 200619 yr If I'm not mistaken, there are specific controls for the fly-by-wire, so there may be a variable or event to turn it off, in which case you should be able to do your work.**************EDIT: I found the following events that may be helpful to you.KEY_FLY_BY_WIRE_ELAC_TOGGLEKEY_FLY_BY_WIRE_FAC_TOGGLEKEY_FLY_BY_WIRE_SEC_TOGGLEIn the order of Elevators and Ailerons Computer, Flight Augmentation Computer and Spoilers and Elevators Computer.You could do a check for the (non-settable) FLY BY WIRE ELAC SWITCH, FLY BY WIRE FAC SWITCH, and FLY BY WIRE SEC SWITCH and if on (meaning airbus or an add-on using the built in FBW) you could use the toggle events to turn them off.
October 17, 200619 yr That is exactly how you have to get it to work - switch ELAC and FAC off manually or by a key event (which I do now, all three wires, in case they are on). Now the A321 flies and autolands like heaven ...Well done. I'll call you senator from now on, or award you a senator card (lufthansa). regardsrudolf
October 17, 200619 yr I've got my mod badge, that's enough for me.And most of my friends online just shorten it to NAS, we try not to think of rappers, and everyone is happy.Off to get my copy of FSX.
Create an account or sign in to comment