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.

G1000 Simconnect example

Featured Replies

Hi All.

I am using emuTeqs G1000 hardware and Mindstars G1000  software and via SimConnect   I am sending to the software the various hardware button presses as events mapped to the G1000.ini. 

eg 

SimConnect_MapClientEventToSimEvent (hSimconnect, eventID,"#0x11001");  // one for each hardware button mapped to G1000.ini entries as doc'd

SimConnect_TransmitClientEvent( hSimconnect , 0 , eventID , 0 , SIMCONNECT_GROUPID_IS_PRIORITY_HIGHEST,   SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY); 

 

and everything works fine and the G1000 software responds to the button presses.

 

No problem there but what I would like to know is how to read back the state of radio LED's  if set up to be sent in the [output] section of the  G1000.ini file.

 

Basically I'm not sure what Simconnect functions I should be using when trying to access a 3rd party event streams.

 

Any ideas would be appreciated.

 

 

 

 

 

 

  • Author
Stopped being lazy and re-read docs.

this'll do it 

   SimConnect_MapClientEventToSimEvent(hSimConnect ,  0x11301,"#0x11301");

   SimConnect_AddClientEventToNotificationGroup(hSimConnect, GROUP_B ,  0x11301, false); 

then 

monitor SIMCONNECT_RECV_ID_EVENT in dispatch procedure.

  • Author

Yes, read that , but it doesn't give  any SimConnect coding examples which would help.

  • Commercial Member

I'm not certain why you want us to provide samples of how to receive custom events with SimConnect when that is already well documented in the SimConnect SDK itself.

 

We do not provide code.

Ed Wilson

Mindstar Aviation
My Playland - I69

  • Author

It just makes life a bit easier for your customers.

 

We don't expect you to write our software but a few helpful pointers would help smooth things.

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.