How I know that you are an expert in gauges xml, I would be thankful to you and to anyone if you can orient to me in some doubts.
1) When gauge adds a panel, the typical format is: gaugeXX=nom!gauge x, y, width, heihgt, param1, param2, ....
How I can use the parameter param1 within aguge xml?
2) Can gauge xml record its state in a file?
3) Can gauge xml read data from a file?
4) Is some site in Internet where can find information and tutorial to develop gauges xml? , I have readed everything what comes with the FS2004SDK, but is not very explanatory
"How I can use the parameter param1 within aguge xml?"
Unfortunately it's not possible to use those parameters directly with a XML gauge, because you need a C gauge for read and write datas from and to another file. A XML gauge could not read the param entry yet. Some gauge designers create C gauges which could be used to transfer XML parameters. Nevertheless for each function you need the corresponding C gauge.
"2) Can gauge xml record its state in a file?" "3) Can gauge xml read data from a file?"
Same as above. A XML gauge could not write into a file or read from a file yet. On principle the XML language could do this but the necessary Flightsim dll file didn't contain the commands. Maybe it's possible with a later FS version.
Doug Dawson made a C gauge some years ago which allows saving the status for a custom XML L: parameter into an ini file. I don't think that he has upload this gauge somewhere. If you are interested you could contact Doug via Mail or personal message in the Avsim panel designer forum. He's very often there.
"4) Is some site in Internet where can find information and tutorial to develop gauges xml?"
The site Edi already posted is the only one I know at the moment. I don't think that there is another site which contains more information. A very good place is the Avsim panel design forum. In this forum a lot of very good programmers share their experience with XML.
I believe that I am going to see the possibility of doing gauges in “C”, in addition I will have the posiblidad to generate random numbers to program faults.
There is a payware programm called EasyGauge which helps you creating C gauges. But this program is very expensive, so I highly recommend to check their testversion which could be found on their website. You could find it here: http://www.easygauge.net/
The creation of random numbers is very simple (in XML). Just create a counter which counts between two different values and use a trigger to stop the counter to get a value.
An example: Make a counter which starts at 500 and when the value 800 is reached, set it back to 500 as long as your variable STOP is zero. Now create any trigger. Let's say your trigger is the left engine starter. When you start the left engine, it switches the variable STOP to 1 (you could also a light switch or anything else). Then the counter stops because STOP is no longer zero. The result you want is the value to which your counter has counted. Such a counter runs very fast. In my BAe 146 panel, it counts to 18 in only 1 second!