LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stretch front panel to fit page for print

I would like to take a front panel that would normaly print smaller than a full page, and have it stretch to fit the page. I know that LV can shrink front panels to fit but what I'm looking for is a stretch.

Pojundery

-Norm
0 Kudos
Message 1 of 2
(2,912 Views)
Hi Norm,

The feature of magnifying the image of the front panel in LabVIEW is not directly available like the shrinking feature of images is. By default LabVIEW will only fit images that too large for the print.

One solution is to not actually magnifying the front panel, but rather create a customized "printable" front panel in a subVI and pass all the required data to the subVI before printing it's front panel. Please see this other thread discussing the same issue: Enlarging Get Panel Image.

Another solution is to enlarge the actual image received from the "Get Panel Image" method for the VI. You can programmatically enlarge the image by duplicating each pixel in the 2D array, but the issue here will be that you can only scale in sizes of x2, x3, x4 and so on. You should also consider using third party solutions that are already available to resize images to customized sizes (see the Image Toolbox provided by G Toolbox).

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 2
(2,892 Views)