Changing an Image position during runtime on mapp View

Hello,

Is it possible to change an image position in the mapp View HMI from runtime? Or drawing a simple line from runtime?
There is the VISAPI library which meet these kind of requirements for VC4 but what is the successor/alternative of this on mapp View side?

Thanks,
Irfan

Hi,

I had the same problem some time ago and couldn’t find a solution by using some kind of libraries. Instead, my workaround is to draw all lines/images on the HMI and only make one line/image visible at once and hide the others by using a variable binding.

This makes the HMI appear like the line/image is “changing” its position.

But would be interesting to know if there are any other solutions too.

Hi!

You can use the Paper widget for these requirements. If you load your image into the widget you can make it move whereever you want to.
Additionally you can also create objects during runtime and much more:
https://help.br-automation.com/#/en/4/visualization%2Fmappview%2Fwidgets%2Fdrawing%2Fpaper%2Fkonzept.html

Best regards
Manfred

4 Likes

there is not VisApi equivalent in mappView, similar function you can achieve with paper widget, but it requires SVG knowledge.

Hi Jaroslav,

Actually, we basically need to move a PNG on HMI, and the following part of Manfred’s mentioned part is meeting our requirements now.
Thanks for your support!
We are more powerful with the Community!

1 Like

There is nice example in mvHighlight project. Check it out. :slight_smile:

happy that you are happy with our community. There are a lot of experts and that is why I like it so much :slight_smile: