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
|
|||
|
|||
Record Staytime
I'm trying to set up a table that records the staytime of a truck. I'd like to get the time it takes a truck to drive through a gate road and go through a processor. I'm having trouble trying to set a label on a truck. In the OnEntry trigger of the gate road, i'd input setlabelnum(item, "start_time", time). I don't think it works if I use "item" as the object. Can someone help me with the code?
Thanks. |
#2
|
|||
|
|||
I got it to work. After doing a more thorough search on the forum , I found that I needed to add the label to the flow item in the flow item bin. Then that enabled me to set a label to the item.
Thanks |
Thread | Thread Starter | Forum | Replies | Last Post |
Record object variance staytime | Vic Li | Q&A | 8 | 12-22-2010 11:01 AM |
Dispatcher and staytime problem | Lin Jincong | Q&A | 2 | 01-15-2009 08:35 PM |
How to turn on stats history in Vista to use Record object | syseo | Q&A | 1 | 09-22-2007 01:45 AM |