Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
XML Gauge parameters (Read 1753 times)
Feb 25th, 2003 at 6:43pm

FSTipster   Offline
Colonel
There are no stupid questions,
only stupid answers
U.K.

Gender: male
Posts: 1514
*****
 
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, <Value>(A:Electrical genalt1 bus voltage,volts) 0 &lt;=</Value>

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

Thanks for any help.
 

...&&
Click the banner to visit the site
IP Logged
 
Reply #1 - Mar 3rd, 2003 at 3:08am

FSTipster   Offline
Colonel
There are no stupid questions,
only stupid answers
U.K.

Gender: male
Posts: 1514
*****
 
I discovered it's all in the SDK.
 

...&&
Click the banner to visit the site
IP Logged
 
Reply #2 - Mar 3rd, 2003 at 6:00pm

Mustang   Offline
Colonel
F-35 Joint Strike Fighter
Chicago IL

Gender: male
Posts: 157
*****
 
.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... ???
 

...
IP Logged
 
Reply #3 - Mar 3rd, 2003 at 6:16pm

FSTipster   Offline
Colonel
There are no stupid questions,
only stupid answers
U.K.

Gender: male
Posts: 1514
*****
 
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.
 

...&&
Click the banner to visit the site
IP Logged
 
Reply #4 - Mar 3rd, 2003 at 7:51pm

Mustang   Offline
Colonel
F-35 Joint Strike Fighter
Chicago IL

Gender: male
Posts: 157
*****
 
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
 

...
IP Logged
 
Reply #5 - Mar 3rd, 2003 at 7:54pm

FSTipster   Offline
Colonel
There are no stupid questions,
only stupid answers
U.K.

Gender: male
Posts: 1514
*****
 
Very welcome Smiley

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

...&&
Click the banner to visit the site
IP Logged
 
Reply #6 - Mar 4th, 2003 at 5:41pm

Mustang   Offline
Colonel
F-35 Joint Strike Fighter
Chicago IL

Gender: male
Posts: 157
*****
 
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.
 

...
IP Logged
 
Reply #7 - Mar 4th, 2003 at 5:49pm

FSTipster   Offline
Colonel
There are no stupid questions,
only stupid answers
U.K.

Gender: male
Posts: 1514
*****
 
Quote:
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?


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


Me too! Roll Eyes

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.
 

...&&
Click the banner to visit the site
IP Logged
 
Reply #8 - Mar 5th, 2003 at 8:04pm

Mustang   Offline
Colonel
F-35 Joint Strike Fighter
Chicago IL

Gender: male
Posts: 157
*****
 
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.
 

...
IP Logged
 
Reply #9 - Mar 5th, 2003 at 8:11pm

FSTipster   Offline
Colonel
There are no stupid questions,
only stupid answers
U.K.

Gender: male
Posts: 1514
*****
 
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).

 

...&&
Click the banner to visit the site
IP Logged
 
Reply #10 - Mar 5th, 2003 at 9:40pm

Mustang   Offline
Colonel
F-35 Joint Strike Fighter
Chicago IL

Gender: male
Posts: 157
*****
 
oh yeah the different types of variables possible are in the unitis.doc located in the panelgauges/ Doc folder. and thanks for your help
 

...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print