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 |
#1
|
|||
|
|||
Is there a time dependent trigger?
Hello,
I search a trigger which fires to a given simulation time which I defined. I have a rack where meat products are stored with a best-before label. I want to check every day if there are some products in the rack which are over the best-before date. The best in my eyes would be to have a trigger which fires every day and then could I execute my check of the best-before label. Is there such a trigger in Flexsim? thanks Matthias |
#2
|
|||
|
|||
You could make a repeating user event in the Tools menu.
|
The Following User Says Thank You to Alex Christensen For This Useful Post: | ||
Matthias Hofmann (08-25-2008) |
#3
|
|||
|
|||
Hi Matthias,
Another solution is to use senddelayedmessage. In OnReset for the rack you write senddelayedmessage(current,XX,current). In OnMesseage you write your code to check the best-before date and last of your code you write senddelayedmessage(current,XX,current) again. XX is the repeating time. Lars-Olof Last edited by Lars-Olof Leven; 08-25-2008 at 04:44 AM. |
The Following User Says Thank You to Lars-Olof Leven For This Useful Post: | ||
Matthias Hofmann (08-25-2008) |
Thread | Thread Starter | Forum | Replies | Last Post |
Displaying the simulation time with the various date/time formats. | Regan Blackett | Tips and Tricks | 12 | 11-12-2012 08:01 AM |
On Message Trigger | Anthony Timmiss | Q&A | 19 | 08-13-2008 08:20 AM |
Operator dependent process times | Unregistered | Pre-sales Questions | 7 | 05-23-2008 03:01 PM |
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 |