question

Marvin P avatar image
0 Likes"
Marvin P asked Jordan Johnson commented

No Processor animation with PF

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.

FlexSim 21.0.5
processflowprocessoranimation
10112021.fsm (33.7 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

Ralf Gruber avatar image
0 Likes"
Ralf Gruber answered Jordan Johnson commented

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

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Marvin P avatar image Marvin P commented ·
Thank you!
0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ commented ·

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

0 Likes 0 ·
zerodelaydemo.fsm (36.4 KiB)