file.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <html>
  2. <head>
  3. <title>The File tab</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1>The File tab</h1>
  7. <p>The File tab allows you to specify a file into which the log should
  8. be placed.</p>
  9. <center><img src="../../../../en/img-guide/log-file.png" width="466" height="387"></center>
  10. <p>At the top is an indicator of whether file logging is in progress and
  11. a button for enabling or disabling it. (Note that you cannot enable it
  12. until a file is selected below.) The button allows you to pause and
  13. restart file entry. When you switch in the project window to viewing
  14. another simulation, the file logging is automatically halted; if you
  15. return to the original one and want logging to continue, you will need
  16. to re-enable the file logging manually using the button at top.</p>
  17. <p>In the middle is an indicator of what file is being logged to. To
  18. change it, use the Select... button. On selecting a file, file logging
  19. will automatically start. If you select a pre-existing file, Logisim
  20. will ask whether you want to overwrite the file or append the new
  21. entries onto the end.</p>
  22. <p>At bottom you can control whether a header line should be placed into
  23. the file indicating which items are in the selection. If header lines
  24. are added, then a new header line will be placed into the file whenever
  25. the selection changes.</p>
  26. <h2>File format</h2>
  27. <p>Entries are placed into the file in tab-delimited format
  28. corresponding closely to what appears under the Table tab. (One
  29. difference is that any header lines will give the full path to
  30. components lying in subcircuits.) The format is intentionally simple so
  31. that you can feed it into another program for processing, such as a
  32. Python/Perl script or a spreadsheet program.</p>
  33. <p>So that a script can process the file at the same time as Logisim
  34. is running, Logisim will flush the new records onto the disk every
  35. 500 ms. Note that Logisim may also intermittently close and later
  36. re-open the file during the simulation, particularly if several seconds
  37. have elapsed without any new records being added.</p>
  38. <p><strong>Next:</strong> <em><a href="../index.html"><em>User's Guide</em></a></em>.</p>
  39. </body>
  40. </html>