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 |
#21
|
|||
|
|||
It'll get complicated here. Because you're using the OnExit trigger, you can only write data to one FlowItem at that time. So you have to come up with a logic that knows which sub-part is currently leaving the seperator. You could realize this by incrementing a label (on the seperator itself).
That means after the first sub-part, the label has to have value 1. Your OnExit trigger now has to have a functionality that looks through your rows, skips the first "search result" (where it refers to the current counter value), takes the information from the next row of the PlateNr., assignes the info to the FlowItem's labels, increments the count label on the seperator, skips the first two "search results" in the next run, increments the label, .... and so on until all sub-parts have been processed. Then the count label should be reset to zero until the next FlowItem comes and will be split in sup-parts. Good luck :-) // Oh .. should have refreshed my browser. Steven's post is quite what I also wanted to point out |
The Following User Says Thank You to Jens Mühlheimer For This Useful Post: | ||
jasonjj (06-05-2012) |
Thread | Thread Starter | Forum | Replies | Last Post |
how to get the last item in separator? | oliver xie | Q&A | 6 | 10-28-2011 08:20 AM |
Simple Separator Question | Anthony Timmiss | Q&A | 1 | 01-25-2010 08:22 AM |
o(Separator, current).v_unpack | Dane Lee | Q&A | 2 | 08-05-2009 02:29 PM |
Problem about Separator | wutian | Q&A | 8 | 06-18-2008 11:58 PM |
[Suggestion] multi tasking combiner/ separator | KelvinHo | Gripes and Goodies | 0 | 05-20-2008 06:48 PM |