question

Olav Narjord avatar image
0 Likes"
Olav Narjord asked Olav Narjord commented

Reference to the conveyor that a decision point or photo eye is on

I am making a model that is dependent on a set of photoeyes and decision points, and more specifically, the queue size that the photo eye or decision point is placed on.

An example to illustrate the usage:

I have a picking station respresented by a photo eye that I want to know the queue size of. That is, I want to know the amount of totes on the conveyor. I haven't found reliable way to make a reference to conveyor via the photo eye, and have been assigning labels manually.

Is there a way to take a given photo eye as input, and return the conveyor that the photo eye (or decisoin point) that it is placed on?

Any help would be appreciated. Thanks.

FlexSim 22.1.4
conveyorsdecision pointsassign labelsconveyor decision point
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 Olav Narjord commented
myPhotoEye.as(Conveyor.DecisionPoint).conveyor
· 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.

Olav Narjord avatar image Olav Narjord commented ·
Thank you! Works as intended. Should have gone through the documentation more thoroughly.
1 Like 1 ·

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.