question

Aida Chaikh avatar image
2 Likes"
Aida Chaikh asked Aida Chaikh commented

PhotoEye trigger Acquire Area

Hello,

When I choose the option Acquire Area in a PhotoEye Trigger appears an error in the system console. I think that the reason is because the variable conveyorItem is not declared.

If I write:

Conveyor.Item conveyorItem = conveyor.itemData[item];

in line 4 of the code it is successful.


FlexSim 21.0.2
bug reportflexsim 21.0.2photo eye
1611663763357.png (51.0 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

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Aida Chaikh commented

Yes the headers were changed I think in response to the problem that during a delayed action the item might have left the conveyor. In other picklist options it was changed to something like this:

item.up.as(Conveyor).itemData[item].stop();

I'll add it to the dev list. Thanks for pointing it out.

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

Aida Chaikh avatar image Aida Chaikh commented ·

Thank you!

0 Likes 0 ·