📄
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. Extending and API's

FSUIPC: Custom Offsets

Adding custom offset to FSUIPC Data

PreviousX-Plane Datarefs & CommandsNextRestAPI

Last updated 3 months ago

Was this helpful?

Please make sure you keep Version at 1 Each entry consists of one OffsetDefinition. Attribut Selectable : if false then Offset will not be offered in UI Name = Displayname of the offset in UI ValueType + Size = One of

  • S8 = Signed Byte , Size = 1

  • U8 = Unsigned bytes, Size = 1

  • U16 = Unsigned SHort, Size = 2

  • S16 = Signed Short , Size = 2

  • U32/S32 = Un-/signed Int , Size = 4

  • U64/S64 = Un-/Signed long , size = 8

  • FLT32 = Float , size = 4

  • FLT64 = Double , size = 8

Category = Main Category in Definition Brower (frist tree level) SubCategory = Sub Category in Definition Brower (second tree level). If more levels needed, seperate by "##" Access = R -> Readony , RW -> Read/write , R will not be offered in e.g. Change Data value Usage = Information shown in browser/mouseover. BBCode tags can be used here. Key = FSUIPC Offset in HEXADECIMAL as long HI-DWord:LO-Dword , usually HI-DWord should be 0000. Must always be formatted 000:0000 . Special: if the Offset represent just a BIT in a Value the Key is 0000:0000:BITNUMBER , an offsetentry for the main offset with Selectable="false" must exist then. optional Tag: LinkedEntry = Offset that will trigger value change for this offset as well. See example. If 000:0022 changes SPAD.neXt will also trigger a value changed for 0000:0021. Justleave it away if not needed. There some additional Tags which should not be necessary normally, e.g. for converting values on the fly (feet to meter etc). If you need those,let me know. Save the XML to Folder "%APDDATA%\SPAD.neXt\conf\data_config\data" as "FSUIPC Local.xml" It will be read ONCE when starting up. if you change it you have to restart SPAD.neXt. If Problem occours reading the file, check the logfile.

1KB
FSUIPC Local.xml
FSUIPC Custom Offsets Sample XML