question

M. Melih Y avatar image
0 Likes"
M. Melih Y asked Joshua S answered

Real-time web dashboard

Hi,

I want to build a web page like dashboard is communicates to FlexSim. I want instant data input and output on this page. How can I make this via web communication? Can you give an idea?

Thanks.

FlexSim 19.0.0
web communication
5 |100000

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

1 Answer

·
Joshua S avatar image
0 Likes"
Joshua S answered

Take a look at this post a while back, it might have some tips into what you are looking for.

https://answers.flexsim.com/questions/29348/is-it-possible-to-use-the-server-sent-events-with.html

Also search "http" in the Answers search bar, there might be several other posts in the past that might be related to what you want.

· 3
5 |100000

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

M. Melih Y avatar image M. Melih Y commented ·

I have examined the related question and other documents on this subject. However, due to the very limited documentation, I still have some questions. In fact our goal is to create a digital twin-like platform with Flexsim. For example, creating a new customized interface by exporting data. And also, modify some data in the running simulation by sending data into the program (temperature, speed etc.). Can you share more detailed tutorials or documents of webkit and webserver applications in the link you specified? I am open to all your ideas and suggestions.

Best Regards.

0 Likes 0 ·
M. Melih Y avatar image M. Melih Y commented ·

Hey @Joshua S I need your help!

0 Likes 0 ·
Joshua S avatar image Joshua S ♦ M. Melih Y commented ·

One way of doing this is creating a dashboard that has buttons, edit fields, and other gui objects that you can edit, then run the flexsim webserver, and set the model to only show the dashboard. Other than that you would have to build the structure yourself using socket protocols and other means of communication suggested in the link I sent.

0 Likes 0 ·

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.