06-14-2021 03:35 AM
Hi,
i am very new to LabVIEW. My current task to do is as following:
Hardware i have:
Basler GigE camera
4K DLP projector connected via HDMI to the PC
The first thing i am trying to solve is:
I want my 4K projector to project 4K pictures which i created before as .png files to a wall, which i will capture with my Basler camera.
I searched the forum and found some topics about displaying pictures on a second monitor - which the projector basically is - but unfortunately there were no sample codes and i could not gain the experience so far to write it myself. I do not expect a full solution but would love to get hints or directions. I appreciate every help.
Best regards,
Ibrahim
06-14-2021 03:53 AM
Hi Ibrahim,
@IbrahimShn wrote:
I searched the forum and found some topics about displaying pictures on a second monitor - which the projector basically is - but unfortunately there were no sample codes and i could not gain the experience so far to write it myself.
All you need to do is to move the frontpanel of a VI to be displayed on the 2nd monitor.
You can do so "manually" - or programmatically by using property nodes of the frontpanel/window.
06-28-2021 05:11 AM
Hi Gerd,
thank you for your suggestion. I think this will totally work for me. What i did until now:
I load my image i want my projector (basically second monitor) to project. I can see it in the image indicator in the front panel. I changed the size of the image indicator to 2160x3840 in the properties, this is the resolution of my image.
Under File > VI Properties > Window Run-Time Position i set the "Position" to maximized. If i now run the VI continously, my front panel is projected by the projector in fullscreen, but i still see the front panel bars. What do i have to do to basically just make the image in the image indicator projected in fullscreen?
I attached a picture of my front panel and block diagramm. I appreciate your help.
Best regards,
Ibrahim
06-28-2021 05:36 AM - edited 06-28-2021 05:39 AM
Hallo Ibrahim,
@IbrahimShn wrote:
my front panel is projected by the projector in fullscreen, but i still see the front panel bars. What do i have to do to basically just make the image in the image indicator projected in fullscreen?
In the VI properties you can also disable the frontpanel scroll bars, as well as the menu line/bar. You can even set the VI to modal, to further reduce the border…
@IbrahimShn wrote:Under File > VI Properties > Window Run-Time Position i set the "Position" to maximized. If i now run the VI continously,
Don't use "run continously", this is only used for debugging!
Use a loop to have the VI run for longer periods…
@IbrahimShn wrote:
I changed the size of the image indicator to 2160x3840 in the properties, this is the resolution of my image.
You can make the window larger by some pixels and center it on screen: this way the borders will move "out of screen"…
A different option might be to call a 3rd party image viewer with appropriate options. IrfanView is such a tool, and it allows to display images "full screen" with/without scaling…