ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
FAQ Downloads Calendar Search Mark Forums Read

Q&A Using Flexsim and building models

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2014
Gavin Douglas Gavin Douglas is offline
Flexsim User
 
Join Date: Feb 2008
Posts: 65
Downloads: 1
Uploads: 0
Thanks: 27
Thanked 1 Time in 1 Post
Rep Power: 148
Gavin Douglas is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 02-17-2014
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 680
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

Have you tried nrip()? . I'm not sure if it is changed dynamically or set 1 time. Just give it a try
Reply With Quote
The Following 3 Users Say Thank You to Steven Hamoen For This Useful Post:
Gavin Douglas (02-18-2014), Jörg Vogel (02-17-2014), Sebastian Hemmann (02-19-2014)
  #3  
Old 02-18-2014
Gavin Douglas Gavin Douglas is offline
Flexsim User
 
Join Date: Feb 2008
Posts: 65
Downloads: 1
Uploads: 0
Thanks: 27
Thanked 1 Time in 1 Post
Rep Power: 148
Gavin Douglas is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 02-18-2014
mefhsmflexsimbr mefhsmflexsimbr is offline
FlexSim Brasil
 
Join Date: May 2013
Location: Campinas, SP Brasil
Posts: 23
Downloads: 10
Uploads: 0
Thanks: 73
Thanked 10 Times in 8 Posts
Rep Power: 88
mefhsmflexsimbr is on a distinguished road
Thumbs up 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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -6. The time now is 04:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.