question

Mauricio_nicolas C avatar image
0 Likes"
Mauricio_nicolas C asked Andrew O commented

activate a source with buttons

Hi, I have 3 sources that I want to activate with bottoms. Bottom number 1 has to be low demand, and one source must be activated. Bottom 2 is medium demand and two sources hast to be activated. Lastly, bottom number 3 named high demand has to activate 3 sources.

help.fsm

FlexSim 22.0.0
bottoms navigater
help.fsm (26.6 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.

Andrew O avatar image Andrew O commented ·

Hi @Mauricio_nicolas C, 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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You can call methods stop or resume. But you would be responsible to count how often you have called stop.
Another approach would be to redirect the output of each source by a label value to a sink for example at output port two and your standard production at output port one. Your dashboard buttons will set label values accordingly in your three sources to get desired result.

5 |100000

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