PhotoEye trigger Acquire Area

PhotoEye trigger Acquire Area

aida_c2
Not applicable
7 Views
2 Replies
Message 1 of 3

PhotoEye trigger Acquire Area

aida_c2
Not applicable

[ FlexSim 21.0.2 ]

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.

36284-1611663763357.png

If I write:

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

in line 4 of the code it is successful.


Accepted solutions (1)
8 Views
2 Replies
Replies (2)
Message 2 of 3

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

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.

Message 3 of 3

aida_c2
Not applicable

Thank you!

0 Likes