question

juan_esteban.sanchez avatar image
1 Like"
juan_esteban.sanchez asked Adrian Haws answered

How could the a simple query to close a specific port (Output port #2) when any condition occurs. I like to know how is the query to open/close any specific Port

FlexSim 16.1.0
open or close specific port
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

·
Adrian Haws avatar image
1 Like"
Adrian Haws answered

The best way to do this would be to close the input port of the fixed resource that's connected by your "output port #2." For example, in the OnEntry Trigger of a queue select control->close and open ports, which will open a GUI where you can tell it to closeinput, reference the other object, and enter the condition that will cause this to happen.

Another option that you might consider is using the "Decide" activity with Process Flow. There's an option to send the token to a connector based on a "Conditional Decide," such as a label value, statistical distribution, etc.

5 |100000

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

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.