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
|
|||
|
|||
is it possible to implement a command like waituntil?
Hi, is it possible to implement a command like waituntil(condition, priority)?
when program excutes to this command, it will suspend until condition is true. when there are many waituntil, priority will tell which one should be test first. this is a command in another simulation package, and I want implement it in flexsim. thanks |
#2
|
||||
|
||||
Hello zhang,
it would be best to have an active message when the condition gets true instead of checking the condition in a certain intervall.
__________________
kind regards Nico. |
#3
|
||||
|
||||
Nico is absolutely right with his post.
I like to refer to another post I did on 11-06-2009, 10:34 AM: http://www.flexsim.com/community/for...read.php?t=760 So if no event occurs at the condition time, your condition will not be checked. If a simulator always checks at every event for conditions, I am pretty sure the simulation run will be slow.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions." |
Thread | Thread Starter | Forum | Replies | Last Post |
findInCode User Command | Jason Lightfoot | User Development | 19 | 05-21-2012 02:16 PM |
Problems with the command dbsqlquery | Matthias Hofmann | Q&A | 4 | 11-21-2008 01:02 PM |
Command getnextnetnodeoutport | Martijn van Oostenbrugge | Q&A | 0 | 02-22-2008 05:42 AM |
releaseitem command | AlanZhang | Q&A | 3 | 10-04-2007 10:11 AM |