|
TM - Plant Simulation : Speicherbedarf von Integer minimieren
tsx am 09.11.2010 um 19:06 Uhr (0)
Das Plant Simulation Modell wird beim speichern komprimiert (7-zip sagt Compound), deswegen wirkt sich die Änderung nur mit 200kb aus.Wenn du wissen willst, wie groß das ursprünglich Modell ist, kannst du die spp-Datei (und die darin entstehende CoreData) mal mit 7-zip entpacken. Du wirst feststellen, dass es unkomprimierte Simulationsmodell rund 10x größer ist als die spp-Datei.Wie kannst du dein Modell verkleinern?Du kannst das Modell nochmals packen (z.B. mit WinRar oder dem quelloffenen 7-Zip). Auf die ...
| | In das Form TM - Plant Simulation wechseln |
|
TM - Plant Simulation : Simulation unterbrechen
tsx am 18.01.2011 um 18:20 Uhr (0)
Der Ansatz ist ganz gut, aber machs doch lieber so.Vorteil: Plant Simulation braucht weniger Ressourcen, da die Endlosschleifen nur im Sekundenrythmus checkt, ob die Datei da ist.Code:is boole:booleando boole := existsFile("C: ext.txt"); boole := NOT(boole); root.Ereignisverwalter.stop; while boole loop print "noch nicht"; boole := existsFile("Z:PPlanTimpeGeschrieben2.txt"); boole := NOT(boole); sleep(1); end; root.Ereignisverwalter.start;end;------------------Grüße,tsx
| | In das Form TM - Plant Simulation wechseln |
|
Anzeige:
Anzeige: (Infos zum Werbeplatz)
 |