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 09-30-2009
Bartosz Misiurek Bartosz Misiurek is offline
Flexsim User
 
Join Date: Sep 2009
Location: Wroclaw, Poland
Posts: 3
Downloads: 1
Uploads: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Bartosz Misiurek is on a distinguished road
Default Starting content in the Queue

Hello everyone,

it is possible to set starting content in the queue? For example if I woluld like to start simulate process from setting value of content in queue. I wolud like to write my real values (which I have now in my production line) in queues. It is possible?

THANK YOU!
  #2  
Old 09-30-2009
Brandon Peterson's Avatar
Brandon Peterson Brandon Peterson is offline
The Flexsim Consultant
 
Join Date: Jul 2007
Location: Salt Lake City, Utah
Posts: 382
Downloads: 29
Uploads: 6
Thanks: 192
Thanked 516 Times in 235 Posts
Rep Power: 490
Brandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant future
Default

Bartosz,

In the OnReset Trigger select the sendmessage pick list option. Set the 1st message parameter to the number of flowitems you want to create and the 2nd message parameter to the rank of the flowitem. You can get the rank by looking in the Flowitem bin. Then set the OnMessage trigger to the create flowitems pick list option.

This will create the items in the Queue at time zero.

Here is a tutorial on how to do this:


There are (maybe) more tutorials in this thread: http://www.flexsim.com/community/for...ead.php?t=1112

Good Luck,
Brandon
__________________
thats not normal.

Last edited by Brandon Peterson; 09-30-2009 at 04:36 PM. Reason: Added video
The Following 2 Users Say Thank You to Brandon Peterson For This Useful Post:
Phil BoBo (10-01-2009)
  #3  
Old 10-03-2009
Bartosz Misiurek Bartosz Misiurek is offline
Flexsim User
 
Join Date: Sep 2009
Location: Wroclaw, Poland
Posts: 3
Downloads: 1
Uploads: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Bartosz Misiurek is on a distinguished road
Thumbs up

Thank You vey much! Work for me, but I have one more question, how to set itemtype in the Queue on starting position because I have 9 others itemtypes and for all of them I have dedicated 9 Queues. So now when I did send massage on the reset in every Queue I got in all 9 Queues the same Itemtype. I hope that You understand me :-). I would like to set dedicated itemtpye to every Queue.

THANK YOU for your helping me :-)

Bartosz misiurek
  #4  
Old 10-03-2009
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default

Bartosz,

You need to add one line of code to set the item type.
Insert the following line in the OnMessage trigger after the insertcopy() command in the for loop:
setitemtype(last(current),2);
This will set the item type to 2.
You can also do it the way, that you use msgparam(3) to set the itemtype. Define it OnReset as msgparam(3) and change the line to:
setitemtype(last(current),msgparam(3));
I hope this is what you are looking for. Good success.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
The Following User Says Thank You to Tom David For This Useful Post:
Brandon Peterson (10-04-2009)
  #5  
Old 10-04-2009
Brandon Peterson's Avatar
Brandon Peterson Brandon Peterson is offline
The Flexsim Consultant
 
Join Date: Jul 2007
Location: Salt Lake City, Utah
Posts: 382
Downloads: 29
Uploads: 6
Thanks: 192
Thanked 516 Times in 235 Posts
Rep Power: 490
Brandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant future
Default

Bartosz,

Here is another video that will walk you through how to use the picklist options to do what you are asking about:


Good Luck,
Brandon
__________________
thats not normal.


Thread Thread Starter Forum Replies Last Post
Pulling from a Queue vs Sorting the Queue Brandon Peterson Tips and Tricks 3 03-03-2010 01:27 AM
Batch/Max Content Gavin Douglas Q&A 4 07-09-2008 12:28 AM
Queue Sorting Jeff Nordgren Q&A 12 05-22-2008 03:21 PM
How to get interval average,max,etc of a queue content ? qin tian Q&A 5 02-14-2008 10:11 PM
Queue stacking Paul Dowling Q&A 2 11-27-2007 11:57 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.