<?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 Re: How to decide when a processor is busy ? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533993#M42264</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/8187/joshuas.html" nodeid="8187"&gt;@Joshua S&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Hello. In my model here, it doesn`t work because :&lt;BR /&gt;&lt;BR /&gt;when token goes in decide with &lt;BR /&gt;&lt;BR /&gt; model().find("Processor1").as(Object).attrs.state_current.value==1&lt;BR /&gt;&lt;BR /&gt;1 : true / 2 : false&lt;BR /&gt;&lt;BR /&gt;But when my processor is busy, my token goes 2nd way whereas, I want my token goes 1st way when my processor is busy and 2nd way zhen my processor is free&lt;BR /&gt;&lt;BR /&gt;&lt;A id="12874" href="https://answers.flexsim.com/storage/temp/12874-ex13.fsm"&gt;ex13.fsm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jul 2018 20:52:53 GMT</pubDate>
    <dc:creator>abugat</dc:creator>
    <dc:date>2018-07-05T20:52:53Z</dc:date>
    <item>
      <title>How to decide when a processor is busy ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533991#M42262</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello everyone.&lt;BR /&gt;&lt;BR /&gt;Today, I ask you how can I put a decision which say, in ProcessFlow, :&lt;BR /&gt;&lt;BR /&gt;Go 2nd way when Processor1 is busy&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12872-13.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1497272i958D79B8A99D1576/image-size/large?v=v2&amp;amp;px=999" role="button" title="12872-13.png" alt="12872-13.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:02:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533991#M42262</guid>
      <dc:creator>abugat</dc:creator>
      <dc:date>2018-07-05T20:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to decide when a processor is busy ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533992#M42263</link>
      <description>&lt;P&gt;In your decision point, you can use a conditional decide with the condition being:&lt;/P&gt;
&lt;PRE&gt;model().find("Your_Processor's_Name").as(Object).attrs.state_current.value==1&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:11:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533992#M42263</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-07-05T20:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to decide when a processor is busy ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533993#M42264</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/8187/joshuas.html" nodeid="8187"&gt;@Joshua S&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Hello. In my model here, it doesn`t work because :&lt;BR /&gt;&lt;BR /&gt;when token goes in decide with &lt;BR /&gt;&lt;BR /&gt; model().find("Processor1").as(Object).attrs.state_current.value==1&lt;BR /&gt;&lt;BR /&gt;1 : true / 2 : false&lt;BR /&gt;&lt;BR /&gt;But when my processor is busy, my token goes 2nd way whereas, I want my token goes 1st way when my processor is busy and 2nd way zhen my processor is free&lt;BR /&gt;&lt;BR /&gt;&lt;A id="12874" href="https://answers.flexsim.com/storage/temp/12874-ex13.fsm"&gt;ex13.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:52:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533993#M42264</guid>
      <dc:creator>abugat</dc:creator>
      <dc:date>2018-07-05T20:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to decide when a processor is busy ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533994#M42265</link>
      <description>&lt;P&gt;Instead of ==, use !=&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:58:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533994#M42265</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-07-05T20:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to decide when a processor is busy ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533995#M42266</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello Joshua,&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;I have the same issue and I applied the code you just gave and it actually worked but after 1 loop everything just ends up (false) even if the processor is empty&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;can you please help me check on it?&lt;/P&gt;
 &lt;P&gt;Thanks a lot&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot-2023-11-10-120741.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1497269i1C80113477CE9588/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot-2023-11-10-120741.png" alt="screenshot-2023-11-10-120741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot-2023-11-10-190315.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1497270iD49EF5C4E14D4613/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot-2023-11-10-190315.png" alt="screenshot-2023-11-10-190315.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/75901-agv-final-1.fsm" target="_blank"&gt;AGV Final 1.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Nov 2023 11:03:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533995#M42266</guid>
      <dc:creator>adnattas</dc:creator>
      <dc:date>2023-11-10T11:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to decide when a processor is busy ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533996#M42267</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;This looks like it's been answered in y&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/questions/154176/agv-unload-without-checking-if-processor-is-busy.html" target="_blank"&gt;our own question.&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Nov 2023 11:53:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-decide-when-a-processor-is-busy/m-p/13533996#M42267</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-11-10T11:53:32Z</dc:date>
    </item>
  </channel>
</rss>

