FlexScript exception - Label does not exist.

antonio_l
Not applicable
1 View
5 Replies
Message 1 of 6

FlexScript exception - Label does not exist.

antonio_l
Not applicable

[ FlexSim 18.2.0 ]

Hi All,

this is my first review of FlexSim and my first model. I'm trying to model a system where two sources create two different parts. One part will be processed in a first Processor and the other to a second processor. If I include a "conditional port" or a "Port by case" in the output of the Queue between the sources and the processes I get this message in the system console everytime a part is processed:

time: 18.000000 exception: FlexScript exception: Label property Type retrieved on /Queue1/Box. Label does not exist. at MODEL:/Queue1>variables/sendtoport

Also, the system is not working as expected. What am I doing wrong?

Thank you.

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

roi_sn
Not applicable

Hello @Antonio L, would it be possible that you attach the model? Then, it could be seen what it is happening and help you.

Message 3 of 6

gilbert_jerald
Not applicable
Accepted solution

@Antonio L

Hi Antonio,

Port by case logic will work on the basis of label-value on the created item. The error that you get is because you didn't set a label value on the created item.

I have attached the model for your reference have a look at it.

support-1.fsm

Thanks

0 Likes
Message 4 of 6

antonio_l
Not applicable

Thank you gilbert jerald. That was the key.

The model you sent was very helpful.

Regards.

0 Likes
Message 5 of 6

abraham_vo2
Not applicable
Hola que tal amigo @gilbert jerald . Un favor . Me podrías ayudar en una simulación parecida al error que le salió al amigo @Roi Sánchez
0 Likes
Message 6 of 6

abraham_vo2
Not applicable

te dejo mi correo bro espero y me puedas ayudar abraham.vazquez1768@uppuebla.edu.mx


0 Likes