question

Hitesha N2 avatar image
0 Likes"
Hitesha N2 asked Phil BoBo answered

How to display different images in Dashboard

@phil.bobo, With reference to the answer (https://answers.flexsim.com/questions/31435/save-imagen-in-dashboard.html ).

Suppose, the return value of a script is A. Then I want to display an image named "A.jpg"

If return value is B, then "B.jpg" should be displayed and so on.

Is there a way I can do this?

I tried to update the bitmap node with the new URL for the image to be displayed. The value of bitmap node is getting updated with the new URL, but the picture in the dashboard is not changing.

Can you please help to resolve this issue?

Choose One
dashboards
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

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered

Try calling refreshview() as in the "Set Dashboard Control Image" picklist option example code:

switch-image.fsm


5 |100000

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

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.