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
|
|||
|
|||
Number of ports
I have a situation where the number of input ports for a processor are changing dynamically. Is there a command that I can run off a trigger which will tell me how many input ports are connected to this processor?
-thanks
__________________
"A bird is an instrument working according to mathematical law, which is within the capacity of man to reproduce." -Leonardo da Vinci, 1502 |
#2
|
||||
|
||||
Have you tried nrip()? . I'm not sure if it is changed dynamically or set 1 time. Just give it a try
|
The Following 3 Users Say Thank You to Steven Hamoen For This Useful Post: | ||
Sebastian Hemmann (02-19-2014) |
#3
|
|||
|
|||
that did the trick.
__________________
"A bird is an instrument working according to mathematical law, which is within the capacity of man to reproduce." -Leonardo da Vinci, 1502 |
#4
|
|||
|
|||
Number of ports
As Steven said nrip(obj object) could be an option.
Description: Get the number of input ports of object Example: nrip(current)
__________________
Michael Machado - FlexSim Brasil |
Thread | Thread Starter | Forum | Replies | Last Post |
Send flowitems to different ports by percentage! | DilAmaya | Container Terminal (CT) Library | 7 | 12-26-2013 05:13 AM |
Show i/o ports, not show center ports | Bennett Foster | Gripes and Goodies | 1 | 11-05-2012 03:51 AM |
Problem in opening and closing ports | claudia gertheinrich | Q&A | 3 | 01-22-2010 02:34 AM |
Conect ports in the tree | Sebastian Hemmann | Q&A | 3 | 01-14-2010 08:41 AM |
Question on sending to different ports | Jamie Santa Ana | Container Terminal (CT) Library | 2 | 09-09-2009 02:54 PM |