About the viewtofile command

About the viewtofile command

lancewu
Not applicable
83 Views
3 Replies
Message 1 of 4

About the viewtofile command

lancewu
Not applicable

[ FlexSim 22.1.4 ]

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.


0 Likes
Accepted solutions (1)
84 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution
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
Message 3 of 4

Jeanette_Fullmer
Community Manager
Community Manager

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
Message 4 of 4

Jeanette_Fullmer
Community Manager
Community Manager

Hi @lancewu, was Joerg Vogel'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