📄
SPAD.neXt
  • SPAD.neXt Manual
  • About SPAD.neXt
  • Getting Started
    • System Requirements
    • Supported hardware
      • Check Hardware
    • Installation
      • Simulation Specifc Steps
        • SimConnect Configuration
        • MSFS: Enable PMDG data access
        • X-Plane Configuration
    • First Start
      • Configuration Wizard
    • Common Tasks and Issues
      • SPAD
        • Online Services
        • Fresh reinstall
        • Move SPAD.neXt to new Computer
        • License Issues
      • MSFS Specific Topics
      • X-Plane specific Topics
      • Saitek/Logitech MP/RP blinking
      • USB Powermanagement
  • Guides and Videos
    • New User Series
    • MSFS SimConnect
    • L:Vars / H:Events and B:Events
    • Features & Functions
    • Device Specific
      • Arduino / SPAD Serial
      • Authentikit
      • Cockpit Simulator CDU
      • Honeycomb
      • Joystick (Generic HID)
      • miniCockpit
      • RealSimGear
      • Saitek/Logitech
      • Script Panel
      • Stream Deck
      • Thrustmaster TCA
      • vFIP
      • Virtual Avionics
      • vJoy
      • VRinsight
      • X-Touch MC Mode
      • X-Touch Midi Mode
    • Simulation Specific
      • ATR 600 (MSFS)
      • AS CRJ 550/700/900/1000 (MSFS)
      • FBW A32NX (MSFS)
      • FFX/MG HJet (MSFS)
      • FFX Vision Jet (MSFS)
      • FSW C414AW (MSFS)
      • PMDG 737 (MSFS)
      • PMDG 777 (MSFS)
      • SWS Kodiak (MSFS)
      • WT CJ4 (MSFS)
      • WT G1000 NXi (MSFS)
      • PMDG 777 (P3D)
  • User Interface
    • UI Familiarization
      • Home Page
      • Profiles Page
  • Features
    • Expressions
      • Values
      • Referencing Simulation Data
      • Operators
      • Functions
      • Examples
    • Tuner Acceleration
    • Event Execution Order
  • Simulations
    • MSFS 2024
    • MSFS 2020
    • X-Plane
      • Pre-Requisites
      • Dataref Tool
      • Helping Spad Help You
      • Dataref vs. Command: Know Your Copilots
      • Basic Flight Controls – Axis Setup
    • P3d and FSX
    • Other
  • Hardware specific
    • USB HUB Requirements
    • CPFlight Devices
    • Saitek FIP (Flight Instrument Panel)
      • Saitek FIP: Driver & Function Check
    • Loupedeck Image Devices
    • Midi Devices
      • X-Touch Mini
    • Serial (COM) Devices
    • Skalarki
    • VRInsight Overhead
  • Extending and API's
    • Gauges and Extensions
      • SPAD Gauges: GaugeSettings
    • C# Scripting Interface
      • C# Scripting: ScriptStub
      • C# Scripting: Provide Values
      • C# Scripting: PreCompile
    • Device Interface
      • Device Communication Flow
        • Device INIT-Phase
        • Device CONFIG-Phase
          • Device options
          • Device COLORSET configuration
          • Device PROFILE configuration
          • Device OUTPUT Configuration
          • Device INPUT configuration
            • Device input AXIS
            • Device input ENCODER
            • Device input PUSHBUTTON
            • Device input ROTARY
            • Device input SWITCH
            • Device input SWITCH3
            • Device LABEL
          • Device config: Advanced topics
        • Device STATESCAN-Phase
      • Device General Commands
      • Device commands
        • Page-Control
      • Device SPAD.neXt Events (2)
      • Device Simulation Events (Channel 4)
      • Device Data (Channel 5)
      • Device LED Update (Channel 6)
      • Device Display Update (Channel 7)
      • Device Input Updates (Channel 8)
      • Device Virtual Power
      • Device Custom UI
      • Device HTML UI
      • Device preconfigured definition
      • Serial V2
        • Command 1,RAISE
        • Command: 0,AUTH
    • X-Plane Datarefs & Commands
    • FSUIPC: Custom Offsets
    • RestAPI
    • HTML Rendering API
    • Other API's
  • FAQ
    • General FAQ
    • MSFS: Lost profile aircraft assigments
  • Changes
    • 0.9.21
    • 0.9.14.0
    • 0.9.13.39
  • Glossar
  • Old-Docs
    • Old-Getting-Started-Guide
