March 7, 20179 yr enclosed my trim function. I think it shows better the value of the trim setting. feel free to use it in your user.lua. Happy Landings Stefan Liebe function B747_Elevator_Trim_show () ElevVal = ipc.readUW(0x0BC2) if ElevVal >= 49000 then ElevVal = (ElevVal - 65487) end ElevTrimVar = (ElevVal*0.00074+3) DspShow("Elev", string.format("%2.1f", ElevTrimVar)) end function B747_Elevator_Trim_up () ipc.control(65615) B747_Elevator_Trim_show () end function B747_Elevator_Trim_dn () ipc.control(65607) B747_Elevator_Trim_show () end function B747_Elevator_Trim_upfast () i = 0 while i <= 4 do ipc.control(65615) i = i + 1 end B747_Elevator_Trim_show () end function B747_Elevator_Trim_dnfast () i = 0 while i <= 4 do ipc.control(65607) i = i + 1 end B747_Elevator_Trim_show () end regards Stefan Liebe
March 7, 20179 yr Will try it and add it to the module with your permission! thanks Guenter Steiner -------------------------------------------------------------------------------------- Betatester for: A2A, LORBY, FSR-Pillow Tester --------------------------------------------------------------------------------------
Archived
This topic is now archived and is closed to further replies.