08-09-2021 06:19 AM
Hello,
I would like to put a tye png image on the front of my program and then put control indicators on the image. I would like to put an image on the front of my program and then put control indicators on the image, so put an image and pass it as a screen function in itself.
How do I do this?
Thank you for your help!
08-09-2021 07:02 AM
@Anto_98 wrote:
Hello,
I would like to put a tye png image on the front of my program and then put control indicators on the image.
You can use the Background Image property of the front panel pane. The background image will be saved to your VI, if the image will not be changed you only need to run this once.
@Anto_98 wrote:
I would like to put an image on the front of my program and then put control indicators on the image, so put an image and pass it as a screen function in itself.
You will have to clarify what you mean by screen function. Do you want to save a screenshot image of your front panel after you put your controls and indicators on it?
If so use the front panel method Get Image.
08-09-2021 07:13 AM
In fact what I want to do is put an image on my front panel and put indicators/controls on it to make a user interface.
The problem is that I have copied and pasted my image and it is on my front panel but the indicators/controls are below it except that I want them to be above the image.
08-09-2021 07:15 AM
I don't want to modify the image, I just want to overlay the display/control on top.
08-09-2021 07:26 AM
Hi Anto,
@Anto_98 wrote:
The problem is that I have copied and pasted my image and it is on my front panel but the indicators/controls are below it except that I want them to be above the image.
Change the Z order of all those frontpanel items!
There's a button in the frontpanel window menu bar to do so…
08-09-2021 07:29 AM
Select your picture, after that:
Second option:
Remove image and put in the background as suggested.
This can also be done manually, right click on scroll-bar of the frontpanel, select properties:
Now edit the background properties of the pane:
Regards, Jens