question

Patrick Cloutier avatar image
1 Like"
Patrick Cloutier asked Joerg Vogel commented

How to link dashboard Dynamic Text to Performance Measure

In a dashboard I am trying to show a bunch of Performance Measures but I can't link them to a DynamicText.

I tried with the sampler and with this code in the Link field:

Model.performanceMeasures["PerformanceMeasure1"].value

In fact the only things I can link DynamicTexts to are labels. So I could write the Performance Measure on a Label and then link the label to the DynamicText but this seems like making a huge detour to do something simple.

Am I missing something? Is there a direct way to link DynamicText to PerformanceMeasure?

FlexSim 24.1.0
performance measuresdynamic text
5 |100000

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

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Joerg Vogel commented

I don't think that's possible the link requires a node - you could suggest allowing an expression in that field. For now model documentation may be a simpler option. Note that you can also just write:

Model.performanceMeasures.PerformanceMeasure1
· 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.

Patrick Cloutier avatar image Patrick Cloutier commented ·
I accepted the answer but Model Documentation doesn't work. It just freezes. I even tried from a new empty model and I can't edit the model documentation. I will post this separately.
0 Likes 0 ·
Patrick Cloutier avatar image Patrick Cloutier Patrick Cloutier commented ·
Actually, I see that I works but it is insanely slow. If I press a key, it takes 4-5 seconds for it to appear. So it is very difficult to use. Does that seem like a bug?
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Patrick Cloutier commented ·
I didn't notice any speed issue in the test model - could you share what you have so we can see the issue?
0 Likes 0 ·
Show more comments

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.