Problem representing emulation variable

Problem representing emulation variable

cetim_c
Not applicable
1,945 Views
6 Replies
Message 1 of 7

Problem representing emulation variable

cetim_c
Not applicable

[ FlexSim 22.1.3 ]

Hello,

I am trying to represent a emulation variable in a dashboard, but without success.

I tried select the route in the tree with the sampler button like this:

1663568920476.png

I also tried with the pushpin icon but the value was always the same:

1663569001472.png

I tried in other ways but I did not get it.

Any ideas?
Thanks in advance and happy monday.


0 Likes
Accepted solutions (1)
1,946 Views
6 Replies
Replies (6)
Message 2 of 7

kavika_faleumu
Autodesk
Autodesk
What kind of variable in Emulation are you trying to display?
0 Likes
Message 3 of 7

cetim_c
Not applicable

Control variable and it is integer variable.

0 Likes
Message 4 of 7

FelixMoehlmann
Mentor
Mentor
Accepted solution

The emulation variable's value is saved as a part of an SDT (simple data type) node, which is why the dashboard text field can't display it directly.

I can't say why connecting it to a process flow emulation variable activity and pinning that to the dashboard is not working. That might be a bug.

As a workaround, you could add an extra (number type) subnode to the variable and copy the new value to it whenever the variable changes. The value of that node can then be displayed in the dashboard. (At least this should work, I don't have a working emulation model right now to test this)

1663745025728.png

1663745056307.png

0 Likes
Message 5 of 7

cetim_c
Not applicable

How did you create ValueCopy?

0 Likes
Message 6 of 7

FelixMoehlmann
Mentor
Mentor

I added it manually to the tree. Select the variable node and either rightlick on it and use the context menu to add another subnode or use the Shortcut key (Enter).

1663834949525.png

After you added the node, you can rename it and change it to hold number data.

1663835042333.png

0 Likes
Message 7 of 7

cetim_c
Not applicable
Ok thanks Felix.

Another solution could be save the value of the variables in labels of a object and represent the value of that labels.

I mention it in case another person on the forum is interested.