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 |
Q&A Using Flexsim and building models |
#1
|
||||
|
||||
Task Sequence For Dispatch several Operators in User Event
Hello there,
I am creating a model, but i need to create a user event to control a custom task Sequence, and it works if i use a specific operator, but the process require 5 operators and the task sequence must be done for the first free operator in the image is the code that i made using a dispatcher object "Dispatcher90", but it doesn't work. So my question is: What have i to change for solve this case? Thanks a lot for your help. Greetings... |
#2
|
|||
|
|||
Hi Zulay,
I am a little confused about the way you create tasksequence. Some uncommon codes may lead your case (But I am not sure): 1. Line 1 is useless; 2. Line 20 unknown variable "current"; 3. Line 28 is useless ( UserEvent does not need a return value). I write some succinct code to create tasksequence in the model attached. And may that helps. |
The Following User Says Thank You to Jing Chen For This Useful Post: | ||
Zulay Sarmiento (08-28-2015) |
#3
|
||||
|
||||
Quote:
Hello, for develope this code i based ind the task sequence example 1 in the flow of a queue. that is the reason because there is useless code and uncommon code. Your solution works a lot. Thanks |
The Following User Says Thank You to Zulay Sarmiento For This Useful Post: | ||
Jörg Vogel (08-29-2015) |
Tags |
custom tasksequence, dispatcher, userevent |
Thread | Thread Starter | Forum | Replies | Last Post |
How to use a User Event? | mearjun | Flexsim Student Forum | 3 | 12-07-2012 03:50 PM |
How to dispatch two or more operators to unload box packed in Pallet? | Ilivid zheng | Q&A | 2 | 01-12-2011 08:48 AM |
User Event as Experimenter? | ankus d | Q&A | 2 | 02-17-2009 08:06 AM |
Waiting to dispatch other task. | Enver Burak KORCAK | Q&A | 2 | 09-15-2008 04:39 AM |
question about User Event | Ning Wang | Q&A | 3 | 04-22-2008 10:56 AM |