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
|
|||
|
|||
Can not catch the number of label
I set 2 labels,
one is at the queue (called "start_time") and the other is at the sink(called "end_time") I know the problem is I can't catch the number of the "end_time" But I am sure the code is right... thx~ |
#2
|
||||
|
||||
Your model it catching the end_time just fine. The problem is that your labels (start_time and end_time) are equal (see attached model). When label start_time is printed when written to in the queue and when the label end_time is written to in the sink are displayed (in attached model) they are the same value. That seems to be where you problem is.
__________________
Jeff Flexsim Support |
Thread | Thread Starter | Forum | Replies | Last Post |
Statistics: Random Number Streams | Tom David | Q&A | 19 | 08-12-2014 02:02 AM |
how to set preempt by label? | Vic Li | Q&A | 4 | 10-19-2008 01:51 AM |
String as label of a flowitem | Matthias Hofmann | Q&A | 2 | 09-18-2008 11:15 AM |
Checking to see if a label exists | Paul Dowling | Q&A | 3 | 04-28-2008 11:03 PM |
Setting the number of operators | Sung Kim | Q&A | 4 | 02-05-2008 12:31 PM |