How can I fix the Dashboard function in FlexSim2018?

How can I fix the Dashboard function in FlexSim2018?

charmaine_r
Not applicable
39 Views
7 Replies
Message 1 of 8

How can I fix the Dashboard function in FlexSim2018?

charmaine_r
Not applicable

[ FlexSim 18.0.3 ]

I am using FlexSim 2018 and am not able to use the Dashboard for Statistics of my AGV.

I get only this Warning, if I try to pin the statistics to the dashboard: "This object contains the old statistics structure, so it cannot be pinned to a new dashboard chart."

0 Likes
Accepted solutions (1)
40 Views
7 Replies
Replies (7)
Message 2 of 8

philboboADSK
Autodesk
Autodesk

In FlexSim 2016, we updated the default statistics structure for objects in the library to use tracked variables rather than many different object attributes used previously. For more information about that, see the Release Notes for FlexSim 16.0.0.

The new dashboard charts only work with the new statistics structure using tracked variables. Objects built in versions of FlexSim prior to FlexSim 2016 can't be added to the new charts. If you want to add an object to a new chart, drag a new version of the object from the library and copy the old object's variables to the new object. The new version of the object will have the new statistics structure.



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 3 of 8

charmaine_r
Not applicable

I'm using the Version 18.0.2, i note that wrong in the first comment. But I tried to create a new model with this Version.

I added the AGVs with the given Process Flow and I'm still not able to pin Statistics to the dashboard in order to check variables of the AGVs.

0 Likes
Message 4 of 8

philboboADSK
Autodesk
Autodesk

Please post an example model showing your issue.



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 5 of 8

charmaine_r
Not applicable

agv-dashboardquestion.fsm

this is a mini-version of my model created in FlexSim Version 18.0.2. If I try to add the status-statistics to the dashboard, I only get the warning I mentioned in my first comment.

0 Likes
Message 6 of 8

joerg_vogel_HsH
Mentor
Mentor

You can add a new taskexecuter into the model. The taskexecuter doesn't need any connection. You pin the state statistic to a dashboard as a pie chart. Then you look into the Toolbox (left side). You find a statistic collector "TaskExecuter1PieChart". Open the statistic collector. On the Tab "Data Recording" you find in the area "Enumerated Rows" the Taskexecuter1. You add your AGV1 by the sampler to the list and delete the Taskexecuter1. Leave the Statistic Collector Properties window by OK and let run the model. agv-dashboardquestion-jv.fsm

Message 7 of 8

philboboADSK
Autodesk
Autodesk
Accepted solution

This is a bug with the instance object of the AGV template. Apparently, that object never got updated to the new stats structure. I'll add a case to the dev list to fix that for the future.

In the meantime, you can update it manually in your model following these steps:

1. Open the AGV Process Flow:

12447-1.png

2. Press the Edit Instance Object button:

12448-2.png

3. Delete the TaskExecuter in that view and drag a new one in:

12449-3.png

4. Delete the AGV in the model and drag a new one in:

12450-4.png

Then when you pin the statistics of the new AGV, you won't get that error message about the old stats structure:

12451-5.png

You might get an exception about accessing stats. This is a known bug with the State pin button.

12452-6.png

You can ignore that error. If you reset the model and close the system console, then it will work fine:

12453-7.png

You can also drag a State chart directly into the dashboard rather than using the Pin button, and it will work correctly without an error message:

12454-8.png



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 8 of 8

charmaine_r
Not applicable

Thank you very much for the fast answers!

0 Likes