question

Charmaine R avatar image
0 Likes"
Charmaine R asked Charmaine R commented

How can I fix the Dashboard function in FlexSim2018?

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."

FlexSim 18.1.1
FlexSim 18.0.3
agvdashboards
· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Phil BoBo avatar image Phil BoBo ♦♦ commented ·

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.

0 Likes 0 ·
Charmaine R avatar image Charmaine R Phil BoBo ♦♦ commented ·

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 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Charmaine R commented ·

Please post an example model showing your issue.

0 Likes 0 ·
Charmaine R avatar image Charmaine R Phil BoBo ♦♦ commented ·

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 0 ·
Joerg Vogel avatar image Joerg Vogel Charmaine R commented ·

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

1 Like 1 ·

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Charmaine R commented

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:

2. Press the Edit Instance Object button:

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

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

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

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

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

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:


1.png (111.8 KiB)
2.png (166.4 KiB)
3.png (171.7 KiB)
4.png (117.4 KiB)
5.png (129.0 KiB)
6.png (70.7 KiB)
7.png (66.5 KiB)
8.png (143.7 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Charmaine R avatar image Charmaine R commented ·

Thank you very much for the fast answers!

0 Likes 0 ·