Sign in to follow this  
rcbarend

XML Gauge help!

Recommended Posts

Well, I'd thought I try my luck at XML Gauges finally And it does seem quite straight foward, I've programmed an ASI With the Nonlinearity table etc..I use FSpanelStudio to insert it and position the gauge correctly [saves time] And it shows fine.HOWEVER in FS It is not visible, I think it has something to do with the code, However is this neccassary? I have seen XML Gauges without it. If it helps FS panel studio does give an error when loading 'Attribute found Imagsize= you probably meant Imagesizes= I'll change it for you' or near that ;0.Even with no Lines it is still not visible (Ironic :( ?]Is there some kind of code I can use to make it always visible regardless of any other factors, just to test?In the future I'd want to make something like(ASI Visibility) IF ELECTRICAL MASTER BATTERY = 1 AND AVIONICS MASTER SWITCH = 1 THEN ASI visibility = 1Here is what I'd do with XML:if (A:ELECTRICAL MASTER BATTERY) & (A:AVIONICS MASTER SWITCH)==Is this 'it' ?Thanks!

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Sorry NVM It's working fine, should have read the FAQ :(, if anyone could help out with the second part it would be nice :).

Share this post


Link to post
Share on other sites

The XML syntax isn't very correct :-)Use:(A:ELECTRICAL MASTER BATTERY,bool) (A:AVIONICS MASTER SWITCH,bool) &&and you're fine.Cheers, ROb

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