question

Oliver Rose avatar image
0 Likes"
Oliver Rose asked Oliver Rose commented

Global tables cannot be opened after version upgrade

Hi folks,

after upgrading an old model (Flexsim 16 or older), it is not possible anymore to open and edit the Global Tables of that model or even show their properties. I can see the table names in the tool box and the model runs as expected. I.e., the data from the tables seem to be availble. New tables work as expected but there is no way to access the old ones. Any ideas?

Thx,
Oliver

FlexSim 21.1.0
flexsim 21.1.0global tablesupgrade model
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

I didn’t tested it, but have you built the model in 32-bit version?

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Oliver Rose commented

The data should be still available in the tree. Select a root node of the table data and Explore As Table from the right mouse button menu.

· 6
5 |100000

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

Oliver Rose avatar image Oliver Rose commented ·

Solved. Thx a lot for the hint ...

What remains unanswered, however, is why this is not possible via the "normal" tool box menu ...

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Oliver Rose commented ·

@Oliver Rose, as I commented under your question, it may have something to do with 32-bit to 64-bit change of program engine. That is something someone of the development team should look into. @Phil BoBo. Please, can you ask a new question marked as private and attach your file, only if you are allowed to do this. Private questions can only be seen by employees of FlexSim.

Perhaps you can accept my answer. Thanks!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Oliver Rose commented ·

Please upload the old models so we can test this. You can make the post private if you need to.

0 Likes 0 ·
Oliver Rose avatar image Oliver Rose commented ·

Here's the model: jobshoptransport 2021.fsm

It's the job shop example from the Law & Kelton simulation text book ...

0 Likes 0 ·
Ralf Gruber avatar image Ralf Gruber ♦ Oliver Rose commented ·

Hi Olli,

can you please post the original model as well, so we can try to track down, what happened during the upgrade process?

Thx

0 Likes 0 ·
Oliver Rose avatar image Oliver Rose Ralf Gruber ♦ commented ·

Servus Ralf,

here we go. These are two previous versions of this model:

jobshoptransport 2018.fsm

jobshoptransport v7.fsm

I have no idea when this transformation problem happened. I took until today that I noticed it.

0 Likes 0 ·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Oliver Rose commented

The tables in this model are missing their guifocusclass attribute. Run this script to fix them:

treenode GlobalTables = node("/Tools/GlobalTables", model());
for (int r = 1; r <= content(GlobalTables); r++) {
    treenode table = rank(GlobalTables, r);
    if (!objectexists(guifocusclass(table)) && objectexists(guifocus(table))) {
        treenode guiFocusClass = createcopy(guifocus(table), up(guifocus(table)));
        setname(guiFocusClass, "guifocusclass");
        rebindobjectattributes(table);
    }
}
· 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.

Oliver Rose avatar image Oliver Rose commented ·

That did the job. Thx a lot. Works as expected now.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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