Stop processor trigger

Stop processor trigger

JulHa1
Not applicable
710 Views
4 Replies
Message 1 of 5

Stop processor trigger

JulHa1
Not applicable

[ FlexSim 25.0.0 ]

Hello together,


Is it possible to stop a processor with a trigger. I don't want to just stop the In- or Output. I want to completly stop it processing and continueing when I set the next trigger.


Tank you and best regards,


Julius

0 Likes
711 Views
4 Replies
Replies (4)
Message 2 of 5

SebastianCanasV
Collaborator
Collaborator

Hey @JulHa ,

You can use these methods to stop an object and resume it:

Object.stop()
Object.resume()

Check the documentation to understand the parameters examples.

0 Likes
Message 3 of 5

JulHa1
Not applicable

I already tried to change the trigger-code. But just replacing the "closeinput" with involved.stop() is not working.

I think my programming knowledge is a little bit too less for this task.screenshot-89.png



0 Likes
Message 4 of 5

SebastianCanasV
Collaborator
Collaborator

@JulHa ,

Check this example using conditional. There's a trigger in the first processor and the sink.

StopObject.fsm

0 Likes
Message 5 of 5

joerg_vogel_HsH
Mentor
Mentor
@JulHa, once you called a stop on an object, it is dead. You can only get into action back from another entity like a different object, process flow, model trigger. Nothing in the stop object will react and bring this object into life back within.
0 Likes