<?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: Data table or dashboard. in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598695#M92868</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Double click on the array value field and a window should open in which you can add entries to it. Use the script console to check the state numbers of various states through the defines (for example STATE_PROCESSING or STATE_SETUP which would return 2 and 21 respectively).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744406552008.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527189iEE00D9A56E95EF6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744406552008.png" alt="1744406552008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You need to define that the exit event should update the state columns.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744406605831.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527190iC3C43F29007AA72F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744406605831.png" alt="1744406605831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And in your model you currently listen to the events of a separator. The Statistics Collector will only work for the first item properly since the others are created when the process time elapses. The state times for those items will always be 0. You can ignore them by only having the Stats Collector react to the On Exit event when a row for that item already exists (see the second model I attached in the answer).&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 11 Apr 2025 21:26:49 GMT</pubDate>
    <dc:creator>moehlmann_fe</dc:creator>
    <dc:date>2025-04-11T21:26:49Z</dc:date>
    <item>
      <title>Data table or dashboard.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598692#M92865</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 25.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello!&lt;/P&gt;
 &lt;P&gt;I'm looking for a dashboard or a table that allows me to extract the stay time bar by processor, but by items.&lt;/P&gt;
 &lt;P&gt;I found this dashboard where I see the different states of the machine), but it only gives the total,&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744313505137.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527192iDE182D93CCB7C6F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744313505137.png" alt="1744313505137.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;And I need something like this:&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744313761244.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527193i54F2C4F3EC821309/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744313761244.png" alt="1744313761244.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Is there any way to do it ?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thank you !&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Apr 2025 19:38:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598692#M92865</guid>
      <dc:creator>samuel_patarroyodiaz</dc:creator>
      <dc:date>2025-04-10T19:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Data table or dashboard.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598693#M92866</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Yes, you can build a custom Statistics Collector for this.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91681-state-times-by-item.fsm" target="_blank"&gt;state-times-by-item.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A label array denotes which state time should be tracked. Based on that a column set is created. When an item enters the processor, the collector stores the current total times in each state in a row label. When the item exits the state columns are updated with the difference between the totals at that point and the previously stored values.&lt;/P&gt;&lt;P&gt;In a combiner this will only work for the container item, since all other items will be placed in the container item immediately and thus not spend any time in the combiner itself. So you might want to restrict the Statistics Collector to only trigger for items entering through port 1.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/91676-state-times-by-item-1.fsm" target="_blank"&gt;state-times-by-item_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Apr 2025 07:30:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598693#M92866</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-11T07:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data table or dashboard.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598694#M92867</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello&lt;/P&gt;
 &lt;P&gt;Thanks &lt;A rel="user" href="https://answers.flexsim.com/users/19365/felixmh.html" nodeid="19365"&gt;@Felix Möhlmann&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;I did the same in my model, but the time column doesn't appear in the table&lt;/P&gt;
 &lt;P&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="Image.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527191i7D3FCAC18C033137/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image.png" alt="Image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I haven't been able to configure the Label, i take (add Array Label) &lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744397659483.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527187iD8B100B9DD12054C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744397659483.png" alt="1744397659483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I changed the group name in the code to set values. &lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744397801646.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527188i08CDF75BF45E1F08/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744397801646.png" alt="1744397801646.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P id="isPasted"&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;but I'm not sure if I need to change anything else in the code.&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/91694-model2.fsm" target="_blank"&gt;Model2.fsm&lt;/A&gt;If you can help me&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Apr 2025 19:06:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598694#M92867</guid>
      <dc:creator>samuel_patarroyodiaz</dc:creator>
      <dc:date>2025-04-11T19:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Data table or dashboard.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598695#M92868</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Double click on the array value field and a window should open in which you can add entries to it. Use the script console to check the state numbers of various states through the defines (for example STATE_PROCESSING or STATE_SETUP which would return 2 and 21 respectively).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744406552008.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527189iEE00D9A56E95EF6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744406552008.png" alt="1744406552008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You need to define that the exit event should update the state columns.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744406605831.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527190iC3C43F29007AA72F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744406605831.png" alt="1744406605831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And in your model you currently listen to the events of a separator. The Statistics Collector will only work for the first item properly since the others are created when the process time elapses. The state times for those items will always be 0. You can ignore them by only having the Stats Collector react to the On Exit event when a row for that item already exists (see the second model I attached in the answer).&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Apr 2025 21:26:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598695#M92868</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-11T21:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data table or dashboard.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598696#M92869</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;A rel="user" href="https://answers.flexsim.com/users/19365/felixmh.html" nodeid="19365"&gt;@Felix Möhlmann&lt;/A&gt; Thanks, worsk great. 
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Apr 2025 12:43:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/data-table-or-dashboard/m-p/13598696#M92869</guid>
      <dc:creator>samuel_patarroyodiaz</dc:creator>
      <dc:date>2025-04-15T12:43:17Z</dc:date>
    </item>
  </channel>
</rss>

