"On AGV ..." returns network as event object

"On AGV ..." returns network as event object

moehlmann_fe
Observer Observer
6 Views
2 Replies
Message 1 of 3

"On AGV ..." returns network as event object

moehlmann_fe
Observer
Observer

[ FlexSim 22.2.0 ]

While answering this post I noticed that the 'Event Object' for the "On AGV ..." events is set as the AGVNetwork object when using the 'Assign Event Object To' field.

1658906686730.png

Is this by design?

Seeing how one can listen to this event for individual task executers and that the event node current of a statistics collector that listens to such an event points to the task executer, it should also be possible to get a reference to the task executer in the event-triggered source (when listening to multiple objects)?

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

anthony_johnsonT83CM
Autodesk
Autodesk
Accepted solution

I assume this is because the 'owning object' that process flow assigns is retrieved by calling ownerobject(eventNode). In the case of AGV events, the event node is stored in an instance of an AGV type, which technically does not have object data, so ownerobject() skips over it and goes to the navigator.

I'll add an issue to our dev list to figure out a way to make this work.

Message 3 of 3

Matthew_Gillespie
Autodesk
Autodesk

@Felix Möhlmann This bug has been fixed for 22.0.11 and 23.0.1 which come out later this week.



Matthew Gillespie
FlexSim Software Developer