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 > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 08-27-2015
Zulay Sarmiento's Avatar
Zulay Sarmiento Zulay Sarmiento is offline
Flexsim User
 
Join Date: Mar 2014
Location: Barranquilla, Colombia
Posts: 9
Downloads: 1
Uploads: 0
Thanks: 9
Thanked 3 Times in 2 Posts
Rep Power: 0
Zulay Sarmiento is on a distinguished road
Question 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...
Attached Thumbnails
Click image for larger version
Name:	trasksequenceDispatcher.png
Views:	637
Size:	167.7 KB
ID:	3007  
  #2  
Old 08-28-2015
Jing Chen
Guest
 
Posts: n/a
Downloads: 2
Uploads: 0
Default

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.
Attached Files
File Type: fsm UserEvent_Dispatcher_Task.fsm (28.3 KB, 581 views)
The Following User Says Thank You to Jing Chen For This Useful Post:
Zulay Sarmiento (08-28-2015)
  #3  
Old 08-28-2015
Zulay Sarmiento's Avatar
Zulay Sarmiento Zulay Sarmiento is offline
Flexsim User
 
Join Date: Mar 2014
Location: Barranquilla, Colombia
Posts: 9
Downloads: 1
Uploads: 0
Thanks: 9
Thanked 3 Times in 2 Posts
Rep Power: 0
Zulay Sarmiento is on a distinguished road
Talking

Quote:
Originally Posted by Jing Chen View Post
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.

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


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.