• 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.

SimConnect Name - THROTTLE_SET

Messages
7
Country
unitedkingdom
Hi Guys,

Apologies if this is a very simple question. I'm using SimConnect to set the throttle in VB.net. I have been able to set to full and idle

sx_simconnect.TransmitClientEvent(0, EVENT_ID.THROTTLE_FULL, 0, NOTIFICATION_GROUPS.GROUP0, SIMCONNECT_EVENT_FLAG.DEFAULT)

fsx_simconnect.TransmitClientEvent(0, EVENT_ID.THROTTLE_CUT, 0, NOTIFICATION_GROUPS.GROUP0, SIMCONNECT_EVENT_FLAG.DEFAULT)

I want to use THROTTLE_SET to set the throttle to 26% but I can see how I specify the 26.

Any help would be great.

Many thanks
Chris
 
Sorry to add, before I execute this lines I use:

fsx_simconnect.MapClientEventToSimEvent(EVENT_ID.THROTTLE_FULL, "THROTTLE_FULL")

fsx_simconnect.AddClientEventToNotificationGroup(NOTIFICATION_GROUPS.GROUP0, EVENT_ID.THROTTLE_FULL, False)

fsx_simconnect.MapClientEventToSimEvent(EVENT_ID.THROTTLE_CUT, "THROTTLE_CUT")

fsx_simconnect.AddClientEventToNotificationGroup(NOTIFICATION_GROUPS.GROUP0, EVENT_ID.THROTTLE_CUT, False)

Not sure how to MapClient event to THROTTLE_SET with it set to 26.

Thanks
Chris
 
The THROTTLE_SET values range between 0 and 16383. So multiply 16383 by 0.26 and you will have the value to send. It will then be placed in the 3rd parameter of TransmitClientEvent (right now you have 0s there for the THROTTLE_FULL and CUT events)
 
Back
Top