question

lancewu avatar image
0 Likes"
lancewu asked Jeanette F commented

About Using Code Autosave model and data of dsahboard

HI

I have three questions about using flexscript to automatically save

Firstly, use flexclip to automatically save the model to the specified path. For example, "C:\Users\SHENNAN.WU\Desktop\1.fsm". What do I need to do.

Secondly, I want to automatically save the data of dsahboard to the specified path. For example, "C:\Users\SHENNAN.WU\Desktop\2.cvs". What do I need to do.屏幕截图-2023-09-14-104410.png

Thirdly, I want to transmit data from the dsahboard in real-time. Does Flexsim have an interface to do this.

Thank you for your review!

FlexSim 22.1.4
code
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @lancewu, was CSN's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

CSN avatar image
1 Like"
CSN answered CSN edited


你好:

1.FlexSim自带自动保存功能,只需首次保存当前型号,此后每10分钟自动保存一次,间隔可以修改,或参考cmdsavetree命令。

1694746553218.png


2.如果另存为csv文件,则可以考虑使用Excel的读/写功能将图表对应的原始数据写入csv。

类别命令参考 (flexsim.com)

3.如上所述,FlexSim支持Excel,MySQL,ODBC,HTML等接口,您可以根据自己的实际需求进行选择。


1694746553218.png (85.9 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.