question

lancewu avatar image
0 Likes"
lancewu asked Jeanette F commented

About the viewtofile command

I know that the viewtofile command can convert views into images and save them locally. My current requirement is to transfer this image as data. Saving locally will cause the model to lag.

Is there a way to use FlexScript or DLL Maker to capture this view without saving the image locally, and convert it into data.


FlexSim 22.1.4
using codeview
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
Processing of screen data externally of FlexSim to provide it as an output data on a web server will always consume process time on a single computer. If you have two computers available you can run FlexSim on one of them. The other can capture by a screen capture device the provided display data and convert it as content for a web server. Any conversion of data like providing display content will slow down any run speed of a simulation tool. As described you can split needed power by using efficiently created display data on a different computer.

BUT as already said you can easily analyze that dashboard display output charts have an increasing lag between model runtime and displayed state in a dashboard directly correlated to model run speed.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @lancewu,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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