Page 1 of 1

XML Gauge parameters

PostPosted: Tue Feb 25, 2003 6:43 pm
by FSTipster
I'm currently working on some new annunciator lights for my forthcoming version 2 of the baron Panel.

Is there a list anywhere of the parameters that are able to supply values?

For example, (A:Electrical genalt1 bus voltage,volts) 0 <=

If there happens to be a tutorial as it pertains to FS2002 around that would be very useful too.

Thanks for any help.

Re: XML Gauge parameters

PostPosted: Mon Mar 03, 2003 3:08 am
by FSTipster
I discovered it's all in the SDK.

..Re: XML Gauge parameters

PostPosted: Mon Mar 03, 2003 6:00 pm
by Mustang
.hey tipster i was wondering about the same thing but when i looked in the xml. sdk i could only find script on how to convert the file to a cab. file. then when i looked in the normal panel and gauge sdk i found parameters but they didnt look the same as the ones in a xml. file
can you help... ???

Re: XML Gauge parameters

PostPosted: Mon Mar 03, 2003 6:16 pm
by FSTipster
There's an XML SDK? LMAO...ah well - you live and learn!

All I can tell you is that the documents folder in the Panels & Gauges folder contains all the events as well as the parameters descriptions. All those docs are worth a nosey.

I just uploaded V2.0 of my Baron panel and most (not all)  of the new gauges are my own work based on the parameters and events from the P&G SDK. All seems to work well.

Do you have a link for the XML SDK? I'd like a look at it although it sounds like it might confuse, rather than clarify matters.

Re: XML Gauge parameters

PostPosted: Mon Mar 03, 2003 7:51 pm
by Mustang
oh what i meant by saying the xml. sdk is, that it is a utility to put xml. gauges in a cabinent file (.cab)  QUOTE: "This CAB File SDK explains how to create cabinet (.cab) files from the contents of a directory using Cabdir.exe."
the link is here http://zone.msn.com/flightsim/FS02DevDeskSDK00.asp

its the CAB file sdk.

thanx for your answer it cleared up some problems

Re: XML Gauge parameters

PostPosted: Mon Mar 03, 2003 7:54 pm
by FSTipster
Very welcome :)

I already have a cabfile building utility (Gawd knows where I got it LOL) so I'll probably give that a miss.

Re: XML Gauge parameters

PostPosted: Tue Mar 04, 2003 5:41 pm
by Mustang
Hi i have another question. although i have found the parameters and all im am still having problems figuring out what the values are. Also i am having problems figguring out the rules the xml follows.

Re: XML Gauge parameters

PostPosted: Tue Mar 04, 2003 5:49 pm
by FSTipster
Hi i have another question. although i have found the parameters and all im am still having problems figuring out what the values are.


Which parameter is it?


Also i am having problems figguring out the rules the xml follows.


Me too! ::)

I know the logic I want to apply to some gauges, but the syntax is a nightmare.  I'll keep at it until I get the hang of it.

Re: XML Gauge parameters

PostPosted: Wed Mar 05, 2003 8:04 pm
by Mustang
the parameters i have found are the names and stuff ex: Electrical genalt1 bus voltage. you know the ones in the panel / gauges sdk, doc. folder.

Re: XML Gauge parameters

PostPosted: Wed Mar 05, 2003 8:11 pm
by FSTipster
ok - my (rudimentary) understanding is that you have to assign them to a type of value according to the output of the parameter.

Here are some examples:

(A:Ambient temperature, celsius) - assigns the value to a number of celecius degrees

(A:Ambient temperature, farenheit) - same thing but in farenheit

L:yourvariable,number) - assigns a value in a variable you've created to a number.

The possibilities for what type of data you can have for any given variable are listed somewhere (can't remember exactly where off hand).

Re: XML Gauge parameters

PostPosted: Wed Mar 05, 2003 9:40 pm
by Mustang
oh yeah the different types of variables possible are in the unitis.doc located in the panelgauges/ Doc folder. and thanks for your help