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 01-25-2010
KelvinHo KelvinHo is offline
Flexsim User
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 129
Downloads: 18
Uploads: 1
Thanks: 44
Thanked 23 Times in 7 Posts
Rep Power: 171
KelvinHo will become famous soon enough
Default Question on OnMessage Trigger

Hi,

I would like to ask about the OnMessage Trigger.

If a queue already have some flowitems inside, which these flowitems are not released (i.e. the label mismatch the pull requirement of next object), then after some other process, the queue's OnMessage Trigger start and changed the labels of the flowitems which allow them to go out.

But seems the flowitems cannot be released.

Is it coz the pull requirment will only be checked when the flowitems just enter the previous object?

Thanks.
Kelvin
  #2  
Old 01-26-2010
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Kelvin,

If you open the output of the queue this can retrigger the all the downstream pull requirements to search all the items.

When a single item is released in the queue, usually only the lastreleased flowitem is reconsidered by the pullrequirement code. If you want all the flowitems to be reconsidered then you need to check the Reevaluate PullRequirement flag (variable pullcontinuous) below the pull requirement triggers.

Last edited by Jason Lightfoot; 01-26-2010 at 03:04 AM.
  #3  
Old 01-26-2010
Nico Zahn's Avatar
Nico Zahn Nico Zahn is offline
Flexsim User
 
Join Date: Sep 2007
Location: Bingen am Rhein, Germany
Posts: 179
Downloads: 19
Uploads: 4
Thanks: 66
Thanked 60 Times in 32 Posts
Rep Power: 201
Nico Zahn has a spectacular aura aboutNico Zahn has a spectacular aura about
Default

Check this post:

http://www.flexsim.com/community/for...highlight=pull
__________________
kind regards Nico.


Thread Thread Starter Forum Replies Last Post
one question about custom draw code trigger LINWEIXU Q&A 5 08-03-2009 11:21 PM
Is there a time dependent trigger? Matthias Hofmann Q&A 3 08-25-2008 05:50 AM
On Message Trigger Anthony Timmiss Q&A 19 08-13-2008 08:20 AM
return 1 in entry trigger? qin tian Q&A 1 05-07-2008 04:05 PM
Entry trigger mallik Q&A 4 01-25-2008 07:18 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.