<?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 How to close and open the output port of the queue ? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-close-and-open-the-output-port-of-the-queue/m-p/13541337#M48002</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.1.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt; I have just started using Flexsim, I would like to mak a logic between two queues (Queue 1 and Queue 2).&lt;/P&gt;
&lt;P&gt;when the current content of the Queue 1 greater than 0, action close output port of the Queue 2&lt;/P&gt;
&lt;P&gt;when the current content of the Queue 1 equal 0, action open output port of the Queue 2.&lt;/P&gt;
&lt;P&gt;I have tried but the model does not work. Thank you, in advance for your valuable assistance. &lt;/P&gt;</description>
    <pubDate>Thu, 26 Jul 2018 18:59:32 GMT</pubDate>
    <dc:creator>akkache_a</dc:creator>
    <dc:date>2018-07-26T18:59:32Z</dc:date>
    <item>
      <title>How to close and open the output port of the queue ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-close-and-open-the-output-port-of-the-queue/m-p/13541337#M48002</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.1.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt; I have just started using Flexsim, I would like to mak a logic between two queues (Queue 1 and Queue 2).&lt;/P&gt;
&lt;P&gt;when the current content of the Queue 1 greater than 0, action close output port of the Queue 2&lt;/P&gt;
&lt;P&gt;when the current content of the Queue 1 equal 0, action open output port of the Queue 2.&lt;/P&gt;
&lt;P&gt;I have tried but the model does not work. Thank you, in advance for your valuable assistance. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 18:59:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-close-and-open-the-output-port-of-the-queue/m-p/13541337#M48002</guid>
      <dc:creator>akkache_a</dc:creator>
      <dc:date>2018-07-26T18:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to close and open the output port of the queue ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-close-and-open-the-output-port-of-the-queue/m-p/13541338#M48003</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/9376/akkachea.html" nodeid="9376"&gt;@AKKACHE A&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You had everything right except one small detail.  In Queue1 in the OnExit trigger, you are testing for no flowitems in the Queue.  Problem is, is that when the OnExit trigger fires, it still has the flowitem in the queue, hasn't exited yet.  So you need to test for 1 flowitem (last in the queue) being in the queue.  I made that change in the attached model.  Take a look at the model and see if it is doing what you wanted it to do.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;A id="13386" href="https://answers.flexsim.com/storage/attachments/13386-akkache-test-jn1.fsm"&gt;akkache-test-jn1.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 19:56:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-close-and-open-the-output-port-of-the-queue/m-p/13541338#M48003</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2018-07-26T19:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to close and open the output port of the queue ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-close-and-open-the-output-port-of-the-queue/m-p/13541339#M48004</link>
      <description>&lt;P&gt;It is perfectly correct, Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 20:27:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-close-and-open-the-output-port-of-the-queue/m-p/13541339#M48004</guid>
      <dc:creator>akkache_a</dc:creator>
      <dc:date>2018-07-26T20:27:33Z</dc:date>
    </item>
  </channel>
</rss>

