<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Select range of output ports based on item label value. in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/select-range-of-output-ports-based-on-item-label-value/m-p/13593955#M89185</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Hi, I would need some help with this model as I can't get it to work correctly.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;I need products to flow to a group of machines based on the value of a label.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flexsimquestion-2.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518078i158624DA56B9277C/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexsimquestion-2.png" alt="flexsimquestion-2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;With the statement "case" I have been able to do this by selecting specific ports, but I would need a similar logic that allows me to select a range of ports.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;I have tried to do some code in FlexScript but it does not work correctly as it does not handle correctly the situation where all the ports in the range are not available.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;To use intermediate buffers is not an option because I don't want to add extra WIP to the model.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Regards,&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 04 Jul 2023 08:28:43 GMT</pubDate>
    <dc:creator>ABarranco</dc:creator>
    <dc:date>2023-07-04T08:28:43Z</dc:date>
    <item>
      <title>Select range of output ports based on item label value.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/select-range-of-output-ports-based-on-item-label-value/m-p/13593955#M89185</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Hi, I would need some help with this model as I can't get it to work correctly.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;I need products to flow to a group of machines based on the value of a label.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flexsimquestion-2.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518078i158624DA56B9277C/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexsimquestion-2.png" alt="flexsimquestion-2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;With the statement "case" I have been able to do this by selecting specific ports, but I would need a similar logic that allows me to select a range of ports.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;I have tried to do some code in FlexScript but it does not work correctly as it does not handle correctly the situation where all the ports in the range are not available.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;To use intermediate buffers is not an option because I don't want to add extra WIP to the model.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Regards,&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jul 2023 08:28:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/select-range-of-output-ports-based-on-item-label-value/m-p/13593955#M89185</guid>
      <dc:creator>ABarranco</dc:creator>
      <dc:date>2023-07-04T08:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select range of output ports based on item label value.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/select-range-of-output-ports-based-on-item-label-value/m-p/13593956#M89186</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Sadly there isn't an easy way to get a "First Available out of X" functionality in the Send to Port option. What you can do however, is to utilize the Pull option on the downstream processors. Processor0 would just be set to "First Available" and you define Pull Requirements on the other processors that only allow them to pull the correct types of items.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="capture1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518076i3C004FEBC2A6E186/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture1.png" alt="capture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jul 2023 08:40:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/select-range-of-output-ports-based-on-item-label-value/m-p/13593956#M89186</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-07-04T08:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select range of output ports based on item label value.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/select-range-of-output-ports-based-on-item-label-value/m-p/13593957#M89187</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you, it works perfectly like that, I hadn't thought about it the other way round.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jul 2023 08:50:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/select-range-of-output-ports-based-on-item-label-value/m-p/13593957#M89187</guid>
      <dc:creator>ABarranco</dc:creator>
      <dc:date>2023-07-04T08:50:22Z</dc:date>
    </item>
  </channel>
</rss>

