LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can Icreate a report from a tab page using the objects on page?

Hello,
 
I have a page on a tab control with a large number of numerical indicators. I would like to produce a report to be saved or printed of these. Adding each and every one to a report using the Append Report Text.vi would be very time consuming activity and actually quite tricky in my application because the objects on the page are not really related to each other except by being on the page! I have noticed that the using the tab page property sheet it is possible to get "Objects on Page[ ]". It appears to me that this may be a way of automating building a report by looping through all the objects on the tab page and Appending for each one.
 
Is this the best way to do what I want or is it at least a possible way? Are there any vi's which do this already?
 
Any comments would be appreciated. Thanks in advance.
 
Kevin
0 Kudos
Message 1 of 4
(2,641 Views)

Hi Kevin,

If you simply want to print a particular tab panel in your report. Create a new vi to do the report generation, and use the "Append Front Panel Image to Report" and pass it the name of your saved vi with the tab panel and all the controls in.

To ensure that you print the correct tab - save your tab vi with the panel you want showing. Then run the report generation vi's.

This is the easiest method I can think of, if this isn't what your looking for then let me know.

Regards

Hannah
NIUK & Ireland

0 Kudos
Message 2 of 4
(2,631 Views)

You could also print a "screenshot" to the default printer. Have a look at the picture attached.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 3 of 4
(2,626 Views)

Hello,

Thanks for the responses. I have in fact gone about building up the report as I had suggested in my original post although I will bare in mind what has been said.

thanks

Kev

0 Kudos
Message 4 of 4
(2,621 Views)