04-29-2015 01:51 PM
Dear Community members,
I have this method:
is
do
if source.statnumOut=0
then @.move;
else
waituntil singleproc.occupied prio 1;
@.move end;
end;
instead of
waituntil singleproc.occupied prio 1
i want to say "wait until the previous entity exit from the last process (called Singleproc)".
Is it possible?
Thank you
Solved! Go to Solution.
04-29-2015 04:17 PM
let pass the first part in the exit control of the source with:
is
do
--let pass only the first part
if self.~.statNumIn=1 then
@.move;
end;
end;
Then add a exit control rear in the last process and move one part from the source:
is
do
source.cont.move;
end;
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
04-30-2015 06:59 AM
Many Thanks!