The Use of Label in Different Process FLow

The Use of Label in Different Process FLow

mawyun
Participant Participant
101 Views
6 Replies
Message 1 of 7

The Use of Label in Different Process FLow

mawyun
Participant
Participant

[ FlexSim 21.0.10 ]

Hello,

I've encountered a problem related to the use of my item. I use the general process flow to push the item in to list. When I use the object flow and try to use the item. I found that the object flow cannot get the item that I'm mention even though I'm using the same list. I am wondering how can i mention the box label. Thank you very much for any of your help!

1696342523060.png

1696342499636.png

my model: small model-21-v2.fsm

0 Likes
Accepted solutions (1)
102 Views
6 Replies
Replies (6)
Message 2 of 7

jason_lightfootVL7B4
Autodesk
Autodesk

I don't think that's the correct model. The general process flow doesn't push any item to a list since you create tokens when they enter queues but each one then listens for entry to Q2, which never happens since your Source6 has no arrivals:

1696343116236.png

0 Likes
Message 3 of 7

mawyun
Participant
Participant

Thank you for your reply! My thought for this is that I set up the source of Q1 first, since i think it'll be easier to do debug if there's only one station to deal with. And I am also wondering, that i set the entry of all queues. It shall create token whichever the queue is. And there's box be created at queue 1 but i cannot get the label of it. Is it also the problem that I need to set all the sources to create product? Thank you

1696344688489.png


0 Likes
Message 4 of 7

jason_lightfootVL7B4
Autodesk
Autodesk

If you don't push anything to a list then you cannot pull from it.

When I run your model that dialog doesn't even pop up - it's the wrong model I think.

0 Likes
Message 5 of 7

mawyun
Participant
Participant

I only set the creation by Q1, and Q1 is also contain to the one that will be pushed to list. And thank you for your reply, I've tried to save the model again.

my model: small model-correct-21.fsm

0 Likes
Message 6 of 7

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

You are pushing the token to the list, not the item.

capture1.png

This is ok to do, but you have to first copy the "item" label to the pulling token before you can access the object that way. Or you just push the item to the list directly.

Later on you use the label name "item1", which doesn't exist.

Message 7 of 7

mawyun
Participant
Participant
Thank you very much for your help! You're suggestion is very useful. It is exactly the problem of my model.
0 Likes