ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Flexsim Student Forum
Downloads

Flexsim Student Forum Forum for discussion for Flexsim Students using the Flexsim Textbook.

  #1  
Old 08-18-2012
mearjun mearjun is offline
Flexsim User
 
Join Date: Feb 2012
Posts: 123
Downloads: 5
Uploads: 0
Thanks: 27
Thanked 19 Times in 11 Posts
Rep Power: 119
mearjun will become famous soon enough
Default 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  
Old 09-05-2012
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default

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  
Old 09-10-2012
mearjun mearjun is offline
Flexsim User
 
Join Date: Feb 2012
Posts: 123
Downloads: 5
Uploads: 0
Thanks: 27
Thanked 19 Times in 11 Posts
Rep Power: 119
mearjun will become famous soon enough
Default

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


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.