question

sara S2 avatar image
0 Likes"
sara S2 asked Jason Lightfoot edited

FlexScript exception: Label property ItemsType retrieved on /Combiner2/Product.

Hello,

I encounter a problem while running the attached model. The process is running correctly, but I get an error message:

"FlexScript exception: Label property ItemsType retrieved on /Combiner2/Product. Label does not exist. at MODEL:/Tools/ProcessFlow/ProcessFlow/Assign Labels>labels/1/2". (ERROR)

ItemsType is a label on CUtote (FIG). I really don't know why I get this error!

Please help me to understand the problem.

Regards.

error.png

fig.png

trying1.fsm

FlexSim 19.0.0
process flow
error.png (266.8 KiB)
fig.png (233.6 KiB)
trying1.fsm (61.4 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.

zacharyh avatar image
2 Likes"
zacharyh answered sara S2 commented
@sara S2

You are getting this error because the token in Process Flow is being created everytime an item enters Combiner 2. The boxes do not have the "ItemsType" label, so that is why the error is coming up. To fix this you can set a requirement to only create that token when it comes from the first input port.

trying1-answer.fsm


· 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.

sara S2 avatar image sara S2 commented ·

Thank you @zachary.h for your help.

0 Likes 0 ·
Oussama M avatar image
0 Likes"
Oussama M answered Jason Lightfoot edited

Hello,I have a sample example of one machine. there are 5 items where each one is characterized by a processisng time with Normal (mean and deviation) distribution. These processing times are define in the table "TablePT". How can I define these values in the processor.

@zachary.h

The file is attached.

Thank you in advance.
test 5.fsm


test-5.fsm (26.8 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

You should post this as a new question - not an answer to an old question.

There's an option for this in the processor properties cycletime options:

1 Like 1 ·
1613141925892.png (111.7 KiB)

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.