ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Save output console to textfile
Hello everybody,
is there a way to save the content of the output console to a textfile? I would like to export the content after each repetition when I use the experimenter. Is this possible? Thanks in advance! Jens |
#3
|
|||
|
|||
Hi Carsten,
first of all: Thanks for the quick reply! But I think fileopen doesn't to what I intend to do. I use the pt(), pd(), ... commands to write to the output console during the simulation because I want to trace certain issues in my model, when I only do single runs. The problem now is, if I use the experimenter, the data from the output console is lost after each repetition, but I don't only want to write the date in a file. Then I would have used fpt(), fpd(), .. I hope I could explain what I mean Best, Jens |
#7
|
|||
|
|||
Hm ok .. sorry for not mentioning it. I'm still working with v5 since I don't feel comfortable switching versions completely in the middle of a project ..
Any ideas for a work-around in v5? |
#10
|
|||
|
|||
Hello Jens,
If you take a look at the active view in the tree when the output console is open, you can get the text of the window with: getviewtext( node( "/active/Output/scriptedit", views() ) ) I only tested it with one word and the script editor, but this worked. Maybe you can use this to export the output console after a replication. Esther |
The Following User Says Thank You to Esther Bennett For This Useful Post: | ||
Jens Mühlheimer (05-07-2012) |
#11
|
|||
|
|||
Awesome, works perfect!
Thank you veeeery much!! |
The Following User Says Thank You to Jens Mühlheimer For This Useful Post: | ||
Esther Bennett (05-07-2012) |
#12
|
||||
|
||||
Sounds as if you only should write some information instead of clearconsole. Maybe something like pr();pt("Next Experiment");pr();
OK, this was to late.
__________________
Hemmi Last edited by Sebastian Hemmann; 05-07-2012 at 03:13 AM. Reason: To late |
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Console | Phil BoBo | User Development | 6 | 12-12-2011 04:19 AM |
disable system console | juan alberto | Q&A | 3 | 11-07-2011 05:52 AM |
system console problem ? | LINWEIXU | Q&A | 16 | 06-18-2010 03:25 AM |
Can I write to the system console? | Steven Hamoen | Q&A | 2 | 11-26-2008 06:37 AM |
Print information into output console (Debugging) | Tom David | Q&A | 11 | 09-04-2008 03:46 AM |