The field and particle trajectory simulator
Industry standard charged particle optics software
Refine your design: model > simulate > view > analyze > program > optimize it.
About | Documentation | Community/Support | Downloads | Ordering

SIMION 8.0 Issues/Bugs/Enhancements

Filter issues by query:
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


  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


  Warning: disabling output buffering might degrade performance if there
  is a lot of output.

  Reported by ryand-
    [*] 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.

Any comments on this web page? (will be sent to IMI Adaptas SIMION Support)
[Optional] Your name: email: phone: