question

Arno Chan avatar image
0 Likes"
Arno Chan asked Arno Chan edited

Send a message to an HTML page and display it

For example, I have a warning message, like this

I want to put it on an HTML page, similar to using the alert("I am, too!").

For example, display on the interface.

How can I do it? Please excuse my bad English. If you have any questions, please point out in time. Thank you.

FlexSim 16.0.9
webserverhtml
script.png (18.0 KiB)
picture1.png (183.4 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.

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Arno Chan edited

Hello Arno, perhaps web communication is that what you are looking for.

· 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.

Arno Chan avatar image Arno Chan commented ·

Thanks! I have seen it and I see a way to use "callwebscriptmethod()". But I don't know how to do it.Could you help me? or Do you have a small case to share? Thanks again!

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Arno Chan commented ·

@Arno Chan,

This comment has a sample model with an example of using callwebscriptmethod().

You could also view the command documentation, or these other questions.

Hopefully those will be helpful. If you get stuck with any aspect of callwebscriptmethod(), please start a new question on that topic.

Thanks!

1 Like 1 ·
Arno Chan avatar image Arno Chan commented ·

Hello, @Ben Wilson. About the method callwebscriptmethod(), I have some questions. The first parameter of this method is a node type variable that is reference to an html widget of the GUI builder. If a page isn't developed in this way, how should I do it? For example, the page is the following.

Could you understand my expression? Thanks again!

0 Likes 0 ·
html-location.png (11.9 KiB)