question

Cetim C avatar image
0 Likes"
Cetim C asked Cetim C commented

Problem representing emulation variable

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.


FlexSim 22.1.3
emulation
1663568920476.png (2.5 KiB)
1663569001472.png (15.6 KiB)
· 2
5 |100000

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

Kavika F avatar image Kavika F ♦ commented ·
What kind of variable in Emulation are you trying to display?
0 Likes 0 ·
Cetim C avatar image Cetim C Kavika F ♦ commented ·

Control variable and it is integer variable.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Cetim C commented

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


1663745025728.png (99.6 KiB)
1663745056307.png (7.5 KiB)
· 3
5 |100000

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

Cetim C avatar image Cetim C commented ·

How did you create ValueCopy?

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Cetim C commented ·

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 0 ·
1663834949525.png (27.8 KiB)
1663835042333.png (9.8 KiB)
Cetim C avatar image Cetim C Felix Möhlmann commented ·
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.

1 Like 1 ·