Jump to content
Sign in to follow this  
Guest Cacoman

My first XML for the 737-200

Recommended Posts

Hi,That is correct.Just one if/els as example:(L:APU BLEED SWITCH,bool) if{ (L:APU BLEED,psi) 1 + 26 min (>L:APU BLEED,psi) } els{ (L:APU BLEED,psi) 1 - 0 max (>L:APU BLEED,psi) } Now you can use (L:APU BLEED,psi) also to drive an apu-bleed-air-pressure-gauge-needle etc. (if at all needed)Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites
Guest Vorlin

Tom,>I don't remember of seeing it fully documented in any SDK, but>rather a bunch of guys in this forum posted almost all the>secrets of constructions after what I believe>was a though testing time.Understood. What lead me to try to identify the name of that syntax style was that I was researching previous posts for those secrets and got frustrated because the info is scattered far and wide... which makes it extremely difficult to find, organize and digest. I've been gathering everything I find into a comprehensive document. I find that I learn best by taking something I don't understand, researching it and writing out an explaination in very simple terms so that, when I can't remember how to use some syntax, I can refer back to it as if it's my own private tutorial. This thing is becoming so large and comprehensive, I'll probably organize it properly and release it in pdf at some point.>In fact, structures maintain a big similarity with C>types for strings. As the compiler to assembled code is>written in C, I guess MS figured out a shortcut for easy>string handling inside XML gauges, without messing with the>stack's byte only model, which is very fast but too elemental>to deal with complex strings.I understand exactly what you mean there. I got so tired of trying to run down what the real capabilities of XML for FS9 are that I installed Visual Studio Express for C++ and am taking today to go over Dai Griffiths and Arnie Bartels sd2gau17.zip . I'm not abandoning XML because I do believe that it's the future of gauges... but using something that's thoroughly documented will be a nice change.I'll use both. From your answer above, the work in C will really help my skills in coding formatted text strings and another nice thing is that the work in VC++ can be used for many things outside of FS9 that I've always had in the back of my mind.Thanks for the insight Tom! Now I have a direction to go in so that I can learn more. I'll go towards C to learn that syntax, and be able to apply at least some of it to formatted text strings.Scott / Vorlin

Share this post


Link to post
Share on other sites

>I understand exactly what you mean there. I got so tired of>trying to run down what the real capabilities of XML for FS9>are that I installed Visual Studio Express for C++ and am>taking today to go over Dai Griffiths and Arnie Bartels>sd2gau17.zip . I'm not abandoning XML because I do believe>that it's the future of gauges... but using something that's>thoroughly documented will be a nice change.In that case Scott, might I suggest reading through the 'sticky posts' in my Panel & Gauges forum at http://flightsim.com as a good adjunct to Dai's and Arne's work?Pay particular attention to the section that deals with C <=> XML intercommunications... ;)


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
Guest Vorlin

Thanks Bill, will do. I think I'm hitting info overload, it's been quite the learning curve in the last 3-4 weeks.Time to order a pizza and watch a movie (grin).Scott / Vorlin

Share this post


Link to post
Share on other sites
Guest Cacoman

Just to show some progress of the graphics side of the panel.I modeled this in 3d from pictures.To add some flavor to the programming.Hope you like the artwork.This will be the quality of the whole overhead panel.http://forums.avsim.net/user_files/147376.jpg

Share this post


Link to post
Share on other sites

Hi,That is just beautiful!Jan"Beatus ille qui procul negotiis..."

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...