cheeseburger Posted September 11, 2016 Report Posted September 11, 2016 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.
ckovoor Posted September 11, 2016 Report Posted September 11, 2016 (edited) You could use either (depends on the variable): (1) ipc.control(xxxxx, 16384) to increase, and ipc.control(xxxxx, 8192) to decrease, or (2) ipc.control(xxxxx, -2147483648) to increase, and ipc.control(xxxxx, 536870912) to decrease. Please see thread: Chakko. Edited September 12, 2016 by ckovoor 1
cheeseburger Posted September 13, 2016 Author Report Posted September 13, 2016 Thank you very much :)
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