Re: [Flightgear-devel] xml formatting
Erik Hofman wrote: eagle monart wrote: i am trying to output a airspeed and gmt with generic protocol. i am writing it to a txt file however the file is growing. i wanted xml form to rewrite on to same line as an example line1 is gmt and line two is airspeed ..format is like that. i subtracted line seperators in xml form but still continues to write new datas. how can i set this? This is how it was designed since it's main purpose was sending data to the serial port or over the network. The file option (as it is now) is very useful for generating log files, so it is not possible to do it like that at this time. However, you might want to add carriagereturn to see if that helps. If it doesn't work either it would be possible to add a specialized line-separator that performs a fseek(0) just prior to writing the line. Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] xml formatting
eagle monart wrote: i am trying to output a airspeed and gmt with generic protocol. i am writing it to a txt file however the file is growing. i wanted xml form to rewrite on to same line as an example line1 is gmt and line two is airspeed ..format is like that. i subtracted line seperators in xml form but still continues to write new datas. how can i set this? This is how it was designed since it's main purpose was sending data to the serial port or over the network. The file option (as it is now) is very useful for generating log files, so it is not possible to do it like that at this time. Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] xml formatting
i am trying to output a airspeed and gmt with generic protocol. i am writing it to a txt file however the file is growing. i wanted xml form to rewrite on to same line as an example line1 is gmt and line two is airspeed ..format is like that. i subtracted line seperators in xml form but still continues to write new datas. how can i set this? time GMT (hhmmss) string /fdm/acms/sim/time indicated speed (kt) int /fdm/acms/velocities/airspeed-kt _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d