question

JulHa avatar image
0 Likes"
JulHa asked Joerg Vogel commented

Stop processor trigger

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

FlexSim 25.0.0
triggerprocesorprocessor stop
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

Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas answered Joerg Vogel commented

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.

· 3
5 |100000

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

JulHa avatar image JulHa commented ·

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 0 ·
1734973503193.png (342.4 KiB)
Sebastián Cañas avatar image Sebastián Cañas JulHa commented ·

@JulHa ,

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

StopObject.fsm

0 Likes 0 ·
stopobject.fsm (27.7 KiB)
Joerg Vogel avatar image Joerg Vogel commented ·
@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 0 ·