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
<line_separator>carriagereturn</line_separator> 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.
Flightgear-devel mailing list