Jump to content
mhayling

TBM 900 Throttle Position Switch/Axis implementation

Recommended Posts

Hi all.

Is there a way to assign switches to position the throttle from Cut Off to Low Idle/High Idle/Flight idle.

I have a Throttle quadrant but cant get the throttle out of Cutoff without using the mouse.

I would really like to be able to get from cutoff to flight  and back to cutoff without having to use the mouse.

Thanks for any help guys.

And if the Devs read this and its not possible, Please make it possible in the near future.

Mark

 

 

 

Share this post


Link to post
Share on other sites

I would love to use one of the unused axis on my Saitek throttle quadrant. I have already asked once if they could possibly introduce dedicated commands for cut off, low and high idle and flight idle. That way I could create a custom axis which sends those commands at a certain axis value.

  • Like 1

Share this post


Link to post
Share on other sites

Yeah I would love to base a home cockpit off of the TBM-900 but without an axis or dedicated switches for the various mixture/prop/throttle settings its practically impossible to implement the throttle controls.

Really wish they would implement individual switches for each possible position instead of the mixture_up_a_bit/ down a bit routine. That cant work with a physical throttle, unless you have the design skills of a NASA engineer. It would require quit a complicated aparaticus to work right.

 

 

Share this post


Link to post
Share on other sites

Hi, do you still need a way to use an axis? I can give you my FlyWithLua script, which allows me to use an axis for c/o - low idle - high idle - flight idle.

If you need it, I can also give you my script for the flap settings, so you can use a button for each position and nou just up/down a notch.

Share this post


Link to post
Share on other sites

ch. Cole I woould like to get those Lua scripts off you if I can....And if possibly detailed instructions on how to impliment them. I am not really familiar with LUA.

 

Thanks

Share this post


Link to post
Share on other sites
On 6/4/2019 at 5:13 AM, Tommytongue said:

ch. Cole I woould like to get those Lua scripts off you if I can....And if possibly detailed instructions on how to impliment them. I am not really familiar with LUA.

 

Thanks

Do you know how to use FlyWithLua? It's quite easy to install.

I'll attach my script, just put it in the FlyWithLua\scripts folder and assign an axis to "Mixture 1", it should work then. If you need help, just write.

 

Mixture.lua

Edited by Ch.Cole
Edit: Small fix, I was unable to assign a mixture axis in the TBM, so I changed it to "Mixture 1"
  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Ch.Cole said:

Do you know how to use FlyWithLua? It's quite easy to install.

I'll attach my script, just put it in the FlyWithLua\scripts folder and assign an axis to "Mixture 1", it should work then. If you need help, just write.

 

Mixture.lua

Awesome! I had wondered if it was possible to use the mixture axis on my throttle quadrant for the high/low/cutoff positions on the TBM. I will try your script.

ETA: Works perfect, thanks!

Edited by Skrimps

Share this post


Link to post
Share on other sites

Thanks a lot.....

 

Unfortunatley  it doesn't work for me...…..

 

Is this for the Hot Start TBM from X-Aviation.

 

All it does is stick the throttle in flight idle and it cant be moved across with mouse or the axis after assignment.

Edited by Tommytongue
UPDATE

Share this post


Link to post
Share on other sites
1 hour ago, Tommytongue said:

Thanks a lot.....

 

Unfortunatley  it doesn't work for me...…..

 

Is this for the Hot Start TBM from X-Aviation.

 

All it does is stick the throttle in flight idle and it cant be moved across with mouse or the axis after assignment.

Ok, I'll try to help. In the lua-file there is a disabled line "do_every_draw". Remove the -- from the beginning of the line. If you reload the lua scripts "reload all lua scripts" via the FlyWithLua-menu, you should get some values in the lower left screen area. Can you check if the axis value changes? Have you set one axis as "mixture 1"?

Share this post


Link to post
Share on other sites
13 hours ago, Ch.Cole said:

Ok, I'll try to help. In the lua-file there is a disabled line "do_every_draw". Remove the -- from the beginning of the line. If you reload the lua scripts "reload all lua scripts" via the FlyWithLua-menu, you should get some values in the lower left screen area. Can you check if the axis value changes? Have you set one axis as "mixture 1"?

Ok so I did that …..and I know feel a complete idiot.... It does work I set the axis to Mixture.....NOT MIXTURE 1.....

 

Thanks a lot this is great and sorry for my mistake.

 

 

Share this post


