Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello Paul,

I'm using below code to on/off flight director switch in PMDG Aircraft. it's working in reverse order when i send parameter 1 it turns off to FD and 0 turns on, is it normal? or im using it wrong way?

FSUIPCConnection.SendControlToFS(PMDGEvent.EVT_MCP_FD_SWITCH_L, 1);

Posted

Hi,

as the ...SDK.pdf document in the same folder shows examples how to use with SimConnect, you will find the information that switch positions when not defined as bool or with multiple values then the position can be set by using 0 or 1. In case of the FD switches I would expect they are by default in ON position and on a first run without setting them a value 0 will set it to ON position. An switch position state file might be created after the first run. That just means a value of 0 is ON position and a 1 value is OFF position, just reversed.

FSUIPC just uses the controls and, if used/set, a parameter. In case it is working I wouldn't worry. (It works as well reversed in FSX PMDG, just checked here)

Thomas 

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.