question

Skor avatar image
0 Likes"
Skor asked Jason Lightfoot answered

The processor runs when there are more than 7 items in the queue

hello i need help. I need to make it so that Processor2 work only when there are more than 7 items in Queue1. help me please

FlexSim 20.2.2
queueprocessorflexsim 20.2.2
help.jpg (35.3 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

·
Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Put this in the pull requirement of Processor2:

return current.inObjects[port].subnodes.length>7;

Model attachedProcessor2whenQover7.fsm


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.