06-09-2016 08:19 AM
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
06-13-2016 04:20 AM
Hello,
Please, I cant find solutions on this problem
Thank you
06-13-2016 04:33 AM
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
06-13-2016 08:37 AM
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
02-15-2019 06:11 AM
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.