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.

Get/Set user define XML "L:" variables w/ SimConnect

Featured Replies

  • Commercial Member

Hi,Was wondering if it is possible to read XML variables as created using the registered_named_variablemacro (think you XML guys call them "L:" variables ?), can be read through simconnect. I have created a dll module and now I want it to be able to communicate with the rest of my panel/gauges!I have tried using:hr = SimConnect_AddToDataDefinition(hSimConnect, TEST, "L:TestVariable", "number");and then hr = SimConnect_RequestDataOnSimObjectType(hSimConnect, REQUEST, TEST, 0, SIMCONNECT_SIMOBJECT_TYPE_USER);But that doesn't seem to return anything usefull. Note that standard FSX XML variables work well using this technique...Can anyone help me out here ?Thanks,Björn

simcheck_sig_banner_devteam.jpg

 

Bj

  • 2 weeks later...

I believe "L:Variable" won't work because that field is reserved for an actual enumeration of the panel variables and not the variables directly.. if that makes any sense..

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.