Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SDK [EVT_MCP_MACH_SET] seems not to work correctly (SP1b)

Featured Replies

Hi.

Please let me ask a question about SDK.

 

I have tested the 777 SDK, to find that I cannot set MACH speed correctly with "EVT_MCP_MACH_SET" while

other SET-MCP-VALUES events were perfectly working.

 

My attempt is

 

 1. Flying at FL300 and  at Mach speed 0.80.

 2. Set IAS/MACH mode to "MACH mode".

 3. Run a program with following code.
 

      hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_SET_MACH, "#84135");

      SimConnect_TransmitClientEvent(hSimConnect, 0, EVENT_SET_MACH, 60, SIMCONNECT_GROUP_PRIORITY_HIGHEST,SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY);

      //Header comment says "Sets MCP MACH (if active) to parameter*0.01 (e.g. send 78 to set M0.78)", so M0.600 is expected.

 

 4. The value of Mach indicator window is set to "0.780".

 5. Re-run the same program, then value is set to "0.762", then -> .746 -> .731 -> .718 ->->->->-> .604

 6. No value change after converging on .604.

 

In addition, Setting from M0.600 to M0.800 was result in converging on .795 after several running,

and the other setting events (IAS, HDG, ALT, V/S, FPA) worked as I expected.

 

Is it caused by my wrong usage or bug ?

And is there any other way to manage to set MACH ?

 

----------------------

Shunsuke Yamabe

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.