question

Pinakin K avatar image
0 Likes"
Pinakin K asked tannerp answered

How to use current content of the queue to reload?

hopper-load-model-5.fsm

If you look at the model there is hopper (queue) which needs to be reloaded after its content reaches a specific limit. However, the operator needs to stop once he has reloaded and should resume when the sub flow is executed.

Choose One
task sequencecontent queuecurrent
· 2
5 |100000

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

Jeff Nordgren avatar image Jeff Nordgren commented ·
@Pinakin K

This model is getting so many errors that I'm not sure what the model is supposed to do. Can you give a more detailed description of exactly what this model is supposed to do?

You are referencing labels, objects and tokens that don't exist which are part of the errors. You are also getting errors in the triggers of the model objects.

A more detailed description of what is supposed to happen in this model would be very helpful in answering your question.

Thanks.

2 Likes 2 ·
Jeff Nordgren avatar image Jeff Nordgren commented ·

@Pinakin K

Have you resolved this issue? Or do you need additional hellp?

1 Like 1 ·

1 Answer

tannerp avatar image
0 Likes"
tannerp answered

While this might not solve the entire issue, there is a way to listen to the content of a queue and then signal a reloading task sequence through Process Flow.

The image below shows the details of how it works. Essentially, you will just use a Wait For Event trigger that will create a token whenever the queue (in this case, the hopper) has a content value that decreases to a specified limit. You can then send that token to load/unload objects to refill the queue as needed.


5 |100000

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