From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

print panel in multiples pages as pdf image or other whatever

Hello,


I want to print the front panel of a very large VI that contains table XControls  with values. I want to print this FP on multiple pages. For example complete an A4 sheet with a part, then move to another sheet etc. When I try to print a report or to use the FP.get.image method with all front panel option it does not work, I have only one page. I think something like decomposing the screen in pixel bloc but this seems complicated to me.

 

Have you any idea?

 

I have attached an example VI what I would like to print,

 

Thank you

 

0 Kudos
Message 1 of 5
(3,020 Views)

Hello,

 

Please, I cant find solutions on this problem

 

Thank you

 

0 Kudos
Message 2 of 5
(2,971 Views)

Hello,

 

1) NI provides advises and examples to programmatically take screenshot of Front panel :

http://digital.ni.com/public.nsf/allkb/09FAC3BEE5B9C38B862570EC00698237

http://digital.ni.com/public.nsf/allkb/A3B266D38A5C297E8625727D008259D1

 

2) The NI community provides simple and advance examples of the above goal :

https://decibel.ni.com/content/docs/DOC-33277

https://decibel.ni.com/content/docs/DOC-41372

 

Best regards,

 

Dasso

0 Kudos
Message 3 of 5
(2,965 Views)

Hello Dasso and thank you for answer,

 

I have already try this and it doesn't work with the VI I have attached. In fact in the generated image I can see only what is visible on the screen and not the full panel. 

I know how to recover the image of an object and the image of front panel. But for the front panel I get only the visible part (even is I choose "visible area only"). So I get an image for each object and make pages with that but it complicated and not very nice. That's why I ask how can I print the WHOLE front panel on multiple page. For exemple If you print something too big to fit in one page, so the software have to propose to print multiple pages with pieces of the total on each page.

That's what i want : print all the front panel which have scrollbar (many objects, Xcontrols ...) on multiple pages.

 

Thank you

0 Kudos
Message 4 of 5
(2,957 Views)

I have same issue.

Still don t know any real solution but just thought I

would duplicate the VI in the script and save it on different scroll position

( position 1 for page 1 , position 2 for page 2 , ..)

Then I d get the image of the front panels of each those VIs.

In my case I only need 2 VIs, which stills keeps  it manageable.

Regards.

Charles.

 

0 Kudos
Message 5 of 5
(2,126 Views)