Current SPAD.neXt Release: 0.9.12.123

This forum has closed. Please join our Discord Community.

SPAD.neXt online services are no longer available for SPAD.neXt Versions < 0.9.11.5

FSUIPC Custom offsets

Frequently asked Questions
Locked
Marc
Passenger
Posts: 2
Joined: 27 Dec 2015, 07:05
Contact:
Status: Offline

FSUIPC Custom offsets

Post by Marc » 07 Jan 2016, 07:15

Hi all,


By the way, does somebody know how to set a tile of the BIP, to grab the info "IVAP TRANSPONDER CHARLIE"?
This is the FSUIPC Offset 0x7b91 =1, but how to set this?

Thanks a lot

Marc

[Moved from other topic]

User avatar
c0nnex
Site Admin
Posts: 5469
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: FSUIPC Custom offsets

Post by c0nnex » 08 Jan 2016, 21:15

Marc wrote:
By the way, does somebody know how to set a tile of the BIP, to grab the info "IVAP TRANSPONDER CHARLIE"?
This is the FSUIPC Offset 0x7b91 =1, but how to set this?
That's a custom offset, which is currently not yet supported.
One of the next updates will introduce a way to define custom FSUPIC offsets.

Detract
Flight Attendant
Posts: 25
Joined: 18 Dec 2015, 10:16
Status: Offline

Re: FSUIPC Custom offsets

Post by Detract » 19 Mar 2016, 14:19

Are custom offsets supported in the latest 0.9 Beta?

Gesendet von meinem SM-G920F mit Tapatalk

User avatar
c0nnex
Site Admin
Posts: 5469
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: FSUIPC Custom offsets

Post by c0nnex » 19 Mar 2016, 15:45

Yes but not enabled and documented how to use them yet.
I'll see if I add the docs for next beta.

User avatar
c0nnex
Site Admin
Posts: 5469
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: FSUIPC Custom offsets

Post by c0nnex » 16 Aug 2016, 23:23

Quick and Dirty Docs, how to add a custom offset to SPAD.neXt.
(Note PMDG offset cannot be added using this method)

find enclosed a Sample XML. 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.
Attachments
FSUIPC Local.xml
(1.3 KiB) Downloaded 730 times

Locked