question

poopatel avatar image
0 Likes"
poopatel asked Jeanette F commented

Label from source to use for port by case

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 ?

FlexSim 23.0.0
label valueport by caseprocess flow issue
· 5
5 |100000

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

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

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.


1712124416769.png (6.5 KiB)
1712124432749.png (1.2 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.