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.

Erik

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to