Link to post
Share on other sites
14 minutes ago, Tommytongue said:

Ok so I did that …..and I know feel a complete idiot.... It does work I set the axis to Mixture.....NOT MIXTURE 1.....

 

Thanks a lot this is great and sorry for my mistake.

 

 

No problem, glad it works :)

You can adjust the settings in the lua-file, at which axis position you want to have which setting, by the way.

Share this post


Link to post
Share on other sites
6 hours ago, Ch.Cole said:

No problem, glad it works :)

You can adjust the settings in the lua-file, at which axis position you want to have which setting, by the way.

If I understand you correctly, you say it's possible to edit the file and change the position on the axis for when it changes from cut off to low idle and so on? If so do you mind giving a brief explanation how? Cut off to low idle on my axis is a little over 1/2 way, it would be great if it was a bit sooner but even so I am very happy with the way it works either way.

Share this post


Link to post
Share on other sites
3 hours ago, Skrimps said:

If I understand you correctly, you say it's possible to edit the file and change the position on the axis for when it changes from cut off to low idle and so on? If so do you mind giving a brief explanation how? Cut off to low idle on my axis is a little over 1/2 way, it would be great if it was a bit sooner but even so I am very happy with the way it works either way.

Yes, that's what I meant. If you look into the lua-file, there is a line commented out, that starts with "do_every_draw". Remove the "--" from the beginning of that line, so that you get some info on the lower right. Check the axis value and adjust these lines accordingly:

function getvalue ()
if mixture_axis > 0.55 then SetTo = 0 end
if mixture_axis < 0.55 then SetTo = 1 end
if mixture_axis < 0.45 then SetTo = 2 end
if mixture_axis < 0.09 then SetTo = 3 end

To explain: "SetTo = 0" sets to cut off, 1 to low idle, 2 high idle, 3 flight idle.

Put your axis in the highest position you still want to be "cut off", and replace both instances of 0.55 with it. Find the highest position for low idle, replace 0.45 with it, same for high idle and 0.09.

Obviously, the axis should read 1 at cut off, 0 at the flight idle position. If it's the opposite, just reverse the polarity (j/k, reverse the axis ;) ).

Don't hesitate to ask if you have any furter questions or need other functionality, I'll try my best.

Just one warning: Due to the implementation. Right now, you can not move to high idle (actually the complete right side) if you are in the taxi/reverse range. I don't really need that functionality. If you do need it, I can try to make it possible.

Share this post


Link to post
Share on other sites
16 hours ago, Ch.Cole said:

Yes, that's what I meant. If you look into the lua-file, there is a line commented out, that starts with "do_every_draw". Remove the "--" from the beginning of that line, so that you get some info on the lower right. Check the axis value and adjust these lines accordingly:

function getvalue ()
if mixture_axis > 0.55 then SetTo = 0 end
if mixture_axis < 0.55 then SetTo = 1 end
if mixture_axis < 0.45 then SetTo = 2 end
if mixture_axis < 0.09 then SetTo = 3 end

To explain: "SetTo = 0" sets to cut off, 1 to low idle, 2 high idle, 3 flight idle.

Put your axis in the highest position you still want to be "cut off", and replace both instances of 0.55 with it. Find the highest position for low idle, replace 0.45 with it, same for high idle and 0.09.

Obviously, the axis should read 1 at cut off, 0 at the flight idle position. If it's the opposite, just reverse the polarity (j/k, reverse the axis ;) ).

Don't hesitate to ask if you have any furter questions or need other functionality, I'll try my best.

Just one warning: Due to the implementation. Right now, you can not move to high idle (actually the complete right side) if you are in the taxi/reverse range. I don't really need that functionality. If you do need it, I can try to make it possible.

Excellent write up. I will have to play around with it some, although it's really quite fine as it is. As for moving from taxi/reverse to the right, I agree with you and I don't need that functionality either. When I follow the shut down checklist, I have the throttle in flight idle for 2 mins, then move to cut off so how it is now works perfectly.

Share this post


Link to post
Share on other sites
On 6/6/2019 at 8:11 PM, Ch.Cole said:

Do you know how to use FlyWithLua? It's quite easy to install.

I'll attach my script, just put it in the FlyWithLua\scripts folder and assign an axis to "Mixture 1", it should work then. If you need help, just write.

 

Mixture.lua

Just wanna say thank you for this script, it saved my day! :D

  • Like 1

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×