• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Flap slat inhibitor

Messages
1,468
Country
italy
Is it possible for a switch on the panel to inhibit/disinhibit flaps and slats from being operated?
vololiberista
 
Hi,
well it should be possible i think. Here's how i would go about this, i'll just sow the seed and leave the coding to you :D

The aircraft i know of (VC-10 is not one of them) don't have seperate controls for flaps and slats. It is all controlled from 1 lever, maybe combined as a function of airspeed and flap position.

What you need is to have an inhibit switch which sets an L:Var to 1 for inhibit and 0 for uninhibit (ie L:inhibit, enum or something like that). Next check if the flap lever has moved from 0 and if so, reset it to zero if the inhibit switch is on.

Make a code:
IF (Inhibit equals 1) AND (Flaps Handle Percent LARGER THAN 1) THEN (move Flaps Handle to Zero)

One caveat though, i don't know what this will do if you use a throttle quadrant with a flap lever on it. Maybe the quadrant will keep asking for flaps to be set to a certain position and the code keeps saying no way. That might cause a looping action which could degrade performance.

But you could go ahead and try anyway, right?

grt
Willem
 
Last edited:
Hi,
well it should be possible i think. Here's how i would go about this, i'll just sow the seed and leave the coding to you :D

The aircraft i know of (VC-10 is not one of them) don't have seperate controls for flaps and slats. It is all controlled from 1 lever, maybe combined as a function of airspeed and flap position.

What you need is to have an inhibit switch which sets an L:Var to 1 for inhibit and 0 for uninhibit (ie L:inhibit, enum or something like that). Next check if the flap lever has moved from 0 and if so, reset it to zero if the inhibit switch is on.

Make a code:
IF (Inhibit equals 1) AND (Flaps Handle Percent LARGER THAN 1) THEN (move Flaps Handle to Zero)

One caveat though, i don't know what this will do if you use a throttle quadrant with a flap lever on it. Maybe the quadrant will keep asking for flaps to be set to a certain position and the code keeps saying no way. That might cause a looping action which could degrade performance.

But you could go ahead and try anyway, right?

grt
Willem

If you think it can be done that way I'll have a go, thanks.
The VC10 has a detent that allows flaps and slats to operate together when operating the flaps lever. This is to prevent operating the slats alone which could induce a deep stall. However, the detent can be removed and the slats operated by themselves without flaps in the case of a double engine failure. In other words just slats and no flaps.

Am I right in saying that this would have to be modelled?

Another idea has just occured to me as i do use a CH yoke. Would it be possible to temporarily disable the control assignments currently set as:-
flaps extend incrementally button 08
flaps retract incrementally button 07
in other words to delete those settings and then reinstate them.


vololiberista
 
Last edited:
Hi,
i don't think it is necessary to temporarily disable your button inputs because the code should correct a button press momentarily.
Maybe it is a different story if you use an axis as an input for flaps (say a lever on your quad), but it could very well be a non issue.

I don't know how you should go about your flap/slat issue being able to be independently operable. I can't find an Event Id for leading edge flaps or slats in the SDK which would enable you to control them (by using >K:xxxx).

There are however Sim var's for leading edge flaps and also in the aircraft config files you can find in the flaps section mention of type 1 for trailing edge and type 2 for leading edge flaps.

grt
Willem
 
Back
Top