question

Omar Aguilera Rico avatar image
0 Likes"
Omar Aguilera Rico asked Jason Lightfoot commented

Open GUI using buttons of a GUI.

Hello! I have three GUI. In the first "Inputs", in the second "Ouputs", and in the third "Principal" a window with two "Input" and "Output" buttons. I need to know the command to specify that when I click on the “Input” button I open the “Inputs” GUI window and when I click on the “Ouputs” button I open the “Outputs” GUI window. How I do this?

gui.fsm

FlexSim 19.1.2
guiopen gui
gui.fsm (26.0 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

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Jason Lightfoot commented
createview("MODEL:/Tools/GUIs/Inputs","","");

gui-2.fsm


gui-2.fsm (17.1 KiB)
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

You can close any view from a button using

closeview(node("@",c));


1 Like 1 ·

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.