Hi guys,
I'm having a question regarding the file system API. I'm trying to create the debugger where FlexSim will record the logging into an external log.txt file, I have done it by using the fileopen(), fpt(), etc.
However, now I want to improve it by reading the log.txt file size first, for example, if the file size is over 50MB then it will be renamed to log.001 and FlexSim will write to a new log.txt file, so in the long run the log files in archive will be "log.001", "log.002" and so on.
I have read this article: https://answers.flexsim.com/idea/47433/proper-file-system-api.html and understand that FlexSim can't read the file's size as well as delete or rename files. Are there any updates on this matter at the moment?
Regards,
Hoang Nguyen