ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
|
Downloads |
Flexsim Student Forum Forum for discussion for Flexsim Students using the Flexsim Textbook. |
#1
|
|||
|
|||
How to use stopobject command in between processes on a Multiprocessor?
Hello everybody.. Its a simple question .. I am trying to use stopobject(current,STATE_WAITING_FOR_OPERATOR) command on the onprocessfinish trigger on a multiprocessor with a condition if (opnum == 2). But instead of stopping, multiprocessor continues working and gets blocked at the end after all the processes finish.
What is that I am doing wrong..? And how do I do this if I need to stop the Multiprocessor after a certain process. ? |
#2
|
|||
|
|||
You would need to use a senddelayedmessage with a delaytime of 0, then call stopobject in the OnMessage.
The fact that you are using STATE_WAITING_FOR_OPERATOR makes me want to ask what you are trying to accomplish with this approach? |
#3
|
|||
|
|||
thanks for replying.. i had actually already found a solution for this.. what i was trying to accomplish is that since i have written a custom task-sequence for calling an operator for the processes.. i wanted the multiprocessor to stop.. and then wait for the operator and once the operator completes the travel task i wanted it to end the stopobject command..
I figured out that i can put a stopobject task within the tasksequence.. i put that task before travel and then finished the command after the travel task.. |
Thread | Thread Starter | Forum | Replies | Last Post |
Non-cumulative stopobject function | Stefan Trabut | Q&A | 1 | 07-04-2011 05:35 AM |
Question regarding 2 "in-line" gate processes | Jamie Santa Ana | Container Terminal (CT) Library | 3 | 09-02-2009 07:45 PM |
Effects of StopObject on a Source | Simon Riopel | Q&A | 1 | 10-28-2008 01:42 PM |
Multiprocessor Frames | Simon Riopel | Q&A | 3 | 09-09-2008 01:19 AM |
stopping the MultiProcessor | Pablo Concha | Q&A | 4 | 10-31-2007 07:34 PM |