No Processor animation with PF

No Processor animation with PF

marvin_p
Not applicable
6 Views
3 Replies
Message 1 of 4

No Processor animation with PF

marvin_p
Not applicable

[ FlexSim 21.0.5 ]

Hello,

i have not worked with FlexSim for a while, now i have one simple Question. Why the processors 2,3, 4 are not animated when I control the model with the process flow?10.11.2021.fsm


Thanks for your support.

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

ralf_gruber
Collaborator
Collaborator
Accepted solution

Hello Marvin,

I do not know the exact specifics but OnProcessFinish is not the last event executed in the processors event sequence. If you change your Wait for Events to listen to SendToPort instead you got your animations back on the following processors.

@Jordan Johnson Could you please chime in and explain the technical background on why the animations are not happening on all but the first processors?

Thx

0 Likes
Message 3 of 4

marvin_p
Not applicable
Thank you!
0 Likes
Message 4 of 4

JordanLJohnson
Autodesk
Autodesk

With most (probably all) triggers, it isn't safe to move the item immediately. When you use a Wait for Event, the token executes its logic before the Processor has finished executing its logic. So, if you are moving the item, you need to add a Delay activity with zero time between the Wait for Event and Move Object activities. A zero-time delay allows the Processor's logic to totally finish.

ZeroDelayDemo.fsm

.


Jordan Johnson
Principal Software Engineer
>

0 Likes