Seite 1 von 1

Hystorie gespeichert in ein *.txt

Verfasst: Montag 13. Juni 2011, 14:00
von Habro
Hallo
wenn die hystorie vol ist dan mochte ich gerne das es gespeichert wert in ein *.txt file
in Reihenfolge von die hystorie ( sehe Anlage )

und wenn es 15 neue Meldungen in die hystorie gibt dann muss eine neue txt file gemacht werden.

ist das moglich?

Re: Hystorie gespeichert in ein *.txt

Verfasst: Samstag 18. Juni 2011, 15:54
von Mike D
Habro hat geschrieben:hallo
because I did not received an answer for my previous question,
I try it again
but now in english because I think that my german is not understood,
is it possible to write the 15 lines from the history to a text file and in the same sequence
See appendix previous question with 0 responses

Hans
I think, not you german is the problem, but the shortness of your question. You post a complex circuit without any discribtion.

Mike

Re: Hystorie gespeichert in ein *.txt

Verfasst: Samstag 18. Juni 2011, 16:20
von Mike D
my be in this way?

Re: Hystorie gespeichert in ein *.txt

Verfasst: Sonntag 19. Juni 2011, 14:35
von Habro
Herzlichen dank

Your example is working good
but every message that is written it appears at the bottom of the text file
I want the last message at the top of the text file
like the history does

is this posseble

and if the program is closed then it ceates a new text file
even as there are only 4 messages in it

I made a new example by your idea
and it still does not work properly

Re: Hystorie gespeichert in ein *.txt

Verfasst: Montag 20. Juni 2011, 08:09
von abacom
Habe leider keine Idee wie sich der Wunsch von Habro mit Bordmitteln realisieren lässt.
Der Wunsch nach einem "auf den Kopf gestellten" Log-File erscheint mir eher unüblich.
Man könnte daraus die Anregung extrahieren die Komponenten "Messwertrekorder" und "Tabelle"
ab V5.0 zusätzlich zum "ADD" mit einem "INS" (Insert)-Eingang auszustatten.
Aber ist das wirklich sinnvoll?

Re: Hystorie gespeichert in ein *.txt

Verfasst: Montag 20. Juni 2011, 09:04
von Mike D
Halte ich nicht für sinnvoll, dann würde auch gleich noch der Wunsch nach einem Eingang auftauchen an welcher Position eingefügt werden soll.

Habros Problem lässt sich mit Bordmitteln lösen.
Die Werte sind ja schon in 15 $HOLD gespeichert, es muss also nur ein weiterer Sequencer aus Zähler und DMux gebaut werden, der die 15 Messwerte in einem Rutsch in die Datei schreibt.

Mike

Re: Hystorie gespeichert in ein *.txt

Verfasst: Samstag 25. Juni 2011, 17:55
von Habro
Unfortunately I could not respond sooner
Thank you for answering.
now I can go on for a while