Issue I486 [io,recording,70,80,partlyresolved] Data recording output taking long time to flush to disk. Since 7.0, the data recording output buffer is not flushed to disk until this buffer becomes full (enough data accumulates) or the Fly'm completes. This may be a problem if SIMION is shutdown unexpectedly[*], thereby losing the data that was not flushed. As of SIMION 8.0.5-TEST10, the buffering can be controlled via Lua I/O methods, even in GUI mode (ref. Issue I335). For example, to flush the output buffer to disk do io.stdout:flush() Alternately, you can disable the output buffering entirely or decrease the size of this buffer: io.stdout:setvbuf('no') -- disable buffering io.stdout:stdvbuf('full', 20) -- enable buffering but limit to 20 bytes It is convenient to place this at the top-level of a workbench program: simion.workbench_program() io.stdout:setvbuf('no') ... Warning: disabling output buffering might degrade performance if there is a lot of output. Reported by ryand-http://www.simion.com/discuss/viewtopic?p=2258 [*] If something goes wrong with the run - which can happen due to some other complexities of the particular simulation - or if the computer has an "issue" then I loose all the prior results if they are not written to the file. See also Issue I488 - Data Recording file not closed if Lua raises error. TODO - A possible further improvement may be to flush the buffer automatically every N seconds. Affects 7.0 and 8.0.