question

wellslu avatar image
0 Likes"
wellslu asked Logan Gold commented

Conditional Port

Now I have three processors. I want the item to go to processor 1 when it is idle; otherwise, it should randomly go to one of the remaining two processors. What should I do?

4.4.fsm

FlexSim 25.0.1
conditional port
44.fsm (43.5 KiB)
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·
@WellsLu, once you choose to send an item to a random output port, this decision will remain even if processor 1 gets available in waiting time?
0 Likes 0 ·
wellslu avatar image wellslu Joerg Vogel commented ·

No. Items that have already been directed to the other two processors will not be redirected to processor 1.

0 Likes 0 ·
Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @wellslu, 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 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered wellslu commented

send-logic-jv.jpg

this can do it.


send-logic-jv.jpg (64.5 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.

wellslu avatar image wellslu commented ·

It seems like my problem is solved, thank you very much. But I'd like to know why it works. It would be great if you could explain it to me.

0 Likes 0 ·