question

Fernando H4 avatar image
0 Likes"
Fernando H4 asked Ben Wilson commented

How can i push items to Queue only when Queue is empty (using 3D Model)?

I am having trouble making my transporter unload 6 items at a time in queue, only when queue1 is empty. It is unloading one item every time an item leaves queue1.

Here is what i am trying to do:

- Push items to queue2, only when queue2 is empty:

- The transporter should always unload 6 items at a time in Queue1;

- Queue1 will send one item at a time to theTest.2.fsm next process.

FlexSim 20.1.0
flexsim 20.1.0queue content
1595026959902.png (305.2 KiB)
test2.fsm (5.1 MiB)
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @fernando.h4, was matt.long's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

0 Likes 0 ·

1 Answer

·
Matt Long avatar image
2 Likes"
Matt Long answered

You just need to check the Flush contents between batches box in the Queue1 properties window.

This will cause the queue to not accept any more flowitems until the batch has completely left the queue.


1595087823802.png (4.7 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.

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.