This 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.
Model that shows how to read from a file and how to write and append to a file.
There are User Commands defined for the read and write action.
These User Commands are called in the UserEventInit by on reset.
The output console opens and shows what is read from one file and written to the other file.
The default files are Sample_AsciiFileRead_TD.TXT and Sample_AsciiFileWrite_TD.TXT.
The read data are stored in the first Global Table (GT_AsciiRead).
Attention:
Do not delete or rename the object Logo_FlexsimD, because otherwise the model will not work correctly. Also do not rename, delete or rerank other objects.