plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

question

FredAirland avatar image
FredAirland asked FlyingRaccoon answered

How to set Brake Parking Position

Hello I have a comprehensive Simconnect application developed in C# where I read and write approximately 20 variables

there's one variable I am unable to set whatever I try to write which is "BRAKE PARKING POSITION "

I add it to a struct definition together with another 10 variables and so and then update regularly, all other variables work....

SimConnect.AddToDataDefinition(DEFINITIONS.AircraftVelocities, "BRAKE PARKING POSITION", "Position", SIMCONNECT_DATATYPE.FLOAT64, 0, SimConnect.SIMCONNECT_UNUSED);


I am trying to set it to 1 or fully engaged, I tried float64, int bool etc... could you please test if it is working and how ?

thanks

Fred





bugsimconnect
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered

Hello Fred,

I confirm the issue is on our side as I am unable to write this simvar through the SimVarWatcher provided with the SDK.
I created a ticket on this issue and we will have a look.

Thank you for reporting the issue.

Regards,
Sylvain

10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered

Hello Fred.

In the end, the documentation is the culprit, the "BRAKE PARKING POSITION" simvar is not writable directly but you can use the KEY_PARKING_BRAKES event id to toggle it through SimConnect.

Sorry for the inconvenience.

Regards,
Sylvain

10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.