Label from source to use for port by case

poopatel
Not applicable
0 Views
6 Replies
Message 1 of 7

Label from source to use for port by case

poopatel
Not applicable

[ FlexSim 23.0.0 ]

Pallet_WIP_req_model.fsm1712012861001.png

Hii I am creating parts using process flow at Incoming_Modules. I am assigning a label to it 100 and non_100s. I want to split parts from split buffer using port by case but its giving me error saying Type label doesn't exists. Can someone please tell me the issue of why I am unable to split via port by case ?

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

joerg_vogel
Not applicable
You add one single label. Different values are responsible to switch by case.
0 Likes
Message 3 of 7

poopatel
Not applicable

1712092381189.png 1712092400672.png

1712092446640.png


I have a label name Type which can be 1 or 2. I have also given a set label in combiner1 but for some reason Split_Buffer is not able to send item as per label to different ports.

Pallet_WIP_req_model.fsm

0 Likes
Message 4 of 7

joerg_vogel
Not applicable
@poopatel, Queue1 contains only one color type of pallet. It seems Split_Buffer does exactly what you describe.
0 Likes
Message 5 of 7

poopatel
Not applicable
Its not. If you open the model and run it. I want one color in Q1 and other in Q2 but its not working for me.
0 Likes
Message 6 of 7

moehlmann_fe
New Member
New Member
Accepted solution

The "Type" label values are strings. You can see this both in the source where you assign them and by the fact that the value is aligned to the left in the label field.

1712124416769.png1712124432749.png

The Port By Case option compares the value to numbers, which the label values are not equal to and thus only the "default" port 1 is used.

Either change the label values to be numeric or adjust the Port By Case so it uses string values as well.

0 Likes
Message 7 of 7

jeanette_fullmer88DK3
Autodesk
Autodesk

Hi @poopatel, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes