question

chia725 avatar image
0 Likes"
chia725 asked chia725 commented

The Use of Label in Different Process FLow

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

FlexSim 21.0.10
label
1696342499636.png (15.0 KiB)
1696342523060.png (22.6 KiB)
· 4
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

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 0 ·
1696343116236.png (5.1 KiB)
chia725 avatar image chia725 Jason Lightfoot ♦ commented ·

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 0 ·
1696344688489.png (31.5 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ chia725 commented ·

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 0 ·
Show more comments

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered chia725 commented

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.


capture1.png (6.3 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.

chia725 avatar image chia725 commented ·
Thank you very much for your help! You're suggestion is very useful. It is exactly the problem of my model.
0 Likes 0 ·

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.