question

ged0313 avatar image
0 Likes"
ged0313 asked ged0313 commented

outObject: Label does not exist

Hello,

I’ve encountered a problem when setting the label of recording finished product. My layout is to create a temporary zone(queue) after the processor. The error message is as below:


time: 571.304398 exception: FlexScript exception: Label property outObject retrieved on /Processor1. Label does not exist. at MODEL:/Tools/ProcessFlow/AGV/紀錄成品參數>labels/1/2


My 紀錄成品參數(assign label) activity is as below:

I thought that the token.item.up.as(Object).outObjects[1].first is to carry the first item in the queue. However there’s already item here.

1690263410458.jpg

I’m wondering does it mean that I need to edit the label of the item in the queue? The label of the flow item now is:

1690263708658.jpg

Thanks for any of your help!

FlexSim 23.0.9
labeloutobject
1690263449111.jpg (86.7 KiB)
1690263410458.jpg (45.7 KiB)
1690263708658.jpg (28.1 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.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered ged0313 commented

Hmm, in your picture I see a misspelled outObjects property. There is an “s” missing. Can this be the mentioned problem, because “outObject” is interpreted as a label.

EDIT: your picture assigns your code to a label called “item” and not “destination”.

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

ged0313 avatar image ged0313 commented ·
Yes! It's exactly the problem! Thank you so much
0 Likes 0 ·