Jump to content
Sign in to follow this  

Recommended Posts

Hi Gurus ,I have a question for all of you .How is possible to have a XML gauge using the standard offset from FS ?For instance , the offset for AP VS is 02C8 , so , how to get the VS output in offset 02C8 ?Thanks for your help.Alberto Kunzel

Share this post


Link to post
Share on other sites

>Hi Gurus ,>>I have a question for all of you .>>How is possible to have a XML gauge using the standard offset>from FS ?>>For instance , the offset for AP VS is 02C8 , so , how to get>the VS output in offset 02C8 ?>>Thanks for your help.>>Alberto KunzelThe answer to your specific question is no, it is not possible. Only C gauges have the capability of reading directly from a pointer's address (which is what an "offset" really is).However, I should point out that this is a "bad idea" on several levels, but the worst case is that there is absolutely no guarantee that the pointers will remain the same in FSX.In fact, I can categorically state that many pointers (offsets) will be changed in FSX. How do I know this? Simply because Susan Ashlock (Lead Panel & Gauge Programmer at ACES) told me... ;)


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

If by offset, you mean the FSUIPC offset, I'd say it's a fair bet that Pete Dowson's next version of FSUIPC for FSX will preserve the mappings we have thus far. As I understand it, a good number of the data elements moved in FS2002 and FS9, but were re-mapped to preserve compatibility with a FSUIPC data structure which has remained fairly consistent since FS98.RegardsBob ScottATP IMEL Gulfstream II-III-IV-V L-300Santiago de Chile


Bob Scott | President and CEO, AVSIM Inc
ATP Gulfstream II-III-IV-V

System1 (P3Dv5/v4): i9-13900KS @ 6.0GHz, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@30Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU, 1.2Gbps internet
Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro
PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box

Sys2 (MSFS/XPlane): i9-10900K @ 5.1GHz, 32GB 3600/15, nVidia RTX4090FE, Alienware AW3821DW 38" 21:9 GSync, EVGA 1000P2
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, 2x TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Portable Sys3 (P3Dv4/FSX/DCS): i9-9900K @ 5.0 Ghz, Noctua NH-D15, 32GB 3200/16, EVGA RTX3090, Dell S2417DG 24" GSync
Corsair RM850x PSU, TM TCA Officer Pack, Saitek combat pedals, TM Warthog HOTAS, Coolermaster HAF XB case

Share this post


Link to post
Share on other sites

Hi Bill ,I will explain for you my problem and maybe you have a good idea how I can solve it .I built a MCP for my cockpit based in a chip which receives information from a small Delphi software which extract from FS the values of Course,speed,hdg,altitude and vs .In order to get those values I used the FS9 offsets . When flying the FS9 planes I have no problem all displays show the correct numbers , but when flying , for instance, the DF737-400 ,the altitude and vs are not displayed , the offset for altitude and vs are not the same of the FS9 planes , and nobody knows the offset for DF737 .My question is , may I extract the values of Altitude and VS from the DF737 MCP and to output them with the FS9 offsets ?Thanks for your help,regardsAlberto Kunzel

Share this post


Link to post
Share on other sites

No. They are apparently using custom C variables for their displays, and you have no access to them... In fact, since the pointers (memory addresses) used by C variables is dynamically allocated on panel load, they will be different every time they are initialized! :~P


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...