Powered by GitBook
On this page

Was this helpful?

  1. Guides and Videos

L:Vars / H:Events and B:Events

This Section is focused on L:VARs, H and B Events ... These are the more customized items per plane and delve deeper into the programing of custom events and finding them.

PreviousMSFS SimConnectNextFeatures & Functions

Last updated 4 months ago

Was this helpful?

L:VARs and H:Events are additional Variables and Sim Control events that are not part of the "Standard" events in Sim connect. This requires an Additional Bridge be installed. In both Prepar3d and MSFS L:VARs are required so we can work with the Extended capabilities of Add On Aircraft. This is how all of the complex aircraft will interact data wise for their custom systems implementations. The most notable being Auto Pilot Data. Add On Planes need to run their own systems to simulate the modes and functions of the simulation. Then they "under the hood" take control of the plane and fly it.... Thus we need to gain access to View and Control that Data! The H:Event is the new JS/HTML Gauge Events found in MSFS which also replaced many of the older simconnect events like the GPS controls commands. MODs like the Working Title CJ4 and the Fly By Wire A320 have also required the separation of the Standard Autopilot and Data to allow them to implement their controls. This meant modifying the commands and Data. We are able via the Bridge to also send these Commands into the sim. Additional names in use for this will be WASM Bridge or WASM Module. If you are interested in understanding all of the different data types the SDK docs are valuable source of info.

MSFS 2020 and MSFS 2024 Require the L:VAR Bridge to function properly. This is also the H:Event Gateway as those have to be done via the WASM Module as well. In FSX/P3D it is not "required" unless you are using advanced planes.. which well makes it required. Also same Wizard area for installing the XPlane Plugin. Bonus: How to Relocate your community folder!

One of the early examples of working with L:VARs and Add On Aircraft

Client Events. How to Add custom events that are not currently in the SPAD.neXt Event List.

L:VAR control to work around some conflicts of WT GNS and TDS GTN integrations.

Working with Another Add On Airplane example. The MS ATR and L:VARs to take control of the entire plane!

Dev Mode in MSFS can help you discover the Events/Vars used by each plane. If the plane is encrypted and the XML locked out.. just use Dev Mode!

L:VAR example to create a button to "rebuild" the Engine on the SWS Kodiak!

B:Events are finally Accessible (sure we are limited to _SET for now due to MSFS limitations..) and this video is the first covering of this new feature!

In MSFS 2024 we can utilize the Behaviors tab inside of Dev Mode to quickly identify the events and variables that are being used with the Virtual Cockpit Interactions. This video will show you how to interpret and verify in Dev Mode then assign that to a button or switch in SPAD.neXt.

B:Events have many "custom" extensions. There are some common extensions like like _ SET / INC / DEC / ON / OFF / TOGGLE that can easily be added with a Right Click now!! Even Better is that we can easily Add any custom extension and get all of the control we need for these interfaces. It is Finally Possible to say we can control it all now!! well I hope :) I am sure something will come up and break it again though. Use Dev mode - Identify the Event and then Add it in SPAD.

https://docs.flightsimulator.com/html/index.htm#t=Additional_Information%2FReverse_Polish_Notation.htm%23Types
Install the L:VAR Bridge and Move 2024 Community Folder
Getting Started with L:Vars using the CRJ
Add H:Events or K:Events Manually
Disable WT GNS LVARS to Run TDS External Mode
Find The Control L:VARs via the Data Monitor
XML or Dev Mode - Find H:Events
Kodiak Engine Reset - LVars and Events
B:Events Now Available -- How To Find and Use Them!
MSFS 2024 - Use Dev Mode and Quickly Find Events and Variables
MSFS 2024 : Quickly Add Custom B:Events Into SPAD.neXt