<?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: Check if AGV is loaded or empty at a control point in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/check-if-agv-is-loaded-or-empty-at-a-control-point/m-p/13485419#M4041</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You should use the source to assign the agv as a label:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36648-1612805905086.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504991i8FD51B6E57BD748C/image-size/large?v=v2&amp;amp;px=999" role="button" title="36648-1612805905086.png" alt="36648-1612805905086.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then use token.agv.subnodes.length&lt;/P&gt;&lt;P&gt;At the moment there is no arrival event - try using pre-arrival.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 08 Feb 2021 17:41:36 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2021-02-08T17:41:36Z</dc:date>
    <item>
      <title>Check if AGV is loaded or empty at a control point</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/check-if-agv-is-loaded-or-empty-at-a-control-point/m-p/13485418#M4040</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;As an extension of &lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/questions/97407/control-point-statistics-using-tracked-variable.html" target="_blank"&gt;this&lt;/A&gt; exercise, I want to check if an AGV is loaded or unloaded when it arrives at a control point. I created two tracked variables, AGVLoaded and AGVEmpty which will be incremented depending on the AGV status at the control point where the check happens.&lt;/P&gt;
 &lt;P&gt;I think it should be possible using a simple conditional decide, but it seems like I keep referencing the AGV at the control point and not its subnodes.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36664-cp-statistic-condition.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504993i4F3EF4B0BB8C1ECA/image-size/large?v=v2&amp;amp;px=999" role="button" title="36664-cp-statistic-condition.png" alt="36664-cp-statistic-condition.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;What is wrong here?&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/36646-control-point-statistics-282020.fsm" target="_blank"&gt;Control_Point_Statistics_2.8.2020.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Feb 2021 17:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/check-if-agv-is-loaded-or-empty-at-a-control-point/m-p/13485418#M4040</guid>
      <dc:creator>amit_k2</dc:creator>
      <dc:date>2021-02-08T17:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Check if AGV is loaded or empty at a control point</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/check-if-agv-is-loaded-or-empty-at-a-control-point/m-p/13485419#M4041</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You should use the source to assign the agv as a label:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36648-1612805905086.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504991i8FD51B6E57BD748C/image-size/large?v=v2&amp;amp;px=999" role="button" title="36648-1612805905086.png" alt="36648-1612805905086.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then use token.agv.subnodes.length&lt;/P&gt;&lt;P&gt;At the moment there is no arrival event - try using pre-arrival.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Feb 2021 17:41:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/check-if-agv-is-loaded-or-empty-at-a-control-point/m-p/13485419#M4041</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2021-02-08T17:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Check if AGV is loaded or empty at a control point</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/check-if-agv-is-loaded-or-empty-at-a-control-point/m-p/13485420#M4042</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Worked like a charm! Thanks, Jason!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Feb 2021 17:57:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/check-if-agv-is-loaded-or-empty-at-a-control-point/m-p/13485420#M4042</guid>
      <dc:creator>amit_k2</dc:creator>
      <dc:date>2021-02-08T17:57:34Z</dc:date>
    </item>
  </channel>
</rss